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”).
1. Canvas and Steps
Section titled “1. Canvas and Steps”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:
| Category | Step | Description |
|---|---|---|
| Scripts | rawscript inline script | Write code directly; supports 7 languages: Python 3, TypeScript, Bash, Node, Bun, Deno, PowerShell |
script referenced script | Calls a script saved in “Scripts”, easy to reuse across flows | |
| Containers | forloopflow / whileloopflow | Loop over a list / loop on a condition |
branchone / branchall | Single-path conditional branch / multi-path parallel branches | |
flow / flowscript | Call another flow (subflow) | |
| AI | aiagent | Let an AI Agent perform one step of reasoning with tools |
mcp | Call tools of an MCP server | |
image | Built-in image generation | |
| Desktop | browser | Browser automation commands (CDP) |
automation | Desktop keyboard/mouse automation | |
clipboard / screenshot | Read/write clipboard / take screenshots | |
| Data | httprequest | Send HTTP requests |
writefile / appendcsv / sqliteupsert | Write files / append CSV rows / write SQLite | |
fsread / fsmove / fslist / zip | Read files / move / list directories / compress | |
datetime / notify | Get time / send outbound notifications | |
| Control | sleep / breakloop / continueloop | Wait / break out of loop / next loop iteration |
| Approvals | suspend | Suspend the flow until someone approves it on the Approvals page (see Approvals and Notifications) |
2. Step Settings
Section titled “2. Step Settings”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
3. Organizing the Canvas
Section titled “3. Organizing the Canvas”- 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
4. Test, Check, and Deploy
Section titled “4. Test, Check, and Deploy”- 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.
- Pre-edit checks (lint): the editor checks flow errors in real time (broken wires, missing parameters, invalid expressions, etc.), and checks again before publishing.
- Save and deploy: after deploying, the flow enters its official version, and triggers run against that version.
- 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.
How to Verify Success
Section titled “How to Verify Success”- 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
