Skip to main content

Actions

Actions allow your voice agent to perform tasks based on conversation data — send emails, SMS messages, WhatsApp messages, or make API calls after (or during) a call. The Actions tab also lets you define Retrieval Variables that the AI extracts from conversations.

Retrieval Variables

Retrieval Variables are custom data fields that the AI automatically extracts from conversations. For example, the agent can capture the caller's name, email, phone number, or any other information you define.

Variable Types

TypeUse CaseExample
TextNames, emails, addresses, notesCustomer name, email address
NumberQuantities, budgets, IDsOrder quantity, budget amount
BooleanYes/no responsesInterested in demo? Existing customer?
SelectorChoice from predefined optionsPreferred plan (Basic/Pro/Enterprise)

Configuring a Variable

Each retrieval variable needs:

FieldDescriptionExample
NameVariable identifier (used in actions)customer_email
DescriptionInstructions for the AI on when and how to extract this value"The customer's email address. Ask if not provided."

Best Practices for Variables

  • Write clear descriptions — the AI uses them to understand what to extract
  • Use descriptive names — they appear in action templates
  • For Selector type, define all possible options clearly
  • Don't create too many variables — focus on what you actually need
tip

The AI will naturally ask for missing information during the conversation. If you set a variable for "email" with the description "Customer's email address, ask politely if not provided," the agent will ask for it when appropriate.


Available Actions

Actions are triggered after the call ends (or based on conditions you define). They use the data from Retrieval Variables.

ActionPurposeKey Settings
Send EmailEmail conversation dataRecipients, subject, message template
Send SMSSend text messageRecipients, message template
Send WhatsAppSend WhatsApp messageRecipients, message template
API CallSend data to external APIEndpoint, method, headers, body

Send Email

Send an email with extracted data after the call.

Configuration

SettingDescription
NameAction identifier (e.g., "Send lead info")
SubjectEmail subject line
MessageEmail body — can include retrieval variables
ConditionWhen to send (leave empty = always send)
Recipient Email(s)One or more email addresses

Using Variables in Email

Reference retrieval variables in your email template using their names:

New lead from phone call:

Name: {{customer_name}}
Email: {{customer_email}}
Interested in: {{selected_plan}}
Notes: {{call_notes}}

Send SMS

Send an SMS with conversation data. Configuration is the same as email, without the subject line.

SettingDescription
NameAction identifier
MessageSMS content (can include variables)
ConditionWhen to send
Recipient Number(s)Phone numbers to send to

Send WhatsApp

Send a WhatsApp message with conversation data after the call.

SettingDescription
NameAction identifier
MessageWhatsApp message content (can include variables)
ConditionWhen to send
Recipient Number(s)Phone numbers to send to (must have WhatsApp)
tip

WhatsApp messages support the same {{variable_name}} syntax as email and SMS. Recipients must have WhatsApp enabled on their phone numbers.


API Call

Send extracted data to an external API endpoint — useful for CRM integrations, webhook triggers, or custom workflows.

SettingDescription
NameAction identifier
ConditionWhen to trigger
API Endpoint URLWhere to send data
MethodGET, POST, PUT, DELETE
HeadersRequest headers
BodyRequest body (can include variables)

Example: CRM Integration

Name: Add to CRM
Condition: Customer is interested in a demo
Endpoint: https://api.yourcrm.com/leads
Method: POST
Headers:
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
Body:
{
"name": "{{customer_name}}",
"email": "{{customer_email}}",
"source": "phone_call",
"interest": "{{selected_plan}}"
}

Adding Actions

  1. Navigate to your agent's Actions tab
  2. For retrieval variables: click Add Variable and select the type
  3. For actions: click Add Action and select the action type
  4. Configure the settings
  5. Save — changes apply immediately