By default, a flow is triggered by a message. This topic describes how to configure a trigger mode so that a flow can be triggered by a WhatsApp message, Viber message, Instagram message, or Messenger message.
If the trigger method is WhatsApp, Viber, Instagram, or Messenger, you must set the information that is bound to the flow.
If the Trigger Type parameter is set to Manual, you do not need to configure the Trigger node.
Procedure
The following section describes the procedure when a process is triggered by a message. You can select one of the two. For more information about how to create and trigger a chat flow, see the Create a chat flow section of the Work with Chat Flow topic.
Scenario 1: Bind information when creating a flow
This topic uses WhatsApp as an example to describe how to bind WABA when you create a flow to configure the trigger node.
Create an entry: In theIn the Chat App Message Service console, choose Process Editor > Process Management, click Create Process, and then select Create from blank canvas.
Set Trigger Type to WhatsApp, set the WABA information in the WABA Bind section, and then click OK.
NoteThe WhatsApp message trigger type corresponds to Waba binding. You need to bind the Waba name and number.
The Viber message trigger type corresponds to the Viber binding. You need to bind the ServiceId.
The Instagram message trigger type corresponds to the Instagram binding. You need to bind the AccountId.
The Messenger message trigger type corresponds to the Messenger binding. You need to bind the PageId.
Method 2: Modify the configuration of the trigger node for a chat flow
This topic uses WhatsApp as an example to describe how to modify the trigger node configuration of a created flow.
YesIn the Chat App Message Service console, click the Editor tab. On the Process Management tab, find the target process and click Edit.
In the dialog box that appears, modify the WABA information and click OK to configure the trigger node.
NoteYou cannot modify the configuration of the trigger node for a published chat flow. If you need to change the process in the online status, you can temporarily unpublish the process; or copy the process and modify the copied version.