Syntax
Variable Types
| Type | Source | Example |
|---|---|---|
| System | Platform-provided | {{caller_phone}}, {{call_duration}} |
| User Defined | You create | {{company_name}}, {{promo_code}} |
| API | From API responses | {{customer_name}}, {{account_tier}} |
System Variables
| Variable | Description |
|---|---|
{{caller_phone}} | Caller’s phone number |
{{call_time}} | When call started |
{{call_duration}} | Elapsed seconds |
{{call_direction}} | ”inbound” or “outbound” |
{{agent_id}} | This agent’s ID |
{{call_id}} | Unique call identifier |
Default Values
Handle missing variables with fallbacks:customer_name is empty → “Hello there!”

