Custom variable values are supplied via assistantOverrides.variableValues when you create the call:
{
"assistantId": "your-assistant-id",
"assistantOverrides": {
"variableValues": {
"name": "John"
}
},
"customer": {
"number": "+1xxxxxxxxxx"
},
"phoneNumberId": "your-phone-id"
}
With a firstMessage of "Hello, {{name}}!", the caller hears "Hello, John!". Variable values can't be set directly in the dashboard — they must be passed through the API when the call or session is created.
Advanced date/time formatting
Date and time variables support LiquidJS-style filters for timezone-aware formatting:
{{"now" | date: "%A, %B %d, %Y, %I:%M %p", "America/Los_Angeles"}}
which renders as, for example, Monday, January 01, 2024, 03:45 PM.