Model flow steps
Nodes are the building blocks of flows. They are used to represent the different steps in a flow.
With flow nodes you can reference your services, events, commands and queries, channels, external services, users (actors), data stores, data products, or create your own custom nodes.
Common step properties
Every flow step (regardless of node type) supports these properties:
| Property | Type | Required | Description |
|---|---|---|---|
id | string | number | Yes | Unique identifier for the step |
title | string | No | The label displayed on the node in the flow diagram. Defaults to the name of the resource the step references, the actor's, external system's or custom node's name, or the step's id (optional since 5.0.0) |
summary | string | No | A short description shown in the node sidebar |
type | string | No | Accepted but ignored. The node type comes from the node type property the step uses (see Flow node types) |
next_step | Step reference | No | The next step in the flow (cannot be used with next_steps) |
next_steps | Step reference[] | No | Multiple next steps for branching (cannot be used with next_step) |
x-* | any | No | Your own metadata. Custom step properties must start with x- |
Type exclusivity rule
Each step can only use one node type property. You cannot combine message, service, agent, channel, flow, container, dataProduct, actor, custom, or externalSystem on the same step. From 5.0.0, a step that uses two node types fails the build (see Mistakes in flow steps).