Skip to content

Flow Editor

After reading, you can: build a multi-step flow in the Flow Editor, verify it with a test run, and save and deploy it as an official version.

Entry: Sidebar → Flow Orchestration → Flow Library → click any flow (or you enter it automatically after “New Flow”).

The editor is a node canvas: each step is a node, executed in top-to-bottom wiring order. The top toolbar provides undo/redo, rename, import/export YAML, version history, and more.

Click “Add Step” on empty canvas space to insert a node from the step picker. Common step types:

CategoryStepDescription
Scriptsrawscript inline scriptWrite code directly; supports 7 languages: Python 3, TypeScript, Bash, Node, Bun, Deno, PowerShell
script referenced scriptCalls a script saved in “Scripts”, easy to reuse across flows
Containersforloopflow / whileloopflowLoop over a list / loop on a condition
branchone / branchallSingle-path conditional branch / multi-path parallel branches
flow / flowscriptCall another flow (subflow)
AIaiagentLet an AI Agent perform one step of reasoning with tools
mcpCall tools of an MCP server
imageBuilt-in image generation
DesktopbrowserBrowser automation commands (CDP)
automationDesktop keyboard/mouse automation
clipboard / screenshotRead/write clipboard / take screenshots
DatahttprequestSend HTTP requests
writefile / appendcsv / sqliteupsertWrite files / append CSV rows / write SQLite
fsread / fsmove / fslist / zipRead files / move / list directories / compress
datetime / notifyGet time / send outbound notifications
Controlsleep / breakloop / continueloopWait / break out of loop / next loop iteration
ApprovalssuspendSuspend the flow until someone approves it on the Approvals page (see Approvals and Notifications)

Click a node to open the step panel. Common settings:

  • Step input: how upstream results are passed into this step (supports expression references such as {{flow_input}} and references to earlier steps’ outputs)
  • Run settings: automatic retry count on failure, timeout, cache TTL, continue on error, skip if, concurrency limit
  • Failure handling: you can configure a fallback step (failure module) and input preprocessing (preprocessor) that run when the flow fails
  • Test a single step: run only the current step and verify its output with mock data
  • Groups: box multiple steps into a collapsible group node so the canvas stays tidy no matter how long it gets
  • Sticky notes: add draggable sticky notes to record what this part of the flow does
  • Snippets: save frequently used step combinations as snippets to reuse across flows; you can also “extract selected steps into a subflow”
  • One-click tidy: if the layout gets messy, click once to auto-align
  • Drill down: double-click a subflow/container to edit its internals; use breadcrumbs to go back up a level
  1. Test run: click “Test” to run the flow (optionally only up to a certain step), and view each step’s inputs, outputs, and logs in the result panel.
  2. Pre-edit checks (lint): the editor checks flow errors in real time (broken wires, missing parameters, invalid expressions, etc.), and checks again before publishing.
  3. Save and deploy: after deploying, the flow enters its official version, and triggers run against that version.
  4. Version history: open the version history drawer from the top bar to view a diff comparison between any two versions, view historical docs, and roll back to an old version with one click.
  • Build at least two steps on the canvas, wire them, and pass a test run
  • After deploying, the deployment record is visible in version history
  • Deliberately disconnect one step’s wire and lint flags the error