Building Flows with WhatsApp

Respond to WhatsApp with WhatsApp Send

  1. Open your SmartFlow.
  2. 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, simply 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.

  1. 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.

  1. Configure the WhatsApp Send action Inputs section. Select the appropriate Message Type:
    • For Text:
      • Message: Enter the message that you would like to send.

  • 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.

 

  1. Click Save to validate your flow for any errors and Deploy to put your flow into production. 

Customize Responses with Switch

  1. Drag an Inbound WhatsApp trigger onto the board.
  2. Drag a Switch action onto the board and connect it.

  1. In the Inputs section, add a new IbWapp.messageText Variable with the Condition Contains.
  2. Add the Value you want to use to prompt a certain WhatsApp response (WELCOME in the example below).

  1. Click Add/Save.
  2. Connect a WhatsApp response to each condition in the Switch action to send a custom response based on each of your Values.
  3. Click Save to validate your flow for any errors and Deploy to put your flow into production.