Short version
- Does anyone know how to work with whatsapp business templates & n8n ?
- I believe what is described below is a bug in n8n’s whatsapp “send template” node
TL;DR
Whatsapp “send template” node, it seems, does not allow to use the “components” section of the node to set variables that should be sent to the template. E.g. I have a whatsapp template that looks as follows:
- “Hello {{name}}! How are you doing ?”
And, as per meta dev platform’s Template - Cloud API - Documentation - Meta for Developers, the request should have a components section looking as follows:
"type": "body",
"parameters": [
{
"type": "text",
"parameter_name": "customer_name",
"text": "John"
},
{
"type": "text",
"parameter_name": "order_id",
"text": "9128312831"
}
]
However, from the node’s setup, I have no way of setting the parameter name.
What is the error message (if any)?
Bad request - please check your parameters
Invalid parameter
Please share your workflow
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main): —
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: win 11