Skip to main content

Node Overview

Underlying models:

Workflow top-level structure

Fields in workflow JSON:

  • id: workflow ID
  • apiKey: key for external execution (for example chat, suggestion, order_approval_v1)
  • name / description: name and description
  • version: version number
  • nodes: node array, each element is a Node of a specific type
  • edges: edge array
  • metadata: custom metadata

Key fields of Edge:

  • sourceNodeID / targetNodeID: source/target node IDs
  • sourcePortID / targetPortID: port IDs (for conditions/multiple branches)
  • weight / condition / label: optional, for priority and display

Node types