Learn n8n Interactively, Lesson 1: Data Flow, Execution & Debugging
Learn n8n: Interactive Lesson 1
This interactive tutorial teaches you how to build in n8n from scratch, using a live walkthrough with real-time examples. Rather than static documentation, this guided workflow explains key n8n concepts while you execute each step. It is ideal for developers new to n8n but experienced with programming, JSON, and APIs.
Requirements An active n8n instance (cloud or self-hosted) Basic programming experience (JavaScript or TypeScript, JSON, and APIs) Web browser with console access (for log inspection)
What This Workflow Covers
Triggers, Form nodes, and data flow How n8n executes nodes one step at a time How data moves between nodes (variables, context, side effects) Merge, Split, Aggregate, and Loop patterns Code nodes in single vs multiple execution modes Debugging using Logs and console output
Step-by-Step Setup
Manual Setup
Before starting, create your n8n account and optionally enable dark mode. A video link is included with suggested background material.
Form-Based Progression
The tutorial uses Form Trigger and Form nodes as interactive checkpoints. You will execute the workflow, follow the browser prompts, and observe what happens in the visual editor.
Live Code and Flow Examples
Key concepts like branching, merging, and data references are shown in action. Sticky notes in the workflow explain what to look for and how things work.
Execution Behavior
You will see how multiple items affect execution count, and how to control it using options like Execute Once, batching, and aggregation.
Debugging with Logs
Toward the end, the workflow encourages you to inspect inputs and outputs of each node, and use console.log() inside Code nodes to understand the data being passed around.
How to Use This Workflow
This workflow is meant to be a long-term reference. If you get stuck building in n8n, return to it.
Each section focuses on a core concept such as how data flows, how execution counts behave, or how to merge parallel branches. You can copy and paste working examples from this tutorial directly into your own workflows to solve common problems.
This is not just a lesson. It's a toolbox.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments