All Products
Search
Document Center

Chat App Message Service:Trigger Mode

Last Updated:Nov 18, 2024

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.

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

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

    image

  2. Set Trigger Type to WhatsApp, set the WABA information in the WABA Bind section, and then click OK.

    image

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

  1. YesIn the Chat App Message Service console, click the Editor tab. On the Process Management tab, find the target process and click Edit.

    image

  2. In the dialog box that appears, modify the WABA information and click OK to configure the trigger node.

    image

    Note

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