Trigger
geni trigger list
List and search the trigger providers that can start a workflow.
geni trigger list [flags]Lists the available trigger providers across all three kinds (webhook, cron, poll). Poll providers show a copyable triggerId to put in a workflow.json trigger node; webhook and cron are built in and render as (webhook) and (cron) in the table.
Synopsis
geni trigger list
geni trigger list -q "email"
geni trigger list -q "reddit" --json| Flag | Notes |
|---|---|
-q, --query <text> | Filter by name, service, or description. |
--json | Machine-readable output. |
Output
TRIGGER ID TYPE SERVICE NAME
(webhook) webhook webhook Webhook
(cron) cron cron Scheduled (Cron)
gmail-new-email poll gmail New Email in Gmail
gmail-new-attachment poll gmail New Attachment in Gmail
reddit-new-post poll reddit New Post in SubredditPoll trigger ids read as <service>-<event>. Copy one into the triggerId of a workflow.json trigger node. With --json, each row also carries requiresCredential and the poll provider's cadenceSeconds.
After picking a poll trigger, wire its credential and inputs with geni resource config set and sample its payload with geni workflow trigger-sample.