Hello everyone, so i was wondering if anyone knows if the DialogFlow CX custom payload can generate a whatsapp interactive button? The interactive button code will be written on custom payload/
Solved! Go to Solution.
@cendolbasi I have already integrated my whatsapp with dialogflow, You can define these responses but from the webhook.
Would be like
DFCX - Webhook - whatsapp
In the middle try to create the structure and only send that to whatsapp.
@cendolbasi I have already integrated my whatsapp with dialogflow, You can define these responses but from the webhook.
Would be like
DFCX - Webhook - whatsapp
In the middle try to create the structure and only send that to whatsapp.
hi @Mizar thank you for answering to my question. Can i ask a few questions:
1) What kind of webhook are you using?
2) Are you using the interactive button/list on custom payload? Can i know the payload?
Thank you in advance!
Hi Im using a simple php webhook that receives the request and then sends a response.
Im getting this example of format, then depending of the response I specify a format that Whatsapp Cloud API specifies.
Then I use another webhook that calls the whatsapp cloud api and sends a format like this
https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates/#text-based
hope that works
Hi @Mizar, thank you for the great answer. It helped me.
But since i'm really new into this chatbot thingy, can i ask where should i write the whatsapp cloud api code? is it in the same environtment/folder with my webhook code?
Thank you for the help!
Well, you can have 2 webhooks, in different URLs if you want, or the 2 in the same code and after you receive a request from Df you send to WhatsApp and vice versa.
Hi Mizar, can i contact you through DM? cause i wanted to ask about the webhook systems and so on. Thank you
Hi @cendolbasi sure, you can find me by my name on any platform.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |