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
Enviada hace aproximadamente un mes
Respuesta seleccionada
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

11 de sep. a las 5:29
Bar