Orchestrate a Workflow
Build a runnable, typed flow from the start node to the output node
The workflow editor uses a React Flow canvas. The node panel on the left adds nodes, the central canvas connects the flow, and the drawer on the right configures the selected node.
Creating and Saving Drafts
- Navigate to Apps > Create App > Workflow.
- In Workflow Settings, fill in the name, description, and visibility.
- Choose a start node: User Input suits forms; Trigger suits API or Webhook calls (Cron scheduling is not implemented yet).
- Drag nodes from the node panel onto the canvas, or click Add Node.
- Drag from a source handle to a target handle to create a connection. The start node cannot be deleted.
- Select Save. The editor records the last saved time and unsaved state.

Defining Variables
Start nodes use workflow-level variables. Variable types include text, paragraph, dropdown options, number, boolean, array, object, file, image, multi-file, and multi-image. Each variable can set required, default value, label, and description.
Use the editor selector when referencing variables; do not hand-write names that do not exist. The current definition format schema_version: 2 supports native object and array passing.
Configuring Nodes
Configure by task:
- LLM: select the model, prompt, temperature (default
0.7, range0-2),max_tokens, andtop_p. - Agent: call a published Agent and pass a message template.
- Knowledge Base Retrieval: select the knowledge base, query template, Top K (default
5, range1-100), and score threshold (default0.3). - Conditional Branch: configure the expression and true/false outputs.
- Code Execution: select Python/JavaScript; default timeout
30seconds, range1-300seconds. - HTTP Request: configure GET/POST/PUT/PATCH/DELETE; default timeout
30seconds, range1-300seconds. - Tools: select a tool and map parameters.
- Variable Assignment/Aggregation/Template: organize upstream values into structures used by downstream nodes.
Pre-publish Checks
Select Checklist and resolve issues such as unselected models, input variables without a source, nodes without inputs, undefined outputs, incomplete conditional branches, missing required tool parameters, and incomplete loop containers. Only debug run and publish after validation passes.
Exiting and Lost Changes
Before returning to the app list or closing the page, the editor shows a confirmation dialog when there are unsaved changes. Select Leave Without Saving to discard the current draft changes.
How is this guide?