A trigger is an event or situation that causes a process to start.

Inside Flow Builder, a Trigger is an external event that causes the Flow to execute step actions.

Message (Step) Trigger

This is the most common trigger type. When you receive a message from one of the supported Flow channels Flow Builder executes the step actions passing the message as a context variable.

Timer Trigger

The timer trigger or Wait for the user to execute option control provides a pre-defined delay (ex. 2 seconds) and will perform the step actions without user interaction.

Webhook Starter Trigger

As the name implies, the WebhookWebhook - It is an endpoint built by an URL and a payload that is used to get or send notifications of events in real-time. trigger waits for an external HTTP call to a generated URL in the step configuration sidebar to execute the step actions. There are currently two implementations for the webhook triggers.

See Webhook starters for more information on this type of trigger.

  • Frontapp Triggers

    Frontapp webhooks are identified when the header x-front-signature is present in the request.

{
      "conversation": {
        "recipient": {
          "handle": "userIdentifier"
        }
      }
    }
  • Generic Triggers

    Every webhook other than Frontapp, will expect the following payload. Additionally, you can pass a data property that is stored under the user context in the webhookPayload variable to be used during the execution of the workflow.

{
  "userId": "userIdentifier",
  "data": {} // An object with information to store in context
}

What’s Next
Did this page help you?