Triggers Types

Manu da Silva Updated by Manu da Silva

The keyword is the first word in a message and can be used to start the flow. For example, you can define a trigger using the "keyword" to start the flow and record contacts in your service.

All steps described here will be performed on the "Triggers" tab, located within the "Studio" module.

To facilitate navigation in this article, if you want to go directly to a specific trigger type, just click on its name below:

To create a new keyword trigger

  1. Click on the "Create a keyword that starts a flow" button;
  1. In a keyword, you can define a word to function as a keyword;
  2. In trigger when, you will choose between two options:
  • The message begins with the keyword: If the phrase entered by the user begins with a keyword, the chosen flow will be triggered;
  • The message contains only the keyword: The chosen flow will be triggered if the user types only the keyword
  1. In flow, it is defined the flow that will be started when you use the keyword;
  2. In groups only, it is possible to apply the rules of this trigger to specific contact groups, just leave the space blank if you want to apply this rule to all users;
  3. Click the Create trigger button

Creating a message keyword that allows people to join a group

Using this trigger to add an entry contact to a group. This trigger is useful for managing contacts who want to disassociate a group using the keywords "stop" or "freeze a record".

To create a trigger with a keyword that links contacts to a group:

  1. Click the "Create a message keyword that allows people to join a group" button:
  1. Enter a keyword in "Associate a keyword";
  2. Choose the group you would like to add your contacts to in "Group to join";
  3. Optional: In "Reply", you can choose a message to send;
  4. Under "Flow", you can choose which flow to start;

Start a flow after receiving an unhandled message elsewhere

Use this trigger to start a stream after receiving an uncaught message (the message is not handled elsewhere for other triggers). This trigger can be used for messages that have not been handled for an information flow that explains your service and leads you to the flow.

  1. Click on the button "Start a stream after receiving an untreated message elsewhere";
  1. Under "Flow", you can choose which flow to start;
  2. In "Groups only", you can choose the groups in which the trigger will be applied; if you leave the field empty, the trigger will be applied to all contacts;
  3. Click on "Create Trigger"

Start a flow in the future or on schedule

Use this trigger to schedule a flow at a time in the future, repeat it daily, weekly or monthly. To start the flow in the future or on a scheduled basis:

  1. Click the "Start a stream in the future or on a schedule" button:
  1. Choose the stream you want to start, to which contacts or groups the stream will be transmitted:
  2. Optional: you can choose to repeat the flow daily, weekly or monthly;
  3. Click on the "Create Trigger" box;

Start a flow after receiving a call

  1. Click the "Create a stream after receiving a call" button:
  1. Under "Flow", you can choose which flow to start;
  2. In "Groups only", you can choose the group (s) in which the trigger will be applied; if you leave the field empty, the trigger will be applied to all contacts;
  3. Click on "Create trigger".

Start a flow after a missed call

Use this trigger after a missed call.

  1. Click the "Start a flow after a missed call" button;
  1. Under "Flow", you can choose which flow to start;
  2. Click on "Create Trigger"

Start a flow after closing a ticket with a human agent

Use this trigger to initiate the flow for closing human support in Weni Chats.

  1. Click on the "Start a flow after a ticket is closed" button:
  1. In "Flow," you can choose which flow will be initiated;
  2. In "Only groups," you can select the group(s) where the trigger will or will not be included; if you leave this field blank, the trigger will be applied to all contacts;
  3. Click "Create Trigger."

How did we do?

Adding a trigger

Tell a flow to ignore triggers and keywords

Contact