Multi-supplier order splitting with sub-workflow architecture and consolidated logging

The Problem

A Shopify store sourcing from 3 different suppliers handled 30–50 daily orders manually. Every order required a staff member to read each line item, identify the supplier, compose a separate email, and log it — 2 hours of operational work every morning before the business day even started.

The Solution

Built on n8n's native Shopify Trigger node (order.created event), the workflow splits each order's line item array using Split in Batches, routes each item through a Switch node keyed on the vendor field, and dispatches to three independent supplier sub-workflows via Execute Workflow nodes. Each sub-workflow handles supplier-specific email formatting independently. A Merge node in "Wait for All" mode holds execution until every batch branch completes before writing the consolidated fulfillment log to Google Sheets.

Key Engineering

Result

→ 2 hours of daily manual email work eliminated. All 3 supplier paths tested and confirmed firing correctly per vendor. Fulfillment log auto-populated per order with zero manual input.

Tech Stack

n8n Shopify Trigger, Split in Batches, Switch Node, Execute Workflow, Merge Node, Gmail, Google Sheets

n8n P5 img1.png

n8n P5 img 2.png

n8n P5 img 3.png

n8n P5 img 4.png

n8n P5 img 5.png

n8n P5 img 6.png