List Templates
whatsapp.list_templates
ActionChat & messagingconnection required
Calls GET /{business_account_id}/message_templates.
List the WhatsApp Business Account's message templates and their approval status.
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
3 fields, none 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 |
|---|---|---|---|---|---|
limit Maximum templates to return (1-250). | number | No | 50 | ≥ 1 | — |
status Only return templates in this status. | string | No | — | — | — |
business_account_id WABA id, if not set on the connection. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"limit": 50
}Output
One shape.
templates
| Field | Type | Example |
|---|---|---|
count How many templates were returned. | number | — |
templates[].name | string | — |
templates[].language Language code, e.g. en_US. | string | — |
templates[].status APPROVED | PENDING | REJECTED. | string | — |
templates[].category MARKETING | UTILITY | AUTHENTICATION. | string | — |
templates[].id | string | — |
{
"count": 0,
"templates": [
{
"category": "",
"id": "",
"language": "",
"name": "",
"status": ""
}
]
}Notes
- This is the only WhatsApp node that uses business_account_id rather than phone_number_id — one WABA owns many numbers, but templates belong to the WABA.
Related WhatsApp Business nodes
See List Templates 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.