Distribute workflow execution with round-robin logic using data tables
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 9 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Calculate the next route to use (Data table): get
- Merge: merges the data from its input branches
- Code: runs custom JavaScript code
- Round Robin Router (Switch): routes items into 3 branches
- Update last_used in the datatable (Data table): update
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - No Operation, do nothing
n8n-nodes-base.noOp - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - Merge
n8n-nodes-base.merge
From the author
Key Features Implements a simple round-robin distribution mechanism using a Data Table to track the last route used. Supports multiple downstream workflows or resources, balancing workload across them sequentially. Uses Switch and Code nodes for flexible…