n8n for Beginners: Build Your First Automation Workflow in 10 Minutes
Get started with n8n in this beginner-friendly guide. Learn how to install n8n, build your first workflow, understand nodes and triggers, and create real automations step by step.

n8n for Beginners: Build Your First Workflow in 10 Minutes
n8n can look intimidating if you're new to automation. But here's the truth: you can build your first useful workflow in under 10 minutes. This guide walks you through everything you need to know, from installation to your first automation.
What is n8n?
n8n (pronounced "n-eight-n") is an open-source workflow automation platform. Think of it as a visual way to connect apps and automate tasks — without writing code.
Everyday examples of what you can automate:
- Save email attachments to Google Drive automatically
- Get Slack notifications when someone fills out a form
- Sync contacts between your CRM and email list
- Post to social media when you publish a blog
- Monitor website uptime and alert on downtime
Step 1: Get n8n Running
Choose your setup:
Option A: n8n Cloud (Easiest)
- Go to n8n.cloud
- Sign up for a free trial
- Start building immediately
- No technical setup required
Option B: Docker (Recommended for Self-Hosting)
# One command to get n8n running
docker run -d \
--name n8n \
--restart unless-stopped \
-p 5678:5678 \
-v n8n_data:/home/node/.n8n \
-e N8N_HOST=localhost \
-e N8N_PORT=5678 \
-e N8N_PROTOCOL=http \
n8nio/n8n
# Open http://localhost:5678 in your browser
Option C: npm (for Developers)
npm install n8n -g
n8n start
Step 2: Understand the Interface
When you open n8n, you'll see:
┌─────────────────────────────────────────────┐
│ [Header: Logo | Workflows | Credentials] │
├──────────┬───────────────────┬──────────────┤
│ │ │ │
│ Node │ Canvas │ Settings │
│ Panel │ (work area) │ Panel │
│ │ │ │
│ • Trigger│ Drag nodes here │ Node config │
│ • Action │ Connect them │ Parameters │
│ • Logic │ Build flows │ Output data │
│ │ │ │
└──────────┴───────────────────┴──────────────┘
Key concepts:
- Node: A single step (e.g., "Read email", "Send to Slack")
- Workflow: A connected series of nodes
- Trigger: The event that starts your workflow
- Action: What happens after the trigger
Step 3: Your First Workflow
Let's build a simple automation: Get a Slack message when someone submits a form.
3.1 Add a Webhook Trigger
- Click + on the canvas or press Tab
- Search for "Webhook"
- Select the Webhook node
- This creates a URL that external services can call
// Your webhook URL will look like:
// https://your-n8n.com/webhook/abc123def
3.2 Add Form Data Processing
- Click + after the Webhook node
- Search for "Set"
- Add a Set node to format the form data
// In the Set node, configure:
// Name → {{ $json.name }}
// Email → {{ $json.email }}
// Message → {{ $json.message }}
3.3 Send to Slack
- Click + after the Set node
- Search for "Slack"
- Select Slack → Send Message
- Connect your Slack account (one-time setup)
- Configure the message:
New Contact Form Submission!
Name: {{ $json.name }}
Email: {{ $json.email }}
Message: {{ $json.message }}
Received: {{ $now.format('YYYY-MM-DD HH:mm') }}
3.4 Test Your Workflow
- Click Execute Workflow (top right)
- n8n will ask for test data — paste this:
{
"name": "Jane Smith",
"email": "[email protected]",
"message": "I'd like to learn more about your services."
}
- Check Slack — you should see the message!
- Click Active (toggle in top right) to turn on the live webhook
Congratulations! You just built your first automation. 🎉
Your First Real-World Workflows
Workflow 1: Save Email Attachments to Google Drive
Email Trigger (IMAP) → Filter (has attachment) → Google Drive (upload)
Use case: Automatically save invoice PDFs, contracts, or reports from email.
Workflow 2: Twitter/X → Slack News Digest
Schedule Trigger → Twitter Search → Filter (engagement) → Summarize → Slack
Use case: Monitor industry keywords and get a daily digest in Slack.
Workflow 3: Form → CRM → Email Sequence
Webhook → HubSpot/Create Contact → Gmail/Send Welcome Email → Wait 2 days → Follow-up Email
Use case: Automatically onboard new leads who fill out your form.
Workflow 4: GitHub → Slack Deployment Notifications
GitHub Trigger → Filter (main branch) → Format Message → Slack
Use case: Get notified when your team deploys to production.
Workflow 5: RSS → Content Summary → Notion Database
RSS Trigger → AI Summarize → Notion/Create Page
Use case: Track industry blogs and save summaries for later reading.
Understanding Nodes: The Building Blocks
Trigger Nodes (Start your workflow)
| Node | What It Does |
|---|---|
| Webhook | Responds to HTTP requests |
| Schedule | Runs on a timer (every hour, daily, etc.) |
| Email (IMAP) | Triggers on new emails |
| GitHub | Triggers on GitHub events |
| RSS | Triggers on new blog posts |
Action Nodes (Do things)
| Node | What It Does |
|---|---|
| HTTP Request | Call any API |
| Slack | Send messages, create channels |
| Google Sheets | Read/write spreadsheet data |
| Gmail | Read/send emails |
| Notion | Create/update database pages |
Logic Nodes (Control flow)
| Node | What It Does |
|---|---|
| IF | Branch based on conditions |
| Switch | Route to different paths |
| Merge | Combine data from multiple paths |
| Loop | Repeat actions for each item |
| Code | Run custom JavaScript/Python |
Tips for Beginners
1. Use the Expression Editor
Instead of hardcoding values, use expressions:
// Instead of typing a name, reference data
{{ $json.name }}
// Format dates
{{ $now.format('YYYY-MM-DD') }}
// Combine values
{{ $json.firstName + ' ' + $json.lastName }}
// Use conditional values
{{ $json.amount > 100 ? 'Large deal' : 'Small deal' }}
2. Test with Sample Data
Every node shows output data. Click on a node to see what it produced — this is how you debug.
3. Start Simple, Then Layer
- First: Get data from A to B
- Second: Add formatting/filtering
- Third: Add conditional logic
- Fourth: Add notifications and error handling
4. Use Templates
n8n has a built-in template library with hundreds of ready-to-use workflows. Browse by category or search for your use case.
Our workflow template library has thousands of community-created n8n workflows you can import in one click.
5. Join the Community
- n8n Community Forum: community.n8n.io
- GitHub Discussions: github.com/n8n-io/n8n/discussions
- Discord: Active community chat
Common Beginner Mistakes
| Mistake | Fix |
|---|---|
| Not saving credentials | Save API keys in Credentials, not in workflow |
| Forgetting to activate | Active toggle must be ON for live webhooks |
| Wrong data path | Use $json not $input for most nodes |
| No error handling | Add error output paths to critical nodes |
| Ignoring rate limits | Check API docs for rate limits |
Next Steps
Now that you've built your first workflow:
- Explore a template: Import a workflow from our library and customize it
- Connect your tools: Add credentials for your email, Slack, CRM
- Build something useful: Automate a task you do manually every day
- Learn expressions: Master
{{ }}to make workflows dynamic
Ready for more? Check out our advanced n8n tutorials or browse AI-powered workflow templates.
Share this article
Help others discover n8n automation tips and tricks
Related Articles

The Complete n8n Node Guide: 30 Essential Nodes You Should Know
Master n8n's most powerful nodes. A practical reference guide covering triggers, actions, logic, AI nodes, and advanced node patterns. With real workflow examples for each node type.

Getting Started with n8n: A Beginner's Guide
Learn the basics of n8n workflow automation, from installation to your first workflow. This comprehensive guide covers everything you need to know to start automating your business processes.

Building AI Chatbots with n8n: A Complete RAG-Powered Automation Guide
Learn how to build intelligent AI chatbots in n8n using RAG (Retrieval-Augmented Generation). Step-by-step guide covering knowledge base setup, vector embeddings, and deployment.
