Skip to main content

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​

  1. Open an assistant in the editor → Integrations tab.
  2. Click Add Integration → WhatsApp.
  3. Select your WhatsApp template from the list.
  4. Map template variables to call data variables (see below).
  5. Set a skip condition if needed.
  6. Save.
warning

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:

VariableSourceExample Value
{{caller_number}}Call metadata+919876543210
{{call_date}}Call metadata23 Jun 2026
{{call_duration}}Call metadata2m 14s
{{assistant_name}}Assistant settingsPriya
{{extracted_name}}Data Extraction schemaRahul Sharma
{{extracted_city}}Data Extraction schemaMumbai

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.

tip

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.