Trigger
Discover the trigger providers that can start a workflow — webhook, cron, and poll.
Triggers are what start a workflow. There are three kinds:
-
webhook, a manual run from the dashboard or an HTTP POST whose body becomes the workflow's input. Built in.
-
cron, a recurring schedule in cron syntax with an optional timezone. Built in; the run's input is an empty object.
-
poll, a periodic check on an external source (Gmail, Reddit, RSS, Sheets, Stripe, and many more). Each provider has its own id and cadence, and most need a credential.
-
geni trigger listlists and searches trigger providers.
Declare a trigger in workflow.json. Poll trigger ids read as <service>-<event> (gmail-new-email); webhook and cron use the ids webhook and cron, which the table renders in parentheses because they are built in rather than chosen from a catalog.
After declaring a poll trigger, wire its credential and input values with geni resource config set, then preview the exact payload shape your code will receive with geni workflow trigger-sample.