Skip to main content

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.

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.
Use the caller/called phone number (system.phoneE164) from the system context to retrieve customer information from your systems.

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.
Column names in your Excel/CSV files must not contain spaces or special characters to be correctly transformed into variables. Use underscores (_) to separate words.

Incoming Call

SIP

When receiving an incoming call via a SIP connection, Volubile automatically adds to the call context the User-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:
  1. The prefix X-Volubile- is removed.
  2. The remaining key is converted to lowercase.
  3. Hyphens (-) are replaced by underscores (_).

Complete Example