Using WhatsApp Flows
WhatsApp Flows is a tool for creating and sending interactive pop-up forms in the WhatsApp channel, allowing you to automate customer interaction flows. The number of interactive forms in a Flow is unlimited.
Customers can launch Flows from WhatsApp messages without a template, for example, to schedule a consultation or book a meeting. The data is also available for CRM integration.
Using WhatsApp Flows in edna Pulse is only available for WhatsApp messages without a template sent via the edna API. You can only create, edit and delete WhatsApp Flows in your WhatsApp Manager account.
Read more in the Meta documentation:
-
What is WhatsApp Flows? developers.facebook.com
-
WhatsApp Flows quick start developers.facebook.com
-
How to create surveys using WhatsApp Flows and WhatsApp Flows API developers.facebook.com
How to Use WhatsApp Flows in edna Pulse
-
Go to the WhatsApp Manager and create a WhatsApp Flow. business.facebook.com
For more information, watch Meta’s tutorial video: Create a New WhatsApp Flows Using Flows Builder interface
infoTo generate JSON, you can use the Meta Playground visual constructor.
-
Make sure the 24-hour conversation with the recipient is open.
-
Send a request to send a message via the edna API by specifying the Flow ID in the
Sending Messages via APIflowId
parameter.
After that, edna Pulse will send an outgoing non-template WhatsApp message from the specified Flow to the recipient. Further steps:
-
The recipient performs actions in the message, such as assigning scores, filling in fields and selecting options from drop-down lists.
-
edna Pulse receives information about the recipient’s actions.
-
Through the callback, edna Pulse sends you information with the data obtained as a result of the recipient’s actions, for example, scores assigned, values entered in fields, options selected.
infoTo receive this data, enable incoming message callbacks. The data is also available in WhatsApp Manager.
Sending Messages via API
How to Test Sending WhatsApp Flows to your Device
-
Go to the Integration → Testing section of your edna Pulse account.
-
Run the test scenario according to the specified steps. At the same time, specify the content to send to Flow as the
whatsappContent
parameter.:"whatsappContent": {
"ContentType": "FLOW",
"caption": "Go",
"text": "Click on the button to test WhatsApp Flows",
"flowId": 2078856889281964,
"action": "navigate"
} -
In the
flowId
field, use one of these values:2078856889281964
,688825847226494
,1023010889492839