Personalize voice AI conversations by injecting dynamic information into your agent’s prompts. Create tailored experiences using customer data, conversation metadata, and custom variables.Documentation Index
Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Default Variables
The following variables are automatically available in every conversation:| Variable | Description |
|---|---|
agent_id | The id of the agent |
execution_id | Unique id of the Bolna conversation or call |
call_sid | Unique id of the phone call (Twilio, Plivo, Vonage, etc.) |
from_number | Phone number that initiated the call |
to_number | Phone number that received the call |
Inbound calls:
Outbound calls:
from_number = caller, to_number = your agentOutbound calls:
from_number = your agent, to_number = recipientExample: Using Default Variables
Date, Time & Timezone
By default, conversations include current date and time appended to the system prompt. You can also reference these as variables directly in your prompt for more control over placement and formatting.
| Variable | Description | Example Value |
|---|---|---|
current_date | Current date in the user’s timezone | Wednesday, March 18, 2026 |
current_time | Current time in the user’s timezone | 02:30:15 PM |
timezone | Timezone name per tz database | Asia/Kolkata |
timezone via the API when placing calls:
Example: Using Time Variables in Prompts
Custom Variables
Define your own variables by wrapping text in{} in your prompt. Pass values via the API when placing calls.
Example: Using Custom Variables
Related Features
Custom Functions
Use context variables in function calls for dynamic actions
Hangup Messages
Add personalized hangup messages with context variables
Call Details
Extract context data from call details
Multi-Agent
Build multi-agent workflows with shared context

