• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

unable to send template message along with flow embedded in it.

i am trying to send a template message using whatsapp cloud api.

template message is approved and it contains a form to fill and submit.

but i getting an error message of

Please specify a flow button component within template['components']

please help to rectify.
 

Attachments

  • Screenshot_2024-02-12-15-32-17-90_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
    Screenshot_2024-02-12-15-32-17-90_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
    266.4 KB · Views: 18
Hello,

I have created a template under marketing category. this template contains body text along with a button for update preferences for contact the customer as in flow. The template has also get approved from meta.

but i am unable to send the template to my customers and getting the same message again and again:

Please specify a flow button component within template['components']
 
Please specify a flow button component within template?

How it is asking to specify? i am using pabbly to send whatsapp template using cloud api.

i am not setting any parameters or headers manually. Since template message is approved so pabbly is automatically is fetching the tempate id and allowing me to send to the targeted customer by just mentioning the phone number manually. Pleas tell me where is the fault.
 

Supreme

Well-known member
Staff member
It appears that you might have made some changes to your WhatsApp Cloud API account or your connection needs to be updated.

So, can you please make a new connection and share the screenshot of the template dashboard if the issue still persists?

 
kindly check this thread and reply
i have the approved template messages. Message includes body text and a form embedded in it. but it is not getting sent to anyone using pabbly.
 

Attachments

  • Screenshot_2024-02-14-00-32-00-56_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
    Screenshot_2024-02-14-00-32-00-56_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
    111.5 KB · Views: 13
It appears that you might have made some changes to your WhatsApp Cloud API account or your connection needs to be updated.

So, can you please make a new connection and share the screenshot of the template dashboard if the issue still persists?

permanent token is not an issue. i know how to get permanent token. i want to know how to send whatsapp flow to users.
 
permanent token is not an issue. i know how to get permanent token. i want to know how to send whatsapp flow to users.
hello supereme

i have resloved the above issue.

i am using below mentioned payload:



{ "messaging_product": "whatsapp", "recipient_type": "individual", "to": "91XXXXXXXXXX", "type": "template", "template": {

"name": "testapply_job_button",
"language": "en",
"category": "MARKETING",
"components": [
{
"type": "body",
"text": "hello apply job"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "FLOW",
"text": "Apply job",
"flow_id": "136736281725XXXX",
"navigate_screen": "Update Preferences",
"flow_action": "navigate"
}
]
}
]
}


but i am getting an error message of
(#100) The parameter messaging_product is required.

kindly help to correct it.
 

Supreme

Well-known member
Staff member
i am using below mentioned payload:



{ "messaging_product": "whatsapp", "recipient_type": "individual", "to": "91XXXXXXXXXX", "type": "template", "template": {

"name": "testapply_job_button",
"language": "en",
"category": "MARKETING",
"components": [
{
"type": "body",
"text": "hello apply job"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "FLOW",
"text": "Apply job",
"flow_id": "136736281725XXXX",
"navigate_screen": "Update Preferences",
"flow_action": "navigate"
}
]
}
]
}


but i am getting an error message of
(#100) The parameter messaging_product is required.

kindly help to correct it.
Thanks for the update, can you please tell us where you are using this API request in which workflow?
 
Thanks for the update, can you please tell us where you are using this API request in which workflo
hello supreme,

"messaging product": "whatsapp" was resolved by adding it in header.

now i am getting 400 error.

my payload structure is not correct. I am using custom request in API method:


{
"recipient_type": "individual",
"to": "917458245896",
"type": "template",
"template": {
"name": "testapply_job_button",
"language": "en_US",
"components": [
{
"type": "body",
"text": "hello apply job"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "FLOW",
"text": "Apply job",
"flow_id": "136736281725XXXX",
"navigate_screen": "Update Preferences",
"flow_action": "navigate"
}
]
}
]
}
}

kindly help me to get it correct
 

Supreme

Well-known member
Staff member
We've examined the JSON payload, but it's not functioning as expected. We've also tested it in Postman with the same result.

1707897943549.png


Further, you can try using the same payload on Facebook Exploerer for a better understanding.


If any request runs on it then please do share the CURL request.
 
Top