Skip to content
LogoLogo

Triggers and schedules

StartStepShown in traces as
By handTriggerManual
On a timetableScheduleSchedule
From another workflowTrigger, called by an Execute Workflow stepChild of workflow

Trigger: run by hand

The Trigger step defines what a person (or a parent workflow) must supply to start a run.

  1. Add a Trigger step. A workflow has at most one.
  2. Add inputs. Each has a name (letters, digits, underscores), a label, a type, whether it is required, and an optional default.
Input typeShown as
text / long textA text box
numberA number field
yes/noA switch
dateA date picker
selectA dropdown of your options
JSONA code box

When someone clicks Run workflow, they fill in a form built from these inputs. The values are checked against the types before the run starts, and arrive on the first item as {{ $json.<name> }}.

With no inputs defined, a Trigger accepts any JSON object.

Schedule: run on a timetable

FrequencyYou setExample
Every few minutesEvery 1 to 30 minutesEvery 5 minutes
HourlyMinute past the hourAt :15
Daily (default)Time (24-hour)09:00
WeeklyDays of the week and timeMon, Wed, Fri at 09:00
MonthlyDay of the month and timeThe 1st at 07:30

Every schedule also has a name, a timezone (default UTC; daylight saving is handled), an enabled switch, and an optional input object handed to the first step.

A workflow can have several Schedule steps, for example one for weekdays and one for month end.

Schedule step editor set to Weekly, Mon–Fri at 08 Europe/London

How schedules behave

SituationWhat happens
NormalThe run starts within about a minute of the scheduled time.
The previous run is still goingThat slot is skipped. Runs never pile up.
Studio was down over several slotsOnly the most recent missed slot runs on recovery.
A run failedIt is not repeated. The next slot runs as normal.
Months shorter than the chosen day (e.g. the 31st)Those months are skipped.

Whose access a scheduled run uses

Calling one workflow from another

Add an Execute Workflow step and pick a published workflow. It runs once per item, starting at the child's Trigger, and the parent waits for it.

  • You need Editor on the child workflow.
  • Up to 5 levels of nesting; a workflow cannot end up calling itself.
  • A failed child fails the step in the parent.
  • To stop a child run, cancel the parent run that started it.

Coming soon