How Dynamic Variables Work
In your bot’s Greeting or System Prompt, write any variable inside double curly braces:{{variable_name}}.
When a call is initiated, Trikon Voice automatically replaces the placeholder with the real value for that contact before the bot starts speaking.
Example in Greeting Message
Example in System Instructions
Types of Dynamic Variables
Trikon Voice supports two types of dynamic variables in campaigns:Contact-Level Variables
Unique values for each individual person, imported directly from columns in your uploaded CSV file (e.g.
amount_due, patient_name).Campaign-Level Variables
Constants that apply to every person in the campaign, configured once in the campaign builder (e.g.
discount_code, event_venue).1. Contact-Level Variables (CSV Upload)
When creating an outbound campaign, any column header in your CSV file automatically becomes an available dynamic variable.Preparing your CSV
Your CSV file must include aphone column. Any additional column becomes a variable:
{{name}}{{company}}{{amount_due}}{{due_date}}
2. Campaign-Level Constants
If a value is the same for every contact in a campaign — such as an offer code, webinar link, or branch location — you do not need to repeat it in every row of your CSV. In the Create Outbound Campaign screen:- Scroll to Campaign Settings.
- Add custom key-value pairs under Campaign Constants (e.g.
offer_code = FESTIVE20,event_date = Saturday at 6 PM). - Use
{{offer_code}}and{{event_date}}directly in your prompt or greeting.
3. Testing Dynamic Variables in the Playground
Before running a real phone campaign, you can test how your AI agent handles dynamic variables directly in the Voice Studio:- Open Voice Studio or Agent Settings.
- In the Telephony Tester / Playground card (bottom right), enter a test Customer Name or preview variables.
- Start the test call to hear the bot speak the variable aloud in real time.
4. Passing Variables via API
If you trigger outbound calls programmatically via the Trikon Voice API, pass dynamic variables inside themetadata object of the call request:
{{name}}, {{company}}, and {{amount_due}} into its speech context.
Best Practices & Guardrails
Provide fallback instructions in your prompt
Provide fallback instructions in your prompt
If a contact might not have a value for a specific field (e.g. a missing name), instruct your bot in the prompt:
Format currency and dates clearly
Format currency and dates clearly
Write numbers and dates in a way that sounds natural when spoken aloud:
- Instead of
15/10/2026, writeOctober 15th. - Instead of
4500, write4,500 rupeesor$45.
Match variable names exactly
Match variable names exactly
Variables are case-insensitive, but avoid spaces or special characters in column names. Use
order_number instead of Order #.