Skip to navigation

Outbound messages & templates

Start WhatsApp conversations and calls from your agent

Overview

An agent can only send free-form WhatsApp messages inside an active conversation. To reach a user first — for notifications, re-engagement, or scheduled calls — you send a Meta-approved message template. This page covers creating templates, sending outbound messages and calls, and running them at scale.

Creating templates in WhatsApp Manager

Templates are created and approved in WhatsApp Manager, not in ElevenLabs.

When creating a template:

  • Choose a category: Utility for transactional messages, Marketing for promotional messages, or Authentication for verification codes. Meta prices and rate-limits each category differently — see WhatsApp pricing.
  • Choose a parameter format: positional ({{1}}, {{2}}) or named ({{customer_name}}). Named parameters require a parameter_name on each value you send.
  • Submit for approval. Approval usually takes minutes to hours. Use the approved language version. The dashboard filters templates by account and send mode. The message picker excludes call-permission templates, and the call picker requires one.

Meta limits how many marketing templates a single user can receive in a given period. If a marketing template is silently not delivered, this limit is a common cause (Meta error 131049).

Sending an outbound message

Sending a template message starts a new conversation. The agent stays silent until the user replies — the template itself is the first message, and no conversation timers start until the user responds.

Open Channels → WhatsApp, select your account, and choose Outbound → Message. Select the agent, enter the recipient’s WhatsApp user ID, and choose the approved template. Fill in its parameters and select Send Message.

Outbound Message dialog with Ana entered for the pickup reminder’s first_name parameter

See the API reference for the full request schema.

An AI assistant can adapt these examples to your template. Point it at the ElevenLabs docs llms.txt (or the more detailed llms-full.txt), paste your template definition from WhatsApp Manager, and ask for the request — it will produce a cURL command or SDK call with the correct template_params for your template.

Template parameters

template_params is a list of component objects, one per template component that has parameters:

  • {"type": "body", "parameters": [...]} for body placeholders
  • {"type": "header", "parameters": [...]} for a parameterized header (text, image, document, or location)
  • {"type": "button", "sub_type": ..., "index": ..., "parameters": [...]} for button parameters

Each entry in parameters is a value object such as {"type": "text", "text": "Daniele"}. For templates with named parameters, include parameter_name on each value. Omitting the component wrapper — for example, passing {"type": "text", ...} directly in template_params — is rejected.

Choose a sending method

MethodSupported template inputs
Send Message toolBody parameters only. An agent on another channel can use this tool.
One-off outbound messageSupply header, body, and button components as defined by the approved template. For example, pass a media header in the header component.
WhatsApp campaignText headers, body variables, and dynamic URL buttons. Media headers and copy-code buttons are unsupported. Use a call-permission component for voice and omit it for messages.

If a template is missing or rejected, check its account, approval status, language, components, and the sending method you selected.

Recipient number format

For native outbound requests and campaigns, store the whatsapp_user_id from the customer’s conversation. For a phone-based ID, use the country code and digits only, such as 14155552671. If Meta supplies a business-scoped user ID (BSUID), such as US.13491208655302741918, copy it exactly, including its prefix. Parent BSUIDs are also accepted. A customer can have a WhatsApp ID without sharing a phone number.

In some countries the ID WhatsApp uses for a person differs from their dialed number — for example, Mexican numbers carry an extra 1 after the country code (521...), and Brazilian numbers may include or omit a ninth digit. If the user has messaged you before, prefer the whatsapp_user_id from that earlier conversation, which you can copy from the conversation history.

Dynamic variables, branches, and environments

The conversation_initiation_client_data field lets you set dynamic variables for the conversation and pin it to a specific agent branch and environment:

{
"dynamic_variables": { "customer_name": "Daniele" },
"branch_id": "agtbrch_8721kwarbs83e233mg1fzkaf9pg0",
"environment": "staging"
}

These settings persist for the conversation: when the user replies, the agent resumes on the requested branch and environment. The branch and environment are validated first — if either does not exist, the request fails with an error and no message is sent.

This request field is how outbound conversations receive dynamic variables; inbound conversations receive them from a conversation initiation webhook instead — see initialization context.

Template parameters fill in the template text only — they are not exposed to the agent. If the agent needs a value from the template (such as the customer’s name), pass it again in dynamic_variables.

After you send

Save the returned conversation_id. It identifies the conversation whose first message is the rendered template. The agent waits for the customer’s first reply before starting its conversation timers. To distinguish a send from a delivery, read the opening message’s status. You can also find the conversation by business number.

Scheduling an outbound call

Outbound WhatsApp calls require the user’s permission — see user call permissions. Create a message template with a call permission request component in WhatsApp Manager. When you schedule a call, ElevenLabs checks the permission state:

  • Permission already granted: the call is placed immediately.
  • Permission not yet requested: the permission-request template is sent, and the call is placed as soon as the user approves.
  • Request blocked: the call cannot proceed. Check the permission request state and the limits on requesting permission before trying again.
  • Permission declined: the conversation is recorded as failed with the reason User declined the call permission request.

Open Channels → WhatsApp, select your account, and choose Outbound → Call. Select the agent and branch, enter the WhatsApp user ID, and choose a call-permission request template. For a test, use your own recipient ID and select Send Test Call.

Outbound Call dialog with a branch, recipient, and approved call-permission template selected

See the API reference for the full request schema. As with outbound messages, conversation_initiation_client_data sets dynamic variables and pins the conversation to a branch and environment, and an unknown branch or environment is rejected before the call is scheduled.

Meta charges for outbound calls and for call permission requests sent outside a Customer Service Window. Add a payment method in WhatsApp Manager before scheduling calls.

Campaigns and batching

For outreach to a list, create a WhatsApp campaign. Choose Text to send one approved template to each recipient or Voice to place calls with permission. Campaign Manager tracks results for each lead.

Call permission outcomes in campaigns

What happenedWhat to do
Permission already grantedCheck the call result. The campaign can place a call without sending a new permission request.
Awaiting permissionWait for the customer to respond. A pending request can remain open for seven days, with up to ten additional minutes for the campaign to settle it. An unanswered request ends as permission_not_granted.
Customer declinedRespect the decline. The campaign marks this lead do-not-call (permission_declined).
Request blockedCheck the request limits before contacting the customer again. The campaign restores the attempt allowance for permission_request_blocked.
Permission expiredA follow-up without valid permission ends as permission_expired. The campaign restores the attempt allowance and does not automatically request permission again.

In the conversation’s WhatsApp metadata, call_permission_request describes the request and response. After a call is placed, call_result records its outcome: answered, busy, no_answer, or failed. A customer can grant permission and still miss the call.