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.

FieldTypeRequiredDefaultConstraintsExample
to
Recipient number, country code first, digits only. Supports {{ }}.
stringYes———
template_name
Approved template name.
stringYes———
language
Template language code, e.g. en_US.
stringNoen_US——
body_params
Values for the body placeholders {{1}}, {{2}}… in order.
arrayNo—array of string—
header_params
Values for text header placeholders.
arrayNo—array of string—
button_url_param
Dynamic suffix for a URL button.
stringNo———
components
Raw Graph components array — overrides the params fields above.
arrayNo—array of object—
phone_number_id
Send from this number instead of the connection's default.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "language": "en_US"
}

Output

One shape.

sent

FieldTypeExample
ok
booleantrue
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.

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.