Flow enables you to build structured interactions on WhatsApp to provide an enhanced end-to-end experience. Flow is a kind of highly customizable and task-centric workflow, it can server specific purposes such as booking appointments, browsing products, collecting customer feedback, getting new leads, etc.
To create and publish the flows, you need to log into the WhatsApp Manager and enter the Flow Builder.
When you first created the flow, it entered the Draft state, which can be sent for testing purpose only. If you would like to send it to a larger audience, you will need to Publish the flow.
The flow can be sent in two ways, either being initiated by user using a CTA button, or being sent by the business using a message template. In the following sections, you can learn how to set them up on WOZTELL.
To trigger the flow, business can send an message template containing a button. Once it is clicked by a user, the flow will be trigger.
Each message template can only be bound to one flow, if you want to edit the flow, you need to do it by editing the template.
To trigger the flow, business can send call-to-action (CTA) button as a bot message. Once it is clicked by a user, the flow will be triggered.
Besides, in the "Advanced Section", you can configure the data your flow screen needs to render.
You can refer to the Meta's guide for more details.
Upon the submission of the flow response from the user, business can make use of the Flow Trigger to send follow-up messages or perform other actions.
If you would like to send a follow-up message when the user has submitted a flow, you can make use of the "Selected Flow ID to match the submission of the corresponding flow.
When "Match Selected Flow ID" is enabled, the "Flow Payload to Match" with be disabled.
When "Selected Flow ID" is enabled, you can also add a customized payload. As a result, only the flow containing the same Flow ID and Customized Matching Payload can be matched by the trigger.
Optionally, you can add the Customized Matching Payload in the "WhatsApp Flow" response.
The Customized Matching Payload is also supported in the "WhatsApp Flow template".
If you would like to send different follow-up messages depending on the answers submitted with the flow. You can specify the expected input in the "Flow Payload to Match".
When the "Flow Payload to Match" is applied, you need to specify at least one input for matching.
In order to match the flow response submitted by users, business is required to specify at least one of the user input. For example, the trigger will only react an a particular answer submitted by the user.
With this design, you are able to display different follow-up messages based on what the user has input in the flow. For matching different types of input in the trigger, please refer to the table below.
Input Types | Properties | Description | Example |
---|---|---|---|
TextInput | String | The exact text input | "name": "John Lee" |
RadioButtonsGroup | String | ID of the radio button | "topicRadio": "1" |
Dropdown | String | ID of the dropdown option | "city": "0" |
CheckboxGroup | Array | List of IDs of checkbox options | question1Checkbox: ["0", "2", "4"] |
OptIn | Boolean | Boolean value of the optin checkbox | "OptIn": true |
DatePicker | String | Timestamp of the chosen date | date: "1729958400000" |
You can also refer to the source code of the flow in the Flow Builder under the WhatsApp Manager.