Category for organizing automations
URL-safe identifier (also the default webhook slug + handler folder name).
Optional. A Mailer template sent when the handler throws (Production). The mailer object owns the recipients, subject, and body. Leave empty for none.
Standard 5-field cron in the site timezone, e.g. 0 1 * * * (daily at 1am).
0 1 * * *
Endpoint is POST /automations/{id}. Same origin allows browser form posts from this site only — handy for a public form, but it can be spoofed by non-browser clients, so it is not a substitute for a key.
POST /automations/{id}
Same origin
Run inline and return the result instead of queueing.
The T3 event that fires this automation.
Only fire for this collection. Leave blank for all collections.
One or more of: schedule (cron), webhook (HTTP), event (T3 events).
PHP returning a closure: return function (AutomationContext $ctx) { ... };
return function (AutomationContext $ctx) { ... };