Templates / 🎓 Optimize Speed-Critical Workflows Using Parallel Processing (Fan-Out/Fan-In)

🎓 Optimize Speed-Critical Workflows Using Parallel Processing (Fan-Out/Fan-In)

Ready for 3.0

by Lucas Peyrin ✓ · 3,226 views · created 2025-07-22 · Engineering, Multimodal AI

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-10-19.

What this workflow does

This AI workflow has 18 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. The Project Brief (Edit Fields (Set)): sets 1 field: tasks
  2. Check Work Order Status (If): checks a condition and branches into true / false
  3. Split Out: splits a list into separate items
  4. The Dispatcher (Switch): routes items into 3 branches
  5. The Project Dashboard (Code) (Code): runs custom JavaScript code
  6. Assign Tasks to Teams (Execute Sub-workflow): calls another n8n workflow
  7. Description Team (AI Agent): runs an AI agent, with model: The AI Specialist
  8. Ad Copy Team (AI Agent): runs an AI agent, with model: The AI Specialist
  9. Email Team (AI Agent): runs an AI agent, with model: The AI Specialist
  10. Is Project Complete? (If): checks a condition and branches into true / false

…plus 5 more steps. See the full node list below.

Services it uses

Google Gemini Chat Model

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 (12)

From the author

How it works This template is a hands-on tutorial for one of the most advanced and powerful patterns in n8n: asynchronous parallel processing, also known as the Fan-Out/Fan-In model. When should you use this? Use this pattern when speed is your top priority…

Excerpt from Lucas Peyrin'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.