WhatsApp Messages
:::tip Developer reference
For the technical details (payloads, endpoints, field reference), see the developer reference: WhatsApp.
:::
Send an automated WhatsApp message to the caller after each call ends.
What It Does
After a call ends, Sprio sends a WhatsApp message to the caller's number using a pre-approved message template. You can include dynamic variables from the call — caller name, date, duration, or data extracted from the transcript.
Setup
- Open an assistant in the editor → Integrations tab.
- Click Add Integration → WhatsApp.
- Select your WhatsApp template from the list.
- Map template variables to call data variables (see below).
- Set a skip condition if needed.
- Save.
WhatsApp Business messaging requires pre-approved message templates. Contact your Sprio account manager to get templates approved before use.
Template Variables
Templates can include dynamic placeholders that are filled from call data:
| Variable | Source | Example Value |
|---|---|---|
{{caller_number}} | Call metadata | +919876543210 |
{{call_date}} | Call metadata | 23 Jun 2026 |
{{call_duration}} | Call metadata | 2m 14s |
{{assistant_name}} | Assistant settings | Priya |
{{extracted_name}} | Data Extraction schema | Rahul Sharma |
{{extracted_city}} | Data Extraction schema | Mumbai |
Skip Conditions
You can configure the integration to skip sending if template variables are missing. For example, if your template requires the caller's name but the caller never gave it, the message is skipped instead of sending a message with empty placeholders.
Enable Data Extraction on the assistant to collect caller name, city, or other fields from the conversation — these become available as template variables for WhatsApp.