Master fundamental n8n iteration logic using this comprehensive n8n workflow. Learn how to handle arrays, split data, and control loops using the Split Out and Loop Over Items n8n node to build robust n8n templates.
Download this n8n workflow template and start using it instantly.
Understanding how n8n handles multiple pieces of data—known as 'items'—is crucial for building reliable automations. This specialized n8n workflow provides a side-by-side comparison of three common iteration scenarios, ensuring that beginners grasp core concepts like built-in iteration vs. explicit looping. Many new users encounter issues when an array is treated as a single item instead of being processed individually. This educational n8n template demonstrates the difference between processing an unsplit array (Path A), using a Split Out n8n node to enable item-by-item processing (Path C), and how to disable iteration entirely (Path C3). By using this n8n workflow, you gain clarity on flow control and data preparation, which are essential skills for any serious n8n automation specialist.
This comprehensive n8n workflow starts with a Manual Trigger n8n trigger, configured to simulate input data (an array of five URLs).
To use this educational n8n workflow template, follow these steps:
{
"urls": [
"https://www.reddit.com",
"https://www.n8n.io/",
"https://n8n.io/",
"https://supabase.com/",
"https://duckduckgo.com/"
]
} Manual Trigger (Paste JSON into this node): The starting n8n trigger. Used to initiate the flow and provide the initial test data (an array of URLs) for the demonstration.
Split Out (Split Array of Strings into Array of Objects): This crucial n8n node takes the input array (urls) and splits it into individual JSON objects. This is necessary to enable item-by-item looping in the subsequent steps.
Loop over Items 1 & 2: An essential flow control n8n node. This node controls the execution of a set of downstream nodes and determines if execution loops or runs once. Loop 1 demonstrates processing an unsplit array (runs once); Loop 2 demonstrates processing a split array (runs once per item).
Code Nodes (Add param1 to outputX): Multiple Code n8n node instances are used to modify the incoming data by adding a parameter (param1). These are key for visualizing how many times the code executes based on the preceding iteration logic.
Wait (Wait one second): A simple n8n node used in Path C1 to introduce a 1-second delay per item, making the sequential nature of the loop execution visible to the user.
NoOp Nodes (Result1, Result2, etc.): These simple n8n node instances act as inspection points, allowing the user to view the final output data structure at different stages of the n8n workflow.
Use this n8n workflow to capture contact form submissions using the native Form Trigger, send instant email notifications to your support team, and handle custom success or error redirects for the user experience.

Schedule secure backup of your n8n workflow assets to Nextcloud using this dedicated n8n workflow template. Includes a 7-item retention policy for storage optimization.

Automate intelligent, witty replies on X (Twitter) using this advanced n8n workflow. It combines Apify scraping, MongoDB deduplication, and LLM (Grok-3) decision-making to generate high-engagement, human-like responses.

Deploy a powerful n8n workflow that turns the NPR Listening Service API into an AI agent toolset (MCP server). Access 9 endpoints for audio recommendations and history.









































