04/11/2026
This workflow lists 5 nodes. The list doesn't show how they connect.
It's WarehouseManagementWorkflow, from the demo of our partner Knotic, the VS Code based IDE by Riccardo Tartaglia and Lorenzo Ravano. One PHP file. Let's read it together.
nodes() returns ReceiveShipmentNode, QualityCheckNode, AllocateBinNode, RecordInventoryNode and EscalateOverflowNode. Now you know what exists. The sequence comes from the events, because in Neuron every node declares what it accepts and what it returns:
ReceiveShipmentNode: StartEvent → ShipmentReceivedEvent
QualityCheckNode: ShipmentReceivedEvent → GoodsInspectedEvent
AllocateBinNode: GoodsInspectedEvent → BinAllocatedEvent, OverflowEvent
That third line is the fork. In the file it arrives at line 94. In the Neuron Workflows graph, built into Knotic, you see it without scrolling: two paths, one stop.
Click QualityCheckNode in the graph and the editor jumps to line 78. Line 80 is __invoke(ShipmentReceivedEvent $event, WorkflowState $state): GoodsInspectedEvent. The same two events you just read in the graph.
RecordInventoryNode and EscalateOverflowNode read the same way: each one declares what it accepts and returns. All of this is PHP classes and events. In Neuron everything is a workflow, agents included.
🔐 If you lead a team: whoever reviews a workflow they didn't write can check each arrow against its signature, one click away.
Neuron Workflows works with Neuron v4. Knotic has a free plan to get started, and it's compatible with the setup skills that ship with neuron-ai, so the one-prompt setup through your coding agent works there too.
Save this for the next time you open a workflow you didn't write. Landing in the first comment 👇