When to use it
Use variables when:- Multiple steps in the same journey need the same value (for example, a
base_user_idused in both a setup step and a later assertion step). - You want a single place to change a value and have it propagate to all the steps that reference it.
- You are building a journey that will be run with different variable presets to swap in different configurations without modifying the journey itself.
Key concepts
Declared at the journey level. Variables are configured in the Values panel in Build mode. Each variable has a name and an optional default value. Referenced by name. Any step can reference a variable by name. If the variable’s value changes — whether from a preset or at run time — every step picks up the updated value automatically. Default values. A variable can have a default value. That default is used unless overridden by a variable preset, a run input that maps to it, or an explicit override at run time. Scope. Variables are journey-scoped. A variable declared in one journey is not automatically available in another.How it works
Declare the variable
In the Values panel, add a variable with a name and an optional default value. Add a description to explain its purpose to collaborators or Runbook users.
Reference it in steps
In each step that needs the value, reference the variable by name in the relevant field. The step resolves it when the journey runs.

