Now that you have n8n installed and have created your first basic workflow, it's time to dive deeper into the fundamental building blocks: nodes and data flow. Understanding how nodes work and how data moves through workflows is essential to becoming proficient with n8n.
Node: A self-contained unit in an n8n workflow that performs a single, specific action. Nodes are connected together to create automated processes.
Think of nodes as LEGO blocks. Each piece has a specific purpose, and by connecting them in different ways, you can build incredibly complex structures.
Trigger nodes are the starting point of workflows. They listen for specific events and initiate the workflow when those events occur.
Action nodes do the actual work. They perform operations like sending emails, updating databases, creating files, or calling APIs.
| Category | Examples | Common Uses |
|---|---|---|
| Communication | Gmail, Slack, Twilio | Send messages, notifications |
| Data Storage | Google Sheets, Airtable | Store, retrieve records |
| CRM/Marketing | HubSpot, Mailchimp | Manage contacts, campaigns |
| E-commerce | Shopify, Stripe | Process orders, payments |
Logic nodes add intelligence by manipulating data, making decisions, and controlling execution flow.
When a workflow executes:
All data in n8n is represented in JSON format.
{
"name": "John Smith",
"email": "[email protected]",
"age": 35,
"isActive": true
}
To access data from previous nodes, use expressions wrapped in double curly braces.
| Expression | What It Accesses |
|---|---|
| {{ $json.name }} | Direct property from JSON |
| {{ $json.address.city }} | Nested property |
| {{ $json.tags[0] }} | First item in array |
| {{ $now }} | Current date/time |
An item is a single unit of data. Many nodes can output multiple items at once.
Each node automatically processes all items it receives.
Project: Automated Customer Welcome System
When a customer signs up, automatically add them to CRM, send welcome email, and notify team on Slack.
Trigger → Get Basic Data → HTTP Request (lookup) → Merge → Store Complete Data
Trigger → IF Node → Branch A (VIP) / Branch B (Standard)
Trigger → Get Dataset → Split In Batches → Process Each Batch
Solution: Check previous node's output. Verify expressions access correct data path.
Solution: Use expression editor's autocomplete. Check exact property names.
Solution: Increase timeout in node options. Check API endpoint status.
Build a workflow that converts temperatures from Celsius to Fahrenheit.
Collect data from multiple sources and combine it.
In Chapter 4, we'll dive deeper into expressions and data manipulation. You'll learn advanced techniques for transforming data, working with dates, string operations, and complex data structures.
n8n Textbook | Chapter 3: Understanding Nodes and Data Flow
© 2025 IOLEBA | Dr. Marcus Lee
Originally Published: November 2025