Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

Scheduled workflows

Run workflows automatically on a recurring schedule — every N minutes, hours, or days. Use for periodic tasks like cleanup, report generation, or inventory sync.

Setting up a scheduled workflow

  1. Create a new workflow
  2. Add a Scheduled run trigger node
  3. Configure the schedule interval and optional start time
  4. Build the rest of your workflow normally
  5. Activate the workflow

Schedule configuration

SettingDescription
IntervalMinutes, hours, or days between runs
Start atSpecific time of day (for daily schedules)
TimezoneWhich timezone to use (defaults to site timezone)

How scheduling works

Scheduled workflows fire on pfw_cron_tick (every 5 minutes). The plugin checks if enough time has passed since the last run and dispatches the workflow if the interval has elapsed.

  • Minimum interval: 5 minutes (cron granularity)
  • Last run timestamp stored in workflow post meta
  • If cron is unreliable, the heartbeat pixel helps fill the gap

Debugging

Check when a scheduled workflow last ran:

GET /pfw/v1/workflows/{id}
// Response includes `scheduled_last_run` in workflow meta