Pathway Variables
These built-in variables are automatically available in every call. They are populated at the start of the call and can be used anywhere in your flow for routing, logic, prompts, or conditions.
Built-in variables in the system exist in three types: always-available variables (present in all calls), VoIP-specific variables (only in VoIP calls), and voice-specific variables (only in voice calls).
Always Available
These variables are available in all calls.
time
Type: String
Description: Current time in ISO 8601 format.
Use case: Time-based routing or logging.
weekday
Type: String
Description: Day of the week (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday).
Use case: Business hours logic or weekday/weekend branching.
isVoiceCall
Type: String (
trueorfalse)Description: Indicates whether the current call is a voice call.
Use case: Conditional logic for voice-specific flows.
callId
Type: String
Description: Unique identifier for the call.
Use case: Logging, tracking, or referencing the call in external systems.
callType
Type: String
Description: Type of the call (e.g., web, VoIP, or other configured call types).
Use case: Channel-based routing.
Available in VoIP Calls Only
These variables are only present for VoIP-based calls.
phoneNumber
Type: String
Description: Caller’s phone number in E.164 format.
Use case: Caller identification or CRM lookups.
agentPhoneNumber
Type: String
Description: Agent’s phone number in E.164 format.
Use case: Multi-number routing or tracking.
direction
Type: String (
inboundoroutbound)Description: Indicates whether the call was received or initiated.
Use case: Separate flows for inbound vs outbound calls.
Available in Voice Calls
detectedGender
Type: String
Possible values:
male,female,unknown,childDescription: Gender detected from the caller’s voice. This remains undefined until enough audio has been collected.
Use case: Personalization or analytics.
How To Use
Built-in variables can be used in node prompt, edge conditions,...etc.
Node Prompt:


Edge Conditions


Last updated