Skip to main content
All CollectionsAgent instructions and answers
How to personalize calls with dynamic variables
How to personalize calls with dynamic variables

Learn how to personalize the conversation with dynamic variables

Maurizio avatar
Written by Maurizio
Updated over 2 months ago

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:

  1. Sending it when triggering an outbound call in Zapier. See guide

  2. Sending it when making an API call to trigger an outbound call. See guide

Note: If you don't set a value for a variable, it will show up as {{variable_name}} in the agent's speech.

Did this answer your question?