They are written using double curly braces:
Where Dynamic Variables Are Supported
Dynamic variables can be used in any nodes inside SigmaMind:
- Agent Responses – Personalize replies with customer details.
- Email Templates – Insert variables like
{{ customer_email }}
or{{ order_id }}
. - Campaigns – Pass variables from campaign uploads or APIs to customize conversations.
- Webhooks and Integrations – Include context-specific variables in outbound data.
Dynamic variables make your AI agent feel more personal and context-aware without requiring manual customization for each interaction.
Sources of Dynamic Variables
Dynamic variables can come from multiple sources:
1. Create Call API
When creating a call via the API, you can pass custom variables in thevariables
object.
2. Campaign Uploads
When uploading a CSV file for a campaign, include columns for any variables you want to use.3. Conversation Extracted Variables
Some variables are automatically captured from the conversation itself. For example:- If the agent asks for the customer’s email, it can be extracted and stored as
{{ customer_email }}
. - If the agent identifies an order number, it can be stored as
{{ order_id }}
.
Conversation variables are context-aware and evolve as the interaction progresses.
Example Usage
- In an Agent Response
- In an Email Template
Best Practices
- Always provide default values when possible to handle missing variables.
- Keep variable names simple and descriptive (e.g., customerName, orderId).
- Validate inputs when passing variables from external sources (CSV, API).
- Use conversation-captured variables to reduce manual data entry.
Summary
- Dynamic Variables use the
{{ variable_name }}
format. - They can be injected into any nodes in ai agents like send response, branch, app actions, analyze customer message etc.
- Variables can be passed via API, CSV uploads, or extracted directly from conversations.
- They make agent interactions personalized, contextual, and automated.
Dynamic variables empower your AI agent to adapt responses to each customer’s context, making conversations more natural and engaging.