Skip to main content
System variables are built-in and always available in flow agents and single-prompt agents. They provide call context, time, and user/agent details.

Time Variables

VariableTypeDescriptionExample Value
current_timestringCurrent time in HH:MM format"14:30"
current_datestringCurrent date in locale format"1/15/2026"
current_datetimestringCurrent date and time"1/15/2026, 2:30:00 PM"
current_timestampstringUnix timestamp in milliseconds"1737820200000"
current_daystringDay of the month"15"
current_monthstringMonth number (1-12)"1"
current_yearstringFour-digit year"2026"
current_weekdaystringFull weekday name"Wednesday"

Call Variables

VariableTypeDescriptionExample Value
call_idstringUnique identifier for this call"call_a1b2c3"
call_typestringType of call"voice"
directionstringCall direction"inbound" or "outbound"
call_start_timestringISO timestamp when call began"2026-01-15T14:30:00Z"

User Variables

VariableTypeDescriptionExample Value
user_numberstringUser’s phone number"+1 (555) 123-4567"
user_number_area_codestringArea code from user’s number"555"

Agent Variables

VariableTypeDescriptionExample Value
agent_numberstringAgent’s phone number"+1 (555) 000-0000"
agent_namestringHuman-readable agent name"Customer Support"
agent_idstringUnique agent identifier"agent_001"

Usage

Reference system variables with double curly braces:
"Good {{current_weekday}}! Your call started at {{call_start_time}}."
"You're speaking with {{agent_name}}. Caller: {{user_number}}."
See Template Syntax & Naming for rules and Availability & Context for where system variables apply.