Skip to main content

Workflow

Defines a complete workflow with nodes, edges, inputs, and outputs.

Fields


Edge

Connects a source node to destination(s) with conditional routing.

Fields


EdgeCase

Defines one conditional routing path from an edge.

Fields


Syntax Sugar (YAML-only)

These fields are not part of the proto schema — they are YAML convenience features that desugar to standard nodes, edges, and entry at parse time.

sequence:

Top-level workflow field. Replaces entry: + nodes: + sequential edges: for linear chains. Cannot coexist with entry:.

type: parallel (node type)

A node with type: parallel and branches: expands into branch nodes + a join node + fan-out/fan-in edges. The parallel node’s id becomes the join node’s id. See workflow documentation for full examples and usage patterns.