Triggers
An Automation Trigger is mechanism to invoke an Automation Run. Currently only an Automation Run designed in the Automation Template Designer is eligible to be invoked via a Trigger. There are currently three possible trigger sources that can be configured to invoke an Automation Run, a cron schedule, a Segment event and a Courier Audience event.
The Cron Schedule Trigger
To invoke an Automation Run on a reoccurring schedule you can attach a Cron trigger to the Automation Run.
- Select the Start block in the Automation Template Designer and select "Scheduled Trigger"
- Enter a cron schedule expression to invoke the Automation Run. This input accepts a cron time string (https://crontab.guru/) or an ISO 8601 date time. In this example, we will invoke the Automation Run every hour.
The Segment Event Trigger
To invoke an Automation Run given a Segment Track event on group or identity you can attach a Segment Event trigger to the Automation Run.
- Select the Start block in the Automation Template Designer, select Track under the Add a Segment Event to Trigger this Automation section, and enter the event name. Optionally specify Identity or Group.
- In this example, we will add a track Segment event to invoke the Automation Run.
The Audience Match Trigger
To invoke an Automation Run given a Courier Audience match or unmatched event you can attach an Audience Event trigger to the Run.
- Select the Start block in the Automation Template Designer, select either "Match" or "Unmatched" under the Audience Events to Trigger this Automation section.