What are dynamic variables?
Special placeholders like {{user_name}} that let you add custom information to your agent's speech. The agent replaces these with real data during calls.
How to use them
You can simply add the variables to your text, with double curly braces around them:
"Hello {{user_name}}, I see you're interested in {{product_name}}."
Where you can use them
Instructions
Greetings
Custom action descriptions
Custom action input data
Voicemail messages
Warm transfer messages
SMS message content
We also have built-in variables you can use
These work automatically - no setup needed:
{{current_agent_state}} - Shows where the agent is in the conversation for advanced agents ("greeting", etc.)
{{previous_agent_state}} - Shows the last conversation step for advanced agents.
{{current_time}} - Shows current date and time in Los Angeles timezone, PST (Pacific Standard Time).
How to send dynamic variables to your agent:
There are 2 ways as of now:
Note: If you don't set a value for a variable, it will show up as {{variable_name}} in the agent's speech.