Building Flows with WhatsApp
Respond to WhatsApp with Send WhatsApp
- Open your SmartFlow.
- Drag an Inbound WhatsApp trigger onto the board. Inbound WhatsApp is used to trigger a flow whenever a message is sent to the assigned WhatsApp ID.
- To assign a WhatsApp ID to the flow, enter your WhatsApp ID in the Inputs section, and click Add.
Note: You must already have gone through the WhatsApp Brand Approval process and have WhatsApp ID accepted.
- To respond within WhatsApp, follow up with a Send WhatsApp action.
Note: You can use any of the Available Variables to customize the message or fields.
- Configure the Send WhatsApp action Inputs section. Select the appropriate Message Type:
- For Text:
- Message: Enter the message that you would like to send.
- For Text:
-
For Image:
-
Media URL: Enter the URL where the image can be found.
-
Caption: Describe or annotate your image, if desired.
-
Media Type: Select the format of the image. Available file types can be selected from the drop-down menu.
-
- Click Save to validate your flow for any errors and Deploy to put your flow into production.
Customize Responses with Switch
- Drag an Inbound WhatsApp trigger onto the board.
- Drag a Switch action onto the board and connect it.
- In the Inputs section, add a new IbWapp.messageText Variable with the Condition Contains.
- Add the Value you want to use to prompt a certain WhatsApp response (WELCOME in the example below).
- Click Add/Save.
- Connect a WhatsApp response to each condition in the Switch action to send a custom response based on each of your Values.
- Click Save to validate your flow for any errors and Deploy to put your flow into production.