Error in the "WhatsApp Business Cloud" node in the "Send Template" action with variables

Hey guys, how is it going? I’m rookie using n8n… I’m trying to integrate “WhatsApp Business Cloud” using the “Send Template” action. However, I’m having some problems, and I believe it’s due to the template variables I configured in the meta tag. I can assure you the problem isn’t related to authentication, tokens, or similar configurations. But the response I get when running the node is that the parameters aren’t as expected. Below is an example of the configuration I made, and I await your response. The templates are in Brazilian Portuguese, but the variables are the important part, so that’s irrelevant.

Meta template:

Whatsapp Business Cloud Node:

Error message

Bad request - please check your parameters
Invalid parameter

Information on my n8n setup

  • n8n version: 1.116.2 (Self Hosted)

Hey, just use the Edit Fields (Set) node before the WhatsApp node to build the components and replace variables, then pass it via expressions to “Send Template.”

like in my workflow, i used it to replace the variable then pass it through the ai and write the reply. In your case, just replace the variable in your set node then get the full message then send. or use some custom code to replace the variable in your message template, the output will be the full message with the name and plane, then send the whatsapp message.

I’m having the same problem and still can’t find the solution. Seems like the “Body” parameters are not correctly configured in n8n. Let me know if anyone finds the answer please!

I solved this by using the variables {{1}}, {{2}}, {{3}}… and sending them in this format: