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 take no triggerId.
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
(cron) cron Schedule
<gmail-trigger-id> poll gmail New email
<reddit-trigger-id> poll reddit New post in subredditCopy a poll trigger's id (shown in the first column) into the triggerId of a workflow.json trigger node. Webhook and cron are built in and take no id. Use --json for the exact values.
After picking a poll trigger, wire it with geni resource config set and sample its payload with geni workflow trigger-sample.