{{first_name}}, that are replaced with real values when the flow runs. You can use them in message text, questions, AI prompts, template parameters, HTTP request bodies, Google Sheets columns, Slack and SMS messages and most other text fields.
Insert a variable
Text fields that accept variables have a variable button. Click it (Insert variable), search with Search variables, and pick one from the list. You can also type a variable yourself.Three rules
- Spelling matters. Write the name exactly, with two curly brackets on each side.
- An unknown or empty variable becomes empty, so the customer never sees
{{x}}. - Add a fallback for values that may be missing:
{{first_name|there}}gives “there” when the first name is empty. “Hi{{first_name|there}}” reads well either way.
Contact
Names are taken from the contact’s name. A placeholder name a platform gives an unknown user is treated as empty, so use a fallback.
System
E-commerce
Available in flows started by a store event, or after a Find Order, Create Discount Code or other store step.WhatsApp cart
In flows started by Cart order received:Ad referral
When a contact starts a chat from an ad (the ad triggers):Facebook lead form
In flows started by the Facebook lead form trigger:
Any other answer is available by its question key:
{{lead.answers.your_key}}.
Values made by steps
Some steps create variables that later steps in the same run can use:
A variable you create with the same name as a system variable (for example
channel) takes priority over it.