Send Template
whatsapp.send_template
ActionChat & messagingconnection required
Calls POST /{phone_number_id}/messages with type=template.
Send an approved WhatsApp message template — works outside the 24-hour window.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- WhatsApp Business
- Secret shape
- {"access_token": "…"} (or the raw token)
- Resolved by
- config.connection_id, else node.connection_id
Configuration
8 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
to Recipient number, country code first, digits only. Supports {{ }}. | string | Yes | — | — | — |
template_name Approved template name. | string | Yes | — | — | — |
language Template language code, e.g. en_US. | string | No | en_US | — | — |
body_params Values for the body placeholders {{1}}, {{2}}… in order. | array | No | — | array of string | — |
header_params Values for text header placeholders. | array | No | — | array of string | — |
button_url_param Dynamic suffix for a URL button. | string | No | — | — | — |
components Raw Graph components array — overrides the params fields above. | array | No | — | array of object | — |
phone_number_id Send from this number instead of the connection's default. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"language": "en_US"
}Output
One shape.
sent
| Field | Type | Example |
|---|---|---|
ok | boolean | true |
message_id WhatsApp message id (wamid.…). | string | — |
wa_id The recipient's canonical WhatsApp id. | string | — |
{
"message_id": "",
"ok": true,
"wa_id": ""
}Notes
- The template name AND its language must both be approved — an approved template in another language fails with 'Template name does not exist in the translation'.
- Use 'components' only for headers WhatsApp cannot build from plain text (image/document headers, named parameters); it replaces the params fields.
Related WhatsApp Business nodes
See Send Template run in a workflow.
In a technical demo we add the WhatsApp Business connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.