انقطاع جزئي للخدمةshare-external
How to receive payload in backend from complete screen in whatsapp flow
1

I want to get payload from flow to backend on complete screen of the flow. There is a option to add payload in the On Click Action of the button.

"on-click-action": { "name": "complete", "payload": { "dummy":"Hello" } } Can someone help!!

Narendra
تم طرح السؤال منذ حوالي شهرين
الإجابة المحددة
1

I recommend walking through one of the end-to-end tutorials in the dev docs, for example: https://developers.facebook.com/docs/whatsapp/flows/gettingstarted/pre-approved-loan

This should walk you through how to send up an Endpoint, and how to trigger data_exchanges between screen transitions within a Flow.

If you only want to received the data upon the completion of the full Flow (i.e. last screen), this is much simpler. Check out these docs: https://developers.facebook.com/docs/whatsapp/flows/reference/responsemsgwebhook

‏١١ سبتمبر‏‏٥:٢٩ ص‏111
Bar