---
title: "Triggers and schedules"
description: "Start a workflow by hand or on a recurring schedule."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ragna.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Triggers and schedules

Every workflow starts at its trigger. The trigger decides how runs begin. A run starts by hand or on a schedule.

## Choose a trigger

A new workflow asks **How should this workflow start?** right after it is created. Picking a row sets the trigger and opens its panel. To change it later, click the trigger on the canvas and click **Change** in its panel.

| Trigger                 | Behavior                                                        |
| ----------------------- | --------------------------------------------------------------- |
| **When you click Run**  | The workflow runs when a user clicks **Run**. No configuration. |
| **On a schedule**       | The workflow runs by itself at the configured times.            |
| **When a mail arrives** | Not available yet. The row is marked **Soon**.                  |

## Set a schedule

1. Click the trigger on the canvas and choose **On a schedule**. A new schedule runs every day at 09:00 in the browser timezone.
2. Under **Repeats**, choose **Every hour**, **Every day**, **Weekdays (Mon to Fri)**, **Every week** or **Every month**.
3. Set the **Time**. For weekly schedules, also pick the days under **On**. For monthly schedules, set the **Day of the month** or **Last day**.
4. Check the **Timezone**. It defaults to the browser timezone.
5. Look at **Next runs**. It shows the next run times.
6. **Publish**. The draft saves on its own.

The panel title reads the schedule in words, for example "Every Monday at 09:00".

A schedule set up earlier with a rule these choices cannot show keeps running. The panel marks it **Custom (set up earlier)**. Picking one of the choices replaces it.

## When a schedule is active

Only the published version counts. A schedule starts when a workflow is published with a **Schedule** trigger. Editing the draft does not change it. If a version with a **Manual** trigger is published, or the workflow is deleted the workflow, the schedule stops.

To change a schedule, edit the trigger and publish again.

Runs started by a schedule are shown as **On schedule** in the run history. Runs started by hand are shown as **By hand**. A scheduled run has no input, so `{{input}}` is empty in the first node.

## Overlap protection

A schedule never stacks runs. If the previous run is still pending or running when the next time arrives, RAGNA Studio skips that time. It does not catch up on missed times later.

## Scheduled runs act as their author

A scheduled workflow runs as its author. If the author can no longer open the workspace, or their account is removed, the schedule pauses. The workflow shows **Schedule paused** in the workflow list, and in the editor's top bar where the status usually sits. The trigger panel explains it too. The schedule resumes when the author can run it again. Manual runs still work.

The list badge explains: "The author can no longer run this workflow." There is no fallback to another user. See [Workspaces](https://docs.ragna.io/workspaces) and [Members](https://docs.ragna.io/workspaces/members) for how access works.

## After a restart

If the background services restart, RAGNA Studio restores all schedules from the published workflows. Nothing needs to be published again.

## Failed scheduled runs

A scheduled run that fails a node is retried like any other run (see [Runs and traces](https://docs.ragna.io/workflows/runs)). If it still fails, the next scheduled time starts a fresh run. A run stuck for too long is failed automatically, which frees the schedule. See [Runs and traces](https://docs.ragna.io/workflows/runs).

Source: https://docs.ragna.io/workflows/triggers/index.mdx
