A trigger starts a process without anyone pressing Play. The bot watches for something to happen on its machine, such as a new email or a file in a folder, and starts the process when it does. A webhook lets another system start a run by calling a web address.
1. Add a trigger
- Open the process and choose the Add step tab.
- Add a Trigger to the map.
- Give it a Name and choose What starts this process (see below).
- Fill in what to watch, add any filters, and save.
2. What can start a process
| On a schedule | At set times: every day, every weekday, on chosen days, or a cron expression. The time is the bot machine's time. Needs bot 6.5.2 or later. See Scheduling processes. |
| Every few seconds | The bot checks every so many seconds, up to once a day. |
| File added / changed / removed / renamed | A file changes. Give the full path on the bot's machine; wildcards are allowed, for example C:\Invoices\*.pdf. |
| Folder added / changed / removed / renamed | A sub-folder changes in the folder you give. |
| New email | An unread email arrives in an Outlook mailbox. Give the account, or the account and folder joined by ::. Without a folder it watches the Inbox. |
| Queue item available | An item waits in a queue. The process starts for each one. |
Skip automatic replies
A New email trigger has a Skip automatic replies switch, on for new triggers. Out-of-office replies, bounces and read receipts then do not start the process. They stay unread and are moved to an Automatic replies folder under the watched folder. This needs bot 6.7.8 or later; an older bot still starts the process for every email.
3. Filters: start only for some items
Click Filter to add a row: a field, an operator and a value. For example, only .pdf files, or only emails from one sender.
- A field is written in braces, such as
{sender}or{subject}for an email, or{extension}for a file. See Email fields for every field. - Spell the field exactly, with the same capitals. A field that does not exist makes the row fail.
- A filter can read the clock, such as
{now::time}, but not process variables or Assets: it runs before the process starts.
With more than one row, Start only when sets how the rows combine:
- All of these – every row must be true (the default).
- Any of these – at least one row is true.
- None of these – no row is true.
- Exactly one of these – one row is true and the rest are false.
Anything but All of these needs bot 6.6.8 or later. While one of your bots is older, the trigger cannot be saved with another setting, and the form names the bots to update.
4. Priority
When several triggers are ready at once, the bot starts the one with the highest Priority first: Critical, High, Medium, Low, then No priority.
5. SLA and at-risk window
After you save a trigger, you can open it again and set:
- SLA (minutes) – for email, folder and queue triggers, how long an item may wait before it is late.
- At-risk window (minutes) – how long before the SLA an item counts as at risk.
Enter 0 to turn either off. Admins see how every trigger is doing on the Service levels page: what is waiting, how long the oldest has waited, and how much work was done in time.
6. Pause a trigger
Choose Pause on the trigger's menu, or on its row in the bot page's Triggers tab. You choose when it switches back on: in 30 minutes, 1 hour, 4 hours, at 07:00, at a time you pick, or never. No end time needs a reason, which the next person sees. Your company can limit this in Settings › Automation › Pausing.
To stop all of one bot's triggers, use Pause triggers on the bot's page.
7. Unattended (armed) mode
A bot only watches its triggers when it is armed. Press Play on the bot with no process selected, or choose Arm / Start unattended on the bot's page. It stays armed across runs until you press Stop. Pressing Play on one process runs that process straight away instead, ahead of the triggers.
8. Webhooks
A webhook is a secret web address. When another system, such as a web shop or a form tool, sends a POST to it, Automize starts a run. The top-level fields of the JSON body become the run's inputs.
- On a pool – on the pool's page, add a Webhook, choose the process and a name. Each call queues a run on the pool, which picks a free machine.
- On a Cloud process – a Cloud process can have webhook triggers, made through the API. The run happens on Automize's servers. This needs the Cloud feature on your plan.
Copy the address straight away. It is shown only once. If you lose it, revoke the webhook and make a new one. A revoked address stops working at once.
The run is made as the person who created the webhook, with their access and plan. Calls are rate-limited.
Signed webhooks
For extra safety, a webhook can require a signature, set up through the API. You get a signing secret, shown once. Each call must then send an X-Automize-Signature header of the form t=<unix time>,v1=<HMAC-SHA256 of "<unix time>.<raw body>">. Calls with a missing or wrong signature, a time more than 5 minutes off, or a signature already used are refused. You can rotate the secret (the old one stops working) or switch signing off.