Number of parameters does not match the expected number of params
Hi, for the variables in the n8n WhatsApp Cloud node, you just need to arrange them like the example below:
Thank you for response, The issue im facing is persistent, doesn’t matter if im using any variable or not, im always getting 400 invalid parametres when i want to send a template with a whatsapp flow
Oh, so that’s for a WhatsApp flow template? I’ve also never used the WhatsApp Cloud node for that specific case because I believe the “flow” button type isn’t supported yet. Try using this HTTP request and fill in the parameters. For more details, I highly recommend testing all WABA feature via Postman below to get a clearer understanding to playaround with all feature on whatsapp cloud api
Yes thank you, in postman i was able to solve by setting a button componenet with the sub-type to flow. {
"nodes": [
{
"parameters": {
"phoneNumberId": "678051588735366",
"recipientPhoneNumber": "+21650453517",
"template": "new_bl|fr_CI",
"components": {
"component": [
{
"type": "button",
"sub_type": "=flow",
"index": 0,
"buttonParameters": {}
}
]
}
},
"type": "n8n-nodes-base.whatsApp",
"typeVersion": 1,
"position": [
416,
0
],
"id": "7f23a8f8-c059-4e0d-b68e-ae3bd29c9057",
"name": "Send template",
"webhookId": "c22a30b3-82e1-498e-acb7-588f9cc354c2",
"credentials": {
"whatsAppApi": {
"id": "gMVgZyvoFgAFOUmh",
"name": "WhatsApp account"
}
}
}
],
"connections": {},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "7481d96d48d6ddf096a1abbbbc595752d394b638dfa312c42f01c712af88e6ed"
}
}
Its working with whatsapp cloud node? i saw you are using button sub type with “flow” expression

