Flows
A flow is a YAML document that describes a job: its inputs, the tasks to run and what starts it. The Flows page lists every flow in the workspace, and each flow has its own page with an editor, a version history, its executions and its triggers.

Find a flow
Go to Workflows → Flows. Flows are grouped in a tree by namespace: docs.demo appears as docs and then demo, with the flow count in brackets. A count includes the namespaces below: on the demo stack demo (23) holds the 21 flows of docs.demo and the 2 of docs.demo.sales.
| Control | What it does |
|---|---|
| Search flows | Matches the flow id or the namespace. |
| Namespace | Shows one namespace, or All. |
| State | Active, Disabled, or All. |
| Summary line | Counts the flows that match, split into active and disabled. |
| Trash | Switches to the flows in the trash (see Delete, restore and trash). |
A table row shows the flow's State, its latest Version (Draft while no version exists), when it was last Updated and who it was Created by. Press a flow's name to open it.
Create a flow
- Go to Workflows → Flows and press New flow.
- The editor opens with a starter flow. Replace it with your own YAML.
- Press Save (or Ctrl/Cmd+S).

id: hello
namespace: company.team
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: Hello from egret
The flow's namespace and id come from the namespace: and id: keys in the text. There is no separate name field. If a flow with the same namespace and id already exists in the workspace, Save is refused and your text stays in the editor. A flow in the trash still holds its namespace and id: the refusal says a flow in the trash still holds … in this workspace; restore it, or delete it permanently to free the name.
You can save a flow that has problems. The editor reports them in the Problems tab (see The flow editor), and Run and Create version stay disabled until they are fixed.
A flow's page
Open a flow to see five tabs and a set of actions.

The header shows the flow id, a state chip (Active, or Disabled when the flow or its YAML says disabled: true), its latest version (with a Changes since v1 badge when the saved draft differs from it) and its namespace. A flow with no version yet reads Draft, no version yet; it is still Active, because the chip says whether the flow runs and a draft runs. The info button beside the version (What is a version?) says: A version is a numbered snapshot of the saved draft, to compare and restore. Runs, schedules and webhooks always use the saved draft, whether or not it has a version. The actions are:
| Action | What it does | Needs |
|---|---|---|
| Save | Stores the editor text as the flow's draft. Disabled while there is nothing new to save. | workflow:manage |
| Create version | Opens a dialog with an optional Note and freezes the saved draft as the next version. Disabled until the draft is saved and has no errors. | workflow:manage |
| Run | Starts an execution of the saved draft. Disabled while there are unsaved changes, while the flow has errors, and when the flow is disabled. | workflow:manage |
| Delete | Moves the flow to the trash after a confirmation. Executions already started are not stopped. | workflow:manage |
Next to a disabled action the page prints the reason, for example Run: Save first: Run uses the saved draft. A person who only has workflow:read sees the editor read-only, with no actions.
| Tab | What it shows |
|---|---|
| Edit | The multi-panel editor. See The flow editor. |
| Revisions | The versions of this flow. See below. |
| Executions | The runs of this flow only, with the same filters as the Executions page. |
| Triggers | This flow's triggers and their switches. See Triggers. |
| Metrics | The metrics this flow's runs recorded, charted over time. See Metrics. |

Run a flow
- Open the flow and make sure it is saved.
- Press Run.
- If the flow declares
inputs:, a form opens: a small dialog for up to three single-value inputs, a side drawer for more. Without inputs, a confirmation opens instead. - Fill in the form and press Run.

The form says Starts an execution of the saved draft. Each control matches the input's type, starts from the input's prefill: or defaults: value, and is labelled with its displayName: (or its id). The form refuses a missing required value or a value of the wrong shape (for example Enter a whole number.) before it sends anything. The page then opens the new execution.
The form cannot enter ION, FORM or REUSABLE_INPUTS inputs. If the flow declares one, the form lists it and the flow cannot be run from the page. See Inputs and outputs for every input type.
Run always uses the saved draft, not the last version. The same is true for the schedule and webhook triggers: a flow does not need a version to run or to fire.
Versions and revisions
A version is a snapshot of the saved draft that you create on purpose. Versions are for comparing and restoring; they do not change what Run or a trigger uses.
- Save the draft.
- Press Create version.
- Optionally type a Note, such as What changed in this version, and confirm. A toast says Created v2.
The Revisions tab lists versions with their Version number, Author and Created time. The newest has a Latest badge, and a version that equals the current draft has a Matches draft badge. Select a version and use Compare with (Nothing, Current draft or another version) to see a side-by-side diff. The selected version and the comparison are kept in the address (?v=1&compare=draft). Restore to draft copies the selected version's text into the editor's draft after a confirmation; unsaved edits in the editor are discarded.

A flow that has never had a version shows No versions yet.
Disable a flow
Add disabled: true at the top level of the YAML and save. A disabled flow shows the Disabled chip, cannot be run or replayed, and its triggers do not fire. Remove the line to enable it again.
Delete, restore and trash
Delete on a flow's page moves the flow to the trash. The confirmation says: The flow moves to the trash (Flows, then Trash), where it can be restored or deleted permanently. Until then it cannot be run or scheduled, and its namespace and id stay taken. Executions already started are not stopped.
Press Trash on the Flows page to see the trash (the address gets ?view=trash). It lists each trashed flow with its Flow name, Version (Draft when it never had one) and when it was Deleted, newest first, with two actions:
| Action | What it does |
|---|---|
| Restore | Puts the flow back in the flow list with its draft, state and versions. Its schedules are recreated and start at their next tick after now; ticks missed while it was in the trash are not run. A toast says Restored namespace.id to the flow list. |
| Delete permanently | Asks you to type delete, then deletes the flow, its versions and its trigger state. Its namespace and id are free again for a new flow. Its executions are kept. This cannot be undone. |
Both need workflow:manage and are written to the audit log (workflow_flow:restore, workflow_flow:purge). Only a flow already in the trash can be deleted permanently. Press Trash again to go back to the flow list.
The executions of a permanently deleted flow stay in the Executions list, but they can no longer be replayed: their Replay button is disabled and says why.
Limits and known issues
- The
concurrency:,checks:,sla:andquotas:keys are accepted but not enforced yet, and flow-levelfinally:andafterExecution:are accepted but do not run. See the YAML reference. - Two people editing the same flow: if the draft changed on the server since you opened it, Save shows a dialog and asks you to reload before saving.