Documentation Index
Fetch the complete documentation index at: https://docs.volubile.ai/llms.txt
Use this file to discover all available pages before exploring further.
System Context
The context of each call automatically includes a set of system variables that provide essential information about the ongoing call. These variables are always available and can be used in your prompts, workflows, and integrations.| Variable | Description |
|---|---|
system.callId | Unique identifier of the ongoing call. Can be used for tracking, logging, or cross-referencing in your systems. |
system.agentId | Unique identifier of the voice agent handling the call. Useful for differentiating agents in analytics or for specific configurations. |
system.dayOfWeek | Current day of the week in customer locale. Allows customizing greetings or availability based on the day. |
system.phone | Phone number of the interlocutor in local format, with spaces. Ideal for display or verbal communication. |
system.now | Current date and time in ISO format, according to the configured time zone. Provides temporal context for the call. |
system.phoneE164 | Phone number of the interlocutor in E.164 (international) format. Standardized format optimal for database searches or API calls. |
Pre-Call Action
Before each incoming or outgoing call, you can enrich the context with additional information by configuring a pre-call action on your agent. The return of this action will be injected into the call context.Outgoing Call
API
When creating calls via API, a context can be provided in the request and will be injected during the call.Initiate Outgoing Calls
View API Reference
Campaigns (Excel / CSV)
For mass outgoing call campaigns, you can provide the context via Excel or CSV files.Incoming Call
SIP
When receiving an incoming call via a SIP connection, Volubile automatically adds to the call context theUser-to-User header and all other custom SIP headers starting with X-Volubile-. These headers are then available and can be utilized within the prompt.
Automatic Conversion
SIP headers are automatically transformed into context variables according to the following rule:- The prefix
X-Volubile-is removed. - The remaining key is converted to lowercase.
- Hyphens (
-) are replaced by underscores (_).
| SIP Header | Conversion in Context |
|---|---|
User-to-User: 6796 | {"user_to_user": "6796"} |
X-Volubile-code: 123456 | {"code": "123456"} |
X-Volubile-client-id: CL001 | {"client_id": "CL001"} |
X-Volubile-offer-type: premium | {"offer_type": "premium"} |