Skip to main content

Workflow

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

Fields

FieldTypeRequiredDescription
namestringYes-
nodesNode[]NoUse list_node_types and get_node_type tools for node type details.
edgesEdge[]NoSee Edge type below.
descriptionstringNo-
inputsmap[string]InputNoUse list_input_types and get_input_type tools for input type details.
outputsmap[string]stringNoCEL expressions mapping output names to values. Use get_cel_reference for CEL syntax.
presetsPresetsConfigNo-
entrystring[]No-
api_versionstringNo-

Edge

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

Fields

FieldTypeRequiredDescription
fromstringYes-
casesEdgeCase[]No-
defaultstring[]No-

EdgeCase

Defines one conditional routing path from an edge.

Fields

FieldTypeRequiredDescription
tostring[]No-
conditionstringNo-
labelstringNo-