Links

App Event Trigger

Overview

App Event Trigger runs a flow when something happens in your application. While you can always run the flow directly via API or SDK, this trigger helps you:
a) Shift some of the logic to integration.app platform: you can always fire an event and let integration.app decide which flows to launch.
b) Let your users configure the trigger logic by configuring additional filters for when to launch the flow.

App Events

Before creating App Event trigger, you need to create an App Event from the corresponding page in the Integration Console. When you create an App Event, it will give you an URI:
Whenever you make an HTTP request to this URI (you can use any HTTP method), flows attached to this app event will be launched. To

Example

Here is how App Event Trigger configuration looks like:
trigger-key:
type: app-event
config:
eventKey: app-event-key
output:
$var: $.input
filter:
- field: userId
operator: is
value:
$var: $.flow.userId

Config

Data Event Trigger has the following parameters:
  • eventKey - key of the app event you've created.
  • output - output of the trigger. It will be used as input for the Entrypoint trigger is connected to. Data you send to the App Event's URI will be available using $.input locator - you can extract the fields you need or just use contents of the HTTP request as output (default).
  • filter - a Data Filter applied to the event.