Triggers

Start workflows with webhooks, schedules, and polling triggers.

A trigger node starts a workflow. A workflow has one trigger node. Add it with Add node.

The trigger nodes are Webhook, Schedule, Manual, HTTP Poll, and Error Trigger. Node packages can add more.

Webhook

The Webhook node starts a workflow on an HTTP request. For full detail, see Webhooks.

Test and production URLs

The node shows two URLs with the same last part. This part is the Path of the node. Without a path, zerodot makes a token.

URL Form When it works
Test /hooks-test/<path> Before you publish. Use Listen for test event.
Production /hooks/<path> After you publish and turn on Active.

To test:

  1. Click Listen for test event.
  2. Send one request to the test URL.

The test URL checks the method only. It does not apply authentication or the other options. Two triggers cannot use the same path.

Settings

  • HTTP Method: GET, POST (default), PUT, PATCH, DELETE, or HEAD. Another method gets 405.
  • Authentication: None, Basic Auth, Header Auth, or JWT Auth. Pick a credential of the matching type. See Use credentials. A bad or missing login gets 401 or 403.
  • Respond:
    • Immediately: answers 202 with the run id.
    • When Last Node Finishes: answers with the output of the last node. After 30 seconds, the answer is 202.
    • Using 'Respond to Webhook' Node: a Respond to Webhook node sets the answer.

Options

Click Add option to add one of these: Allowed Origins (CORS), IP(s) Allowlist, Ignore Bots, No Response Body, Only Run If, Raw Body, Response Code, Response Data, Response Headers, and Binary Property.

The IP allowlist reads X-Forwarded-For. It needs ZERODOT_TRUST_PROXY=true and a proxy that you control. Without this, it rejects every request.

Schedule

The Schedule node starts a workflow on a time. Set the schedule and, if you want, a Time zone. The default schedule is 0 * * * * (each hour).

The node uses the first time zone it finds in this order:

  1. The time zone of the node.
  2. The time zone of the workflow (Workflow settings).
  3. The time zone of the project.
  4. UTC.

The run input holds scheduledAt and timezone. To set the project time zone, see Settings.

Manual

The Manual node starts the workflow when you click Execute workflow.

Polling triggers

A polling trigger asks a service for news on a timer, while the workflow is active. Each new item starts one run.

  • The HTTP Poll node checks a JSON API. The default is every 300 seconds. The minimum is 15.
  • Node packages can add more polling triggers. See Install node packages.
  • The first poll after you activate the workflow starts no runs. It only records where the trigger is.
  • Poll trigger settings cannot be expressions.

For more detail, see Node packages.

Error Trigger

The Error Trigger node starts when a live run of another workflow fails. See Error workflow in Workflow editor.

Change this page on GitHub