Skip to content
Docs

How-to: Schedule a flow

This guide explains how to run a flow on a repeating schedule using the Schedule / Schedule node.

  • A flow. Keep its Start node: every flow has one, and the schedule starts its runs through it.
  • Cron syntax knowledge, or use the examples below.
  1. Open the flow and click Add node.

  2. Pick Schedule from the Triggers shelf.

    The Add a node dialog with Schedule typed into its search, offering Schedule: Start the flow on a recurring schedule (cron) on the Triggers shelf
    The Add a node dialog with Schedule typed into its search, offering Schedule: Start the flow on a recurring schedule (cron) on the Triggers shelf
  3. Connect the Schedule’s outgoing handle to Start’s trigger handle. The rest of the flow continues from Start, as it does for a manual run. See Start and the shape of the graph.

A flow canvas where a Webhook node and a Schedule node both wire into Start's trigger handle, their trigger badges reading On and On · never
A flow canvas where a Webhook node and a Schedule node both wire into Start's trigger handle, their trigger badges reading On and On · never

The cronExpression field accepts a standard five-field cron expression:

┌───── minute (0–59)
│ ┌─── hour (0–23)
│ │ ┌─ day of month (1–31)
│ │ │ ┌ month (1–12)
│ │ │ │ ┌ day of week (0–7, 0 and 7 are Sunday)
* * * * *
Expression Runs
*/5 * * * * Every 5 minutes
0 * * * * Every hour, on the hour
0 6 * * * Daily at 06:00
0 6 * * 1-5 Weekdays at 06:00
0 0 1 * * First day of every month at midnight
30 8 * * 1 Every Monday at 08:30

Publicus validates the expression when you save. An invalid expression blocks saving.

The Cron expression field holding every weekday at nine, outlined in red with the error This is not a valid cron expression
The Cron expression field holding every weekday at nine, outlined in red with the error This is not a valid cron expression

A schedule runs at the local time you write, and follows daylight saving time, so 0 8 * * * stays at 08:00 in Amsterdam all year.

  1. Open Schedules and click Time zone, which shows the zone in use. It opens Workspace settings, which is also in the account menu.

    The Schedules page with a Time zone: UTC button in the header, a table of scheduled flows with their Active toggle, cron, version and last start and finish, and the Follow-ups agents promised table below
    The Schedules page with a Time zone: UTC button in the header, a table of scheduled flows with their Active toggle, cron, version and last start and finish, and the Follow-ups agents promised table below
  2. Pick your workspace’s zone under Time zone, for example Europe/Amsterdam, and save.

    Workspace settings for Acme Logistics: Workspace image, Name, a Hide from my workspace lists switch, and a Time zone select set to UTC whose help says Schedule nodes read their cron in it
    Workspace settings for Acme Logistics: Workspace image, Name, a Hide from my workspace lists switch, and a Time zone select set to UTC whose help says Schedule nodes read their cron in it

Every schedule in the workspace now runs in that zone. A workspace that has not picked one runs its schedules in UTC.

To run one flow in another zone, set the Schedule node’s timezone field. It wins over the workspace’s zone for that node only.

A new Schedule node is switched off, so you can build and test the flow before anything runs on its own.

When you are ready, click the trigger’s badge on the flow canvas and switch Active on. The badge then reads Live followed by the version the schedule runs. See Triggers for what each badge state means.

Trigger controls with the Active toggle switched on, the next scheduled run and when the trigger last fired
Trigger controls with the Active toggle switched on, the next scheduled run and when the trigger last fired

The switch takes effect at once, and publishing does not capture it — so you can turn a schedule off without republishing, and a rollback will not turn it back on.

withoutOverlapping: true (the default) tells the scheduler to skip a scheduled tick if a previous run of the same flow is still in progress. This avoids duplicate work and race conditions on shared storage.

Leave it enabled unless you explicitly need concurrent runs of the same flow — for example, if your flow is designed to be idempotent and fast enough to run safely in parallel.

Every scheduled run appears in Runs with the trigger type Schedule. Open a run to see when it started, which nodes fired, and any failures or retries.

The Runs list with Default, Failed, Running and Completed tabs, each run's flow, status, last node, trigger such as By hand, Webhook, Discord or Schedule, version and start time
The Runs list with Default, Failed, Running and Completed tabs, each run's flow, status, last node, trigger such as By hand, Webhook, Discord or Schedule, version and start time

The Schedules screen also lists the times an agent said it would come back (Follow Up Later) and the runs an agent is waiting for (Watch a Run), under Follow-ups agents promised. It opens on the waiting ones; the Status filter shows the rest.

Column Contents
Flow The flow the agent runs in.
When The time it comes back, in your workspace’s time zone, or When its run finishes for a watched run, linked to that run.
Note What the agent wrote down to do when it comes back.
Promised to Who it comes back to and where, such as a member in the app or on Slack. For a wait in a run that no conversation started, The run that waits for it, linked to that run.
Status Waiting, Came back, Cancelled, or Lapsed (the run that waited for it stopped first).
Promised When the agent made the promise. Hidden until you show the column.

Cancel on a waiting row takes the promise back. A follow-up promised in a conversation then never comes, and the conversation is not told. A run that waits for one stops waiting and carries on, told that the follow-up was cancelled.

  • If the flow never fires, click the trigger’s badge on the canvas and confirm Active is switched on. There is no active field in the node’s instructions; arming lives on the node itself, and the scheduler re-reads it every minute.
  • If runs overlap unexpectedly, confirm withoutOverlapping: true.
  • If a run failed, open the run, find the failing node, and read the error output. Fix the node, then use Run by hand at the top of the flow to re-test before the next scheduled tick.