AI Studio Docs
Flow Builder

Variables

Save an answer, reference it anywhere later in the flow

Anything a visitor answers, or a Call an API card returns, can be saved as a variable (technically, an attribute). Reference a variable anywhere later in the flow by typing {{variableName}} in a message, and it's replaced with the real value when the flow runs.

Default attributes

Every contact has a few built-in fields: Name, Email, Phone Number, and WhatsApp Name. An Ask card can save straight into one of these, updating the contact's own record, not just a value used inside this one conversation.

Custom attributes

Beyond the defaults, your workspace can define its own custom attributes (Workspace → Attributes), each with a type (text, number, date, and so on). An Ask, Choice, Send a WhatsApp Form, or Request a Location card can save its answer into any custom attribute you've defined.

Where a variable is visible

A variable saved earlier in a flow is available to every card after it, including across a Jump to another flow or Run another flow card, saved answers carry across.

Unresolved variables

If you reference a variable that was never actually saved in this conversation (for example, {{email}} before an Ask card that saves it has run), the Flow Builder's own warning flags it before you save, so a visitor doesn't see a literal {{email}} in their chat.

On this page