Introdution
Dynamic variables let your agent personalize every outbound call without hard-coding details. They behave like mail-merge tags: write the variable once, and Callgency AI swaps in the live value when the call is placed.What the Agent Already Knows
Before you add anything, remember the voice agent automatically has:- Current time – Pulled from the time-zone you set under Advanced Settings
- Caller’s number – The phone it is dialing
Injecting Extra Details
Use double curly braces in your prompt or first message:- Syntax –
{{variable_name}} - Case – Keep names all lower-case; spaces become underscores
- Instant preview – Once you type the tag and click Save, it appears in the Agent Context panel and inside the outbound-call action in workflows
Popular Variables
{{first_name}}/{{full_name}}– Greet leads by name{{time_zone}}– Helpful if you’ve pre-saved a contact’s zone{{appointment_date}},{{location}}, or any custom field you store in your CRM
Adding Variables Mid-Build
- Insert the tag(s) anywhere in the prompt or tool settings
- Click Save & Reload
- New fields appear under Agent Context so you can test with sample values
- Populate those fields when you configure the Send Outbound Call action in your automation
Outbound vs Inbound
Outbound Calls
Dynamic variables work immediately (supply values in the workflow).Inbound Calls
Tags won’t populate automatically. Instead:- Trigger a Find or Create Contact module at the start of the call
- Pass returned details into the prompt or create a new contact on the fly if none exists
Troubleshooting Tips
- Empty or misspelled tags are read aloud literally—double-check spelling
- Variables are case-sensitive in curly braces but not in the UI
- If a call uses a variable you forget to pass, the agent will say nothing in its place

