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_time_[timezone]}} - Current time in specified the timezone you want, for example:
{{current_time_Australia/Sydney}}
Example: ”Thursday, March 28, 2024 at 11:46:04 PM AEDT”{{call_type}} - Call type, which can be web_call or phone_call
{{direction}} - Call direction,
inbound
oroutbound
{{user_number}} - User’s phone number (from_number for inbound, to_number for outbound)
{{agent_number}} - Agent’s phone number (to_number for inbound, from_number for outbound)
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.