Skip to main content
A trigger tells Automation when something happened in the other system. Each item that a trigger returns starts one run of the flow.

Types

Create a trigger with createTrigger and set type to TriggerStrategy.POLLING or TriggerStrategy.WEBHOOK. Triggers of the type APP_WEBHOOK, which share one address for many users, are not supported.

Fields

When the hooks run

A failing onEnable is logged and the flow stays on. One poll starts at most 100 runs, and the rest is dropped and logged. A trigger runs in the sandbox, so a flow with a plug trigger needs the sandbox to be available. See Triggers.

The context

Last modified on October 26, 2026