This workflow is designed for n8n beginners to understand how n8n handles looping (iteration) over multiple items. It highlights two key behaviors:
This workflow demonstrates the difference between processing an unsplit array of strings (single item) vs. a split array (multiple items).
To begin, paste the following JSON into the Manual Trigger node:
{
  "urls": [
    "https://www.reddit.com",
    "https://www.n8n.io/",
    "https://n8n.io/",
    "https://supabase.com/",
    "https://duckduckgo.com/"
  ]
}
📌 Steps to Paste Data:
| Node Name | Purpose | Documentation Link | 
|---|---|---|
| Manual Trigger | Starts the workflow manually and sends test data | Docs | 
| Split Out | Converts an array of strings into separate JSON objects | Docs | 
| Loop Over Items (Loop Over Items 1) | Demonstrates how an unsplit array is treated as one item | Docs | 
| Loop Over Items (Loop Over Items 2) | Iterates over each item separately | Docs | 
| Wait | Introduces a delay per iteration (set to 1 second) | Docs | 
| Code | Adds a constant parameter ( param1) to each item | Docs | 
| NoOp (Result Nodes) | Displays output for inspection | Docs | 
Unsplit Array Path → Loop Over Items 1
Split Array Path → Split Out → Loop Over Items 2
param1).| Node | Expected Output | 
|---|---|
| Result1 & Result5 | The entire array is processed as one item. | 
| Result2, Result3, Result4 | The array is split and processed as individual items. | 
| Wait Node | Adds a 1-second delay per item in Loop Over Items 2. | 
This workflow is useful for:
✅ API Data Processing: Loop through API responses containing arrays.
✅ Web Scraping: Process multiple URLs individually.
✅ Task Automation: Execute a sequence of actions per item.
✅ Workflow Optimization: Control execution order, delays, and dependencies.