Adding a trigger

Manu da Silva Updated by Manu da Silva

At this point, your chatbot is connected to a channel, but to automatically start a flow when the user interacts with the chatbot, you need to set up a Trigger. To create it, go to the Triggers Menu within the "Studio" module and click on "Create Trigger."

In this section, we will create a standard trigger that can be configured in both the studio module and the flow.

  1. Click on "Create Trigger." A new window will open;
  2. Click the button "Create a message keyword that launches a flow."
  1. In the keyword space, you will define the word that will act as a trigger.
Avoid using common words like: help, hello, good afternoon. Instead, use: test123, help123. This ensures that if the user uses any common word in a message, the flow with this trigger won't be activated.
  1. In the trigger, you can choose to activate when:
  • The message starts with the keyword – If the phrase typed by the user starts with the keyword, the selected flow will be triggered.
  • The message contains only the keyword – The selected flow will execute an action if the user types only the single registered keyword.
  1. In "Flow," you define the flow to be started.
  2. In "Only Groups," you can choose to include or exclude the rules of this trigger for a specific group of contacts; leave the field blank if you want to apply this rule to everyone.
  3. Click on "Create Trigger" box.
In "Groups to Exclude": you can prevent people from certain groups from entering this flow.
If your Agent Builder is active, the triggers WILL NOT work, as the flows are activated by the intelligent agent and not by triggers.

Creating triggers in a flow

  1. Click on "Flows" choose your flow, and open it.
  1. Within the flow, click on the three-line menu and select "Edit." A new window will open.
  1. In "Global Keywords," type the trigger word and click "Save Changes."

How did we do?

Triggers Types

Contact