Skip to Content
Core ConceptsState and Variables

State and Variables

ResultFly exposes a structured state tree accessible as $state.

  • Variables are namespaced across user, campaign, and app scopes to avoid collisions.
  • Mutations occur only through explicit actions, keeping flows deterministic and auditable.
  • State captures scores, traits, reward history, and integration data needed for personalization.
  • TODO: describe variable typing, validation rules, and schema evolution policies.
Last updated on