A trigger can publish events in response to external requests, system activity, or incoming data. Triggers act as the entry point for event-driven automation and publish events that can be consumed by processes and other project assets.
To create a trigger:
- Open a project.
-
Select how to create the trigger:
- Click Create > Trigger.
- Click the vertical ellipsis (
) button next to the Triggers drop-down menu in the left-hand pane, then select Create.
You can also upload a JSON file with the trigger. For more instructions, see Importing Project Assets.
The Create Trigger window is displayed.
- Enter a name in the Trigger name field.
- Optional: Enter a description in the Trigger description field.
-
Click Create Trigger.
The trigger is opened as a new tab and its details are displayed.
-
Select the event from the Event source drop-down menu.
For details on the available event sources, see Trigger Source Events.
The Input values section is displayed. Its content depend on the selected event source.
-
Optional: Configure the input values of the condition in the Input
values section. You can use variables or create an expression
that has to be true for the trigger to be fired. For details, see Creating Conditions.
Note: All trigger parameters are optional. If you do not configure any parameters or conditions, the trigger responds to every occurrence of the selected event type. For example, if you configure an Error Received event without any additional conditions, the trigger publishes an event whenever an error occurs in the process.
-
Select the executed action from the Action type
drop-down menu. For details, see Trigger Actions.
The Payload section is displayed.
- Configure the payload details for the trigger.
-
Use the save (
) button to save the trigger.