Skip to content

Workflow designer

The Workflows list provides New Workflow, search, and trigger filtering; cards show a definition’s key/name, Draft or Active state, trigger, node count, and revision, with Edit and Delete controls. The editor opens a visual graph editor. A blank flow starts as a draft; activation is a separate state transition.

New Workflow drawer in English, with the workflow name, unique key, description, a Blank flow starting template and the other template options.

Blank flow starts with no trigger, model call, or action. Other presets add nodes that need review before use; submitting the form creates a draft.

Workflow editor in English, with the grouped node library on the left and a connected graph of trigger, transform, agent, condition and return nodes on the canvas.

The editor combines the node library, the graph canvas and the run controls. The screenshot records the editor layout, not an execution result.

A workflow graph is an array of nodes and edges. Each node has an ID, registered type, position, display data/configuration; an edge connects source and target node IDs and can carry source/target handles and kind. Version 2 and version 3 execution graphs declare entryNodes. Keep node IDs stable when references rely on them. Node labels are also referenceable in expressions, so the import flow rejects duplicate labels rather than renaming colliding nodes.

The canonical registered node types and their ports are in the node reference. logic_loop_boundary is an internal schema-v3 loop-body construct, not a palette item. The stored graph schema version and executionSemantics are separate: schema v3 does not alone mean synchronized execution semantics 3.

  1. Add a supported trigger and the required control/data nodes for the intended path.
  2. Connect the correct ports. Branch nodes use named handles; IF uses true/false, Switch uses stable case IDs and default, and the AI Agent receives tool-provider connections on its tools_in port.
  3. Configure fields according to each node’s reference page. Required config values are node-specific; installation-owned resources such as portals, model profiles, tools, tables, and knowledge sources must be available and authorized.
  4. Review every path for reads, writes, approval pauses, and error continuation. Do not assume a prediction recommendation changes a record.
  5. Validate/import only graphs matching the registered contract. Activation additionally runs preflight and knowledge-scope checks; a graph that saves successfully may still be blocked by external bindings, permissions, or policy.

Successful updates increment the revision and preserve revision history. An expectedRevision can reject stale edits. A V3 graph cannot be saved as an older or unversioned graph. The backend contract is authoritative for save and activation validation.

Export uses a wrapper containing workflowKey, name, description, triggerType, audience, executionPortalId, estimatedTimeSavedMinutes, graphJson, exportedAt, and version 1.0. Import accepts that wrapper’s graphJson or a top-level object with nodes and edges. Invalid node structures and duplicate labels are rejected as a whole; the editor does not silently rename labels that expressions may reference.

The node palette is not the full backend registry: loop boundary nodes are internal. Conversely, localized text or database literals do not make a type supported: trigger_sdp_event and data_structured_output are absent from the 1.1.1 canonical graph registry. Webhook form method options include POST/GET/PUT for legacy editor configuration, but versioned webhook binding routes are POST only; do not infer GET or PUT endpoint support.

Testing and debugging details, including test mocks and execution history, are in Testing and debugging.