n8n Tutorial: From Beginner to First Workflow in 30 Minutes
Step-by-step guide for n8n - from installation to your first working workflow.
Want to learn n8n but feeling overwhelmed? In this beginner-friendly guide, we'll take you step-by-step from installation to your first working workflow. No programming knowledge required.
What is n8n?
n8n (pronounced "n-eight-n") is an open-source platform for workflow automation. Think of it as a digital assembly line: data comes in, gets processed, and goes out transformed.
Why n8n?- Free to use (self-hosted)
- German company (Berlin)
- 400+ integrations
- Visual editor (no code required)
- Extendable with code when needed
Option 1: n8n Cloud (Fastest Start)
For beginners, we recommend n8n Cloud - no installation, start immediately.
Step 1: Create Account
Step 2: First Steps
After logging in, you'll see:
- Workflows - This is where your automations live
- Credentials - Access credentials for external services
- Executions - Log of all runs
Option 2: n8n Self-Hosted (For More Control)
Option A: Docker (Recommended)
Prerequisite: Docker installed (Docker Desktop)# Start n8n with Docker
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v n8n_data:/home/node/.n8n \
n8nio/n8n
Then open http://localhost:5678 in your browser.
Option B: npm (For Developers)
# Install n8n globally
npm install -g n8n
# Start n8n
n8n start
Option C: Cloud Server (Production)
For production use, we recommend a cloud server:
apt update && apt install docker.io docker-compose -y
Understanding the n8n Interface
The Workflow Editor
+------------------------------------------------------------+
| [Save] [Execute] [Activate] Workflow Name |
+------------------------------------------------------------+
| |
| +---------+ +---------+ +---------+ |
| | Trigger | ---> | Node | ---> | Node | |
+---------+ +---------+ +---------+ [+ Add Node]
+------------------------------------------------------------+
| Node Panel | Settings | Output | |
+------------------------------------------------------------+
Important Terms
| Term | Meaning | Example |
|---|---|---|
| Workflow | A complete automation | "Email -> Slack" |
| Node | A building block in the workflow | Slack node, HTTP node |
| Trigger | Starts the workflow | Schedule, webhook, email |
| Credentials | Access data | API key, OAuth |
| Execution | One run of the workflow | Success/failure |
Your First Workflow: Weather Notification
Let's build a workflow that sends you a daily weather update.
Step 1: Create New Workflow
Step 2: Add Trigger
- Trigger Times: 1
- Mode: Every Day
- Hour: 7
- Minute: 0
Step 3: Fetch Weather Data
- Method: GET
- URL: https://wttr.in/London?format=3
Step 4: Send Email
- For Gmail: OAuth2 or App Password
- For SMTP: Server, Port, User, Password
- To: your@email.com
- Subject: "Weather today in London"
- Body: {{ $json.data }}
Step 5: Test and Activate
Second Workflow: RSS to Slack
Automatically post new blog articles to a Slack channel.
Step 1: RSS Trigger
https://blog.n8n.io/rss/Step 2: Slack Message
- Slack OAuth2 or Webhook
- Channel: #news
- Message:
New Article: {{ $json.title }}
{{ $json.link }}
Step 3: Activate
Activate the workflow - new RSS entries will automatically appear in Slack.
Third Workflow: Google Sheets Automation
Automatically process new form entries.
Step 1: Google Sheets Trigger
Step 2: Process Data
name: {{ $json.Name }}
email: {{ $json.Email }}
message: {{ $json.Message }}
Step 3: Send Email
{{ $json.email }}Important Concepts in n8n
Expressions
Expressions access data from previous nodes:
| Expression | Meaning |
|---|---|
{{ $json.fieldName }} | Field from current item |
{{ $('NodeName').item.json.field }} | Field from a specific node |
{{ $now }} | Current date/time |
{{ $workflow.name }} | Workflow name |
If/Switch (Conditions)
Email incoming
|
IF (contains "complaint")
-> Yes: Create ticket
-> No: Standard response
Add "IF" node and configure condition.
Loop (Iterations)
Do something for each entry in a list:
Google Sheet with 100 rows
|
SplitInBatches (10 batches)
|
For each row: Send email
Error Handling
Common Beginner Mistakes
Mistake 1: Credentials Not Set Up
Symptom: Node shows red exclamation mark Solution: Credentials -> Add Credential -> Select serviceMistake 2: Wrong Expression Syntax
Symptom: Value is empty or shows error Solution: Always use{{ }} around expressions
Mistake 3: Workflow Not Activated
Symptom: Trigger doesn't fire Solution: Click "Activate" in top rightMistake 4: Webhook URL Not Accessible
Symptom: External services can't reach webhook Solution: For self-hosted: Open port 5678, use Nginx/Traefik in front if neededMistake 5: API Limits Exceeded
Symptom: "Rate limit exceeded" error Solution: Add delays between requests (Wait node)Useful Nodes for Beginners
| Node | Use | Example |
|---|---|---|
| HTTP Request | Call APIs | Fetch weather data |
| Set | Transform data | Rename fields |
| IF | Branching | If-then logic |
| Merge | Combine data | Merge two sources |
| SplitInBatches | Process lists | Send 100 emails |
| Code | Run JavaScript | Complex logic |
| Wait | Pause | Respect rate limits |
Resources for Further Learning
Official Documentation
- n8n Docs - Complete reference
- n8n Community - Forum with discussions
YouTube Tutorials
- "n8n Complete Course for Beginners" - 2 hours of basics
- Various advanced workflow tutorials
Templates
n8n offers over 1,000 ready-made templates:
Conclusion
You've now:
- Installed n8n (Cloud or Self-Hosted)
- Built three working workflows
- Understood the key concepts
Learning n8n is like Lego for adults - the more you build, the more creative your solutions become.
Next Steps With Us
Want to progress faster? We offer:
Automation doesn't have to be complicated - with the right guidance, you'll progress quickly.