Start with one Agent step
- Create a Workflow, name it and choose the Initial Workflow Agent.
- Set the node key and Agent in the designer. Keys must be unique within the Workflow.
- Save and validate the draft. Resolve missing targets, unknown references and cycles.
- Publish a version. Select it in the execution form, choose a new or existing Issue and supply JSON input.
- Inspect the execution graph, node output and Issue result before adding more steps.
Node types
For “draft → human approval → publication preparation,” connect agent, approval and agent nodes. Approval permits the next step; the Agent still needs actual tools and authorization for external operations.
Map data and validate
Input mapping associates input names with CEL expressions such asrun.input.request. Expressions can reference run input, variables, Issue, trigger and predecessor status, output and artifacts. Inspect real node output before mapping downstream fields.
CEL is a restricted expression language, not an arbitrary script runner. Workflows must be acyclic, and subruns pin a revision. Graphical and JSON editors modify the same definition; both require server-side validation before publication.
Control execution
Pause prevents new node dispatch while running steps can still return results. Resume restarts dispatch. Cancel requests cancellation of nodes, tasks and subruns without accepting or deleting the Issue. Rerun after a terminal state creates a new Run with lineage. Choosefail_fast, continue or partial_success according to whether partial output meets the business goal. Do not expect automatic compensation of external side effects.