Templates / Distribute workflow execution with round-robin logic using data tables

Distribute workflow execution with round-robin logic using data tables

Ready for 3.0

by Adrian Kendall · 349 views · created 2025-10-22 · DevOps

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

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”.

  1. Calculate the next route to use (Data table): get
  2. Merge: merges the data from its input branches
  3. Code: runs custom JavaScript code
  4. Round Robin Router (Switch): routes items into 3 branches
  5. 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)

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…

Excerpt from Adrian Kendall's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.