Scheduled Triggers

Run automations automatically on a recurring schedule

Schedules are now managed as event sources — just like mailboxes and webhooks. Each schedule is a reusable source that emits schedule.due events on a recurring basis, which can trigger one or more automations.

Creating a Schedule

  1. Open the Automation EditorTrigger tab → click Add
  2. Select Schedule from the list of source types
  3. Provide a name (e.g., "Daily morning sync") and configure the schedule

Alternatively, go to Event Sources and click Add Event SourceSchedule.

Schedule Configuration

Setting Description
Validity Period Define when the schedule becomes active (Valid From) and optionally when it ends (Valid Until)
Recurrence Set how often the schedule repeats: every N days or every N months
Day Range Specify which days within the period the automation should run (e.g., days 1-5 of each month)
Time Window Define the start and end time for the execution window
Execution Frequency How often to run within the time window (15 min to 4 hours)

Day Range with Negative Values

The day range supports negative values for end-relative calculations:

This is useful for schedules like "run on the last 3 days of every month."

Execution Frequency

Within a time window, you can control how frequently the automation runs:

Interval Description
15 minutes Runs every 15 minutes within the window
30 minutes Runs twice per hour
1 hour Runs once per hour (default)
2 hours Runs every 2 hours
3 hours Runs every 3 hours
4 hours Runs every 4 hours

If the time window start and end are the same, the automation runs once at that time and the execution frequency is ignored.

Overnight Windows

Time windows can span midnight. If time_start > time_end, the system interprets this as "start at this time and continue until the end time the next day."

Example Schedules

Run every day at 9:00 AM (single execution)

Valid From: 2024-01-01
Period: Every 1 day
Day Range: Day 1
Time Window: 09:00 - 09:00

Run every 30 minutes from 8 AM to 6 PM

Valid From: 2024-01-01
Period: Every 1 day
Day Range: Day 1
Time Window: 08:00 - 18:00
Execution Frequency: 30 minutes

Run on the last 3 days of every month, hourly from 6 AM to 10 PM

Valid From: 2024-01-01
Period: Every 1 month
Day Range: Day -3 to Day -1
Time Window: 06:00 - 22:00
Execution Frequency: 1 hour

Reusing Schedules

Because schedules are event sources, multiple automations can share the same schedule. Simply select the existing schedule event source in the Trigger tab of each automation.

Instance Context

Automations can be configured with a specific ERP.net instance connection and enterprise company context. This allows the automation to:

The instance token is refreshed automatically when the automation runs, ensuring valid authentication for ERP.net API calls.