Pause / resume / re-time a flow schedule
workbench_flows_schedules_updateChanges one schedule: enabled: false pauses it (configuration kept), enabled: true resumes and recomputes the next fire time from now; interval / scheduleTime / scheduleTimezone / scheduleDayOfWeek change the cadence; label, delivery, and input can change too. Pass only what changes. Get the scheduleId from workbench_flows_schedules_list. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | New fixed input envelope — {"kind":"chat","messages":[…]} or {"kind":"form","values":{…}}. | |
| label | No | ||
| flowId | Yes | Flow the schedule belongs to. | |
| enabled | No | false pauses, true resumes. | |
| delivery | No | ||
| interval | No | New cadence: hourly, daily, or weekly. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response. Omit on the first call. | |
| recurrence | No | When it runs, like a calendar event repeats; use it for anything beyond a plain hourly/daily/weekly at one time (then omit interval). {"freq":"hourly"|"daily"|"weekly"|"monthly"|"yearly","every":N,"times":["HH:MM"],"weekdays":[0=Sun…6=Sat],"monthDays":[1…31,-1=last],"nthWeekdays":[{"nth":1…5|-1,"weekdays":[…]}],"months":[1…12],"minutes":[…],"hours":{"from","to"},"timezone":"<IANA>","starts","ends","skip":["YYYY-MM-DD"]}. Examples: weekdays at 8 → {"freq":"weekly","weekdays":[1,2,3,4,5],"times":["08:00"],"timezone":"America/Chicago"}; the last business day of the month → {"freq":"monthly","nthWeekdays":[{"nth":-1,"weekdays":[1,2,3,4,5]}],"timezone":"…"}; every other Friday → {"freq":"weekly","every":2,"weekdays":[5],"starts":"<a Friday>","timezone":"…"}. null clears it. | |
| scheduleId | Yes | Schedule id, from workbench_flows_schedules_list. | |
| scheduleTime | No | ||
| scheduleTimezone | No | ||
| scheduleDayOfWeek | No |