| Trigger | Fires when |
|---|---|
| Webhook | A POST arrives at the workflow's generated URL. The body is available as {{trigger.body}}. |
| Schedule | An interval, daily, weekly or cron schedule becomes due. Calendar times use the configured timezone; check the upcoming-runs preview before publishing. |
| Manual | Someone presses Test run, or the API is called directly. |
A webhook URL carries a secret token. Rotating it issues a new URL and immediately invalidates every previously shared one.
bash
curl -X POST \
"$NUDGE_API/api/v1/hooks/$WORKFLOW_ID/$TOKEN" \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]","plan":"pro"}'