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, 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 | Yes | The label displayed on the node in the flow diagram |
summary | string | No | A short description shown in the node sidebar |
type | "node" | "message" | "user" | "actor" | No | Hint for how the node should be rendered |
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) |
Each step can only use one node type property. You cannot combine message, service, flow, container, dataProduct, actor, custom, or externalSystem on the same step.
Connecting steps
Use next_step or next_steps (not both) to connect steps together.
A step reference can be:
- A string or number matching another step's
id(e.g.next_step: "step-2") - An object with
idand an optionallabelfor the edge
# Simple reference
next_step: "step-2"
# Reference with edge label
next_step:
id: "step-2"
label: "on success"
# Multiple next steps (branching)
next_steps:
- id: "step-success"
label: "on success"
- id: "step-failure"
label: "on failure"
Flow node types
- default — A blank node type with just a title in your flow
- actor — Represents a person in your flow diagram
- externalSystem — Represents an external system in your flow diagram
- message — Represents an event, command or query resource in EventCatalog
- service — Represents a service resource in EventCatalog
- agent — Represents an agent resource in EventCatalog (added in EventCatalog 3.41.0)
- flow — Represents a flow in EventCatalog (added in EventCatalog 2.34.2)
- container — Represents a data store (container) resource in EventCatalog
- dataProduct — Represents a data product resource in EventCatalog
- custom — A custom node type with configurable title, summary, icon, properties and more
default node type
A blank node type with just a title in your flow. No additional properties are needed beyond the common step properties.
steps:
- id: "step-1"
title: "This value will be shown in the node on the flow diagram"
actor
Actor represents a person in your flow diagram.
Actor properties
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | The name of the actor |
summary | string | No | A short description of the actor (added in EventCatalog 2.55.6) |
steps:
- id: "step-1"
title: "Example Step of a Actor"
actor:
name: "Dave"
summary: "This is a summary of the actor"
externalSystem
Represents an external system in your flow diagram.