Operate independent trigger entries
Configure entry transport, per-node pause and workflow masters without confusing readiness with provider delivery.
A trigger type is a reusable library definition. A trigger instance is a root node on a workflow canvas with its own transport and enabled state. Several independently selected entries can share one canvas without wires between their roots.
Entry and master settings#
node.trigger.kind is manual, webhook, schedule, poll or websocket. The workflow's enabled flag is the master for automatic entries. Both master and selected entry must permit an automatic start. Older graphs without explicit node settings use the legacy workflow trigger fallback.
Keep the master disabled while building. Save configuration changes normally. Pause/Resume on an existing saved trigger is an immediate revision-guarded operational update that preserves unrelated local draft edits. Pausing blocks new starts and does not cancel accepted work.
Manual Run can execute while the automation master is off, provided the selected trigger itself is enabled. On a multi-root canvas, choose the exact trigger before running. ONF does not silently execute every root when the target is ambiguous.
What a branch run includes#
A targeted run executes the selected trigger, its descendants and non-trigger prerequisite ancestors supplying them. Sibling triggers and unrelated nodes are skipped in the captured full graph. A shared downstream node still needs its wired data values; a selected control route cannot manufacture missing data from another trigger branch.
Automatic overlap is per workflow/trigger pair. Schedule/poll ticks skip while that entry has queued, running, paused or waiting work. Missed ticks are not backfilled. Webhooks reject a busy queued/running entry, while retained paused/waiting webhook runs can coexist with a later delivery. Managed WebSockets use their bounded queue/backpressure policy.
Intervals range from 5 to 31,536,000 seconds. Cron overrides an interval schedule and uses the host timezone. The host must remain available; a due timestamp is not a real-time guarantee.
Webhook admission#
The targeted endpoint is POST /api/hooks/{workflowId}/{triggerNodeId} with a JSON object and the protected X-ONF-Webhook-Key header. All entries in a workflow share its existing workflow key. Never put a real key in documentation or agent prompts.
HTTP 202 means accepted, not completed. A paused, mismatched or busy entry returns a conflict; an ambiguous target is invalid. Inspect the retained run to determine execution outcome. Provider subscriptions and receiver setup remain separate from ONF entry availability.
Read operational health#
The Triggers page lists saved instances across workspaces with filters, current entry state, latest attributed run and retained 24-hour metrics. Schedules and polling groups start collapsed. Opening a row selects the exact canvas node.
Ready means ONF can accept that entry, not that a provider account is connected. Error reflects observed failures or listener error; it is not a fresh external probe. Running can coexist with an operational pause because work was accepted earlier. Stale observations are labelled and actions remain disabled until refresh succeeds.
Use debug live follow to observe accepted events or explicitly arm Pause next event for one real event. Do not test connectivity by sending an unintended provider mutation.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
docs/TRIGGERS.mddocs/WORKFLOWS.mddocs/WEBSOCKETS.md