N8n Tutorial For Beginners: Build Your First Automation Workflow In 15 Minutes
n8n Tutorial for Beginners: Build Your First Automation Workflow in 15 Minutes
n8n is one of the best automation tools in 2026, and it's completely free to self-host. But most tutorials make it seem more complicated than it is.
This guide takes you from zero to a working automation in 15 minutes. No prior experience needed.
What is n8n?
n8n (pronounced "n-eight-n") is a visual automation tool. You connect apps together with a drag-and-drop interface. When something happens in App A, n8n automatically does something in App B.
Think: "When I publish a blog post, automatically share it on Instagram, Reddit, and Telegram."
Why n8n Instead of Zapier?
- Free self-hosted — Zapier starts at $30/month
- No execution limits — Run as many automations as you want
- Code nodes — Add JavaScript when visual nodes aren't enough
- Self-hosted privacy — Your data stays on your server
- 500+ integrations — Plus custom HTTP requests for any API
Step 1: Install n8n (2 Minutes)
Option A: Try Instantly (No Install)
npx n8n
This runs n8n temporarily on your machine. Open http://localhost:5678 in your browser.
Option B: Docker (Permanent Setup)
docker run -d --name n8n -p 5678:5678 \
-v n8n_data:/home/node/.n8n \
n8nio/n8n
Option C: n8n.cloud (No Setup)
Sign up at n8n.cloud for a hosted version. Free tier includes 2,500 executions per month.
Step 2: Your First Workflow — Daily Weather Alert via Telegram
We'll build something simple but useful: a workflow that sends you a Telegram message every morning with the weather forecast.
2a: Create a Telegram Bot (3 Minutes)
- Open Telegram and search for
@BotFather - Send
/newbot - Choose a name (e.g., "My Automation Bot")
- Choose a username (e.g., "my_auto_bot")
- Copy the API token BotFather gives you
- Send a message to your new bot (just say "hi")
- Go to
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdatesin your browser - Find your
chat_idin the response
2b: Build the Workflow (5 Minutes)
- In n8n, click Add workflow
- Click the + button and search for Schedule Trigger
- Set it to run daily at 7:00 AM
- Click + again and add HTTP Request
- URL:
https://wttr.in/Berlin?format=3(replace Berlin with your city) - Method: GET
- URL:
-
Click + and add Telegram
- Credential: Add new → paste your Bot Token
- Chat ID: paste your chat_id
- Text:
☀️ Weather today: {{ $json.data }}
Connect the nodes: Schedule → HTTP Request → Telegram
Click Execute Workflow to test
Click Active to turn it on permanently
That's it. Every morning at 7 AM, you get a weather message on Telegram.
Step 3: Level Up — RSS to Social Media Auto-Poster
Now let's build something more useful: an automation that monitors a blog and posts new articles to multiple platforms.
The Workflow Structure
RSS Feed Trigger → Extract Content → Switch (Platform) → Post to each platform
Nodes:
-
RSS Feed Trigger
- Feed URL: any blog's RSS feed
- Poll interval: every 6 hours
-
Set Node (Format the data)
- title:
{{ $json.title }} - excerpt:
{{ $json.contentSnippet }} - link:
{{ $json.link }}
- title:
-
Switch Node (Split into parallel branches)
- One output per platform
-
Telegram Node
- Text:
???? New post: {{ $json.title }}\n\n{{ $json.excerpt }}\n\nRead more: {{ $json.link }}
- Text:
-
HTTP Request Node (for Reddit)
- Method: POST
- URL:
https://oauth.reddit.com/api/submit - Headers: Authorization: Bearer [your_token]
- Body: title, text, subreddit
-
HTTP Request Node (for any other platform)
- Customize per platform's API
Common Workflow Patterns
Pattern 1: Schedule → Fetch → Transform → Send
Use for: daily reports, weekly summaries, regular data pulls.
Example: Pull Instagram analytics daily → store in database → send weekly Telegram report.
Pattern 2: Webhook → Process → Multi-Output
Use for: reacting to events in real-time.
Example: New form submission → create task in Notion → send Telegram notification → add to Google Sheet.
Pattern 3: Trigger → Loop → Batch Process
Use for: processing multiple items.
Example: Every Monday → fetch all scheduled posts from database → post each one with 30-minute delays.
Pattern 4: Error Branch → Notification
Use for: making automations reliable.
Example: Any workflow step fails → send error details to Telegram → log to database.
Essential n8n Concepts
Credentials
Store API keys securely in n8n. Go to Settings → Credentials. Create credentials once, reuse across all workflows.
Expressions
n8n uses expressions like {{ $json.fieldName }} to reference data from previous nodes. This is how data flows through your workflow.
Error Handling
Every node can have an error output. Connect it to a notification node so you know when something breaks.
Sub-Workflows
Complex automations can call other workflows. This keeps things organized and reusable.
Code Node
When visual nodes aren't enough, use the Code node to write JavaScript:
// Example: format a date
const date = new Date($input.first().json.timestamp);
return [{
json: {
formatted: date.toLocaleDateString('en-US', {
weekday: 'long',
year: 'numeric',
month: 'long',
day: 'numeric'
})
}
}];
5 Useful Workflows to Build Next
1. Social Media Scheduler
Google Sheet with posts → n8n checks every 15 min → posts at the scheduled time → updates sheet with "posted" status.
2. Email Digest Generator
Fetch news from 5 RSS feeds → AI summarizes each → format into a clean email → send via SMTP every morning.
3. Lead Capture Pipeline
Typeform submission → enrich with Clearbit data → add to Notion CRM → send Telegram alert → auto-reply email.
4. Content Repurposer
New blog post detected → AI generates Instagram caption + Reddit post + LinkedIn summary → posts to all three with 30-min delays.
5. Competitor Monitor
Check competitor websites every 6 hours → compare with previous check → if changes detected → Telegram alert with details.
Troubleshooting
"Workflow doesn't trigger"
- Check that the workflow is Active (toggle in top-right)
- For Schedule triggers, verify timezone in Settings
- For webhooks, make sure the URL is accessible from the internet
"Authentication failed"
- Re-check your credentials in Settings → Credentials
- Some APIs need OAuth2 — follow n8n's built-in guides for each service
- Reddit OAuth2 is the trickiest — make sure redirect URI matches exactly
"Rate limit errors"
- Add Wait nodes between API calls (30-60 seconds is safe for most APIs)
- Use the Split in Batches node for processing many items
- Check the API's rate limit documentation
"Data not flowing between nodes"
- Click on each node to inspect its output
- Use expressions
{{ $json.fieldName }}to reference the correct field - The Set node helps reshape data between nodes
Resources
- n8n Community Forum: The official forum is incredibly helpful. Post your workflow JSON and people will debug it for you.
- r/n8n on Reddit: Active community sharing workflows and tips.
- n8n docs: https://docs.n8n.io — comprehensive but can be overwhelming for beginners.
- Template library: n8n has hundreds of pre-built workflow templates you can import and modify.
What's Next?
Once you're comfortable with basic workflows, the real power of n8n unlocks:
- AI integration: Connect to OpenAI, Claude, or Gemini to add intelligence to your automations
- Database integration: Use Supabase (free) or PostgreSQL to store and query data
- Multi-step workflows: Chain 10+ nodes together for complex business processes
- Webhook APIs: Build your own API endpoints that trigger automations
n8n can replace most of the SaaS tools small businesses pay $100-500/month for. The learning curve is about 2-3 hours to get comfortable, then another week of building to feel proficient.
Start with one simple workflow. Get it working. Then add complexity.
If you found this useful:
If you found this useful:
- 50 AI Prompts for Social Media Managers ($13) — Copy-paste prompts for captions, hashtags, content planning, analytics
- Instagram Growth Toolkit 2026 (€19) — Templates, checklists & swipe files for organic growth
- Reddit Marketing Playbook (€9) — Get clients from Reddit without getting banned
Popular Products
-
Orthopedic Shock Pads For Arch Support$71.56$35.78 -
Remote Control Fart Machine$80.80$40.78 -
Adjustable Pet Safety Car Seat Belt$57.56$28.78 -
Adjustable Dog Nail File Board$179.56$89.78 -
Bloody Zombie Latex Mask For Halloween$123.56$61.78