Variables
Insert dynamic values into flow cards and pass data between cards

Variables insert contact data, the time and earlier answers into your cards. Use them to personalise messages and to pass data between cards.
Syntax
Wrap a variable in double curly braces. Each variable has a namespace and a field.
Hello {{contact.first_name}}, welcome to our support!In a card's text editor, type {{ to open the variable picker. Invalid references are highlighted.
Namespaces
| Namespace | What it holds | Example |
|---|---|---|
contact.* | The contact's profile fields | {{contact.first_name}} |
conversation.* | The current conversation | {{conversation.title}} |
organisation.* | Your organisation | {{organisation.name}} |
system.* | The current time and timezone | {{system.now}} |
lastMessage.* | The last message in the chat | {{lastMessage.text}} |
flow.* | Results of cards that already ran | {{flow.cardId}} |
Contact Variables
contact.* holds every profile field of the contact, system fields and custom fields alike. The name is the field key in snake case, so the picker always matches your own fields.
| Variable | Description |
|---|---|
{{contact.first_name}} | First name |
{{contact.last_name}} | Last name |
{{contact.email}} | Email address |
{{contact.phone}} | Phone number |
{{contact.language}} | Language code |
{{contact.lead_status}} | Lead status |
To see all keys, open Settings → People. Any custom field you add there is available as {{contact.your_field_key}}.
Older flows may use {{user.firstName}} or {{chat.title}}. These no longer resolve. Use {{contact.first_name}} and {{conversation.title}} instead.
Conversation Variables
| Variable | Description |
|---|---|
{{conversation.id}} | Conversation ID |
{{conversation.integrationId}} | The integration this conversation belongs to |
{{conversation.title}} | Conversation title |
{{conversation.unreadCount}} | Number of unread messages |
Organisation Variables
| Variable | Description |
|---|---|
{{organisation.id}} | Organisation ID |
{{organisation.name}} | Organisation name |
{{organisation.website}} | Website URL |
{{organisation.phone}} | Phone number |
{{organisation.email}} | Email address |
{{organisation.description}} | Description |
Time Variables
system.* has two variables: {{system.now}} for the current time and {{system.timezone}} for the timezone. Format the time with a filter.
| Template | Result |
|---|---|
{{ system.now | date: "date" }} | The date |
{{ system.now | date: "time" }} | The time |
{{ system.now | date: "weekday" }} | The day name |
The time is taken when the card runs, not when the flow starts.
Last Message Variables
| Variable | Description |
|---|---|
{{lastMessage.text}} | Text of the last message |
{{lastMessage.deliveryStatus}} | Delivery status of that message |
Flow Variables
When a card that waits for or fetches data runs, it stores its result under flow with the card ID.
{{flow.674000000000000001}} → the contact's answer to that card
{{flow.674000000000000001.variableName}} → a named value from an API Call card| Card | Variable | What it holds |
|---|---|---|
| Question | flow.{cardId} | The contact's text reply |
| Buttons and its variants | flow.{cardId} | The selected button |
| AI Agent | flow.{cardId} | The agent's result |
| API Call | flow.{cardId}.{variableName} | One variable for each response mapping |
A flow variable exists only after its card has run. A card can use the variables of the cards before it on its path.
Default Values
Add a default for a variable that might be empty.
Hello {{ contact.first_name | default: "there" }}Related
- Flow Editor: the card text editor and the card panel.
- Webhook Received: the
webhook.*variables from a request. - API Call card: turn a response into variables.