Skip to Content

n8n: The Power User’s Automation Platform

n8n (pronounced “n-eight-n”) is an open-source automation platform designed for both beginners and developers.

It offers more flexibility than Zapier, can be self-hosted for free, and has powerful AI capabilities built in.


Who Should Use This Guide?

  • Technical teams wanting maximum control
  • Anyone who needs complex multi-step automations
  • People who want to self-host for privacy/cost savings

What you’ll get: n8n set up and your first automation running.

Prerequisites: Basic understanding of how apps work. Coding knowledge is optional.


Why Choose n8n?

Featuren8nOthers
Self-hosting✅ Free, unlimited❌ Not available
Custom code✅ Full JavaScript⚠️ Limited or premium
AI integration✅ Native OpenAI, etc.⚠️ Basic
Open source✅ Yes❌ No
PricingFree to $50/mo$20-$300/mo

Core Concepts

Nodes

The building blocks of every workflow.

  • Trigger nodes start the workflow (schedule, webhook, form)
  • Action nodes do something (send email, update database)
  • Logic nodes add conditions (if/then, filters, switches)

Workflows

Connected nodes that run automatically.

Trigger → Action → Action → Action (When this happens, do these things)

Executions

Each time a workflow runs, it’s an execution.

You can see the history of all runs, including successful and failed ones.


Getting Started

Option 1: Quick Local Setup (Try It Now)

npx n8n

Opens at http://localhost:5678. No installation needed!

Option 2: Docker Installation (For Regular Use)

docker run -it --rm \ --name n8n \ -p 5678:5678 \ -v ~/.n8n:/home/node/.n8n \ n8nio/n8n

Option 3: n8n Cloud (No Setup)

  1. Go to n8n.io 
  2. Sign up for free
  3. Start building immediately

Your First Workflow: RSS to Email

Goal: Every day at 9 AM, get new blog posts emailed to you.

Loading workflow visualizer...

Step 1: Create Trigger

  1. Click the ”+” button
  2. Search for “Schedule Trigger”
  3. Set to run daily at 9 AM
n8n Schedule Trigger Configuration

Step 2: Add RSS Feed

  1. Click ”+” again
  2. Search for “RSS Feed Read”
  3. Enter a blog’s RSS URL (e.g., https://blog.example.com/rss)
n8n RSS Node Configuration

Step 3: Add Email

  1. Click ”+”
  2. Search for “Send Email” (or Gmail)
  3. Configure:
    • To: Your email
    • Subject: “New Posts Today”
    • Body: Map the RSS title and link
n8n Email Node Configuration

Step 4: Test and Activate

  1. Click “Execute Workflow” to test
  2. Check your email
  3. Toggle the switch to activate

Essential Node Types

Triggers (Start the Flow)

NodeWhen It Fires
ScheduleAt set times (daily, hourly, etc.)
WebhookWhen external service sends data
FormWhen someone submits a form
EmailWhen new email arrives

Actions (Do Something)

NodeWhat It Does
HTTP RequestCall any API
Gmail/EmailSend emails
SlackPost messages
Google SheetsAdd/update rows
DatabaseQuery/insert data

Logic (Control Flow)

NodePurpose
IFBranch based on condition
SwitchMultiple paths based on value
FilterOnly continue if criteria met
MergeCombine data from multiple paths
LoopRepeat for each item

Pro Tips

1. Name Your Nodes

Rename nodes to describe what they do:

  • ❌ “HTTP Request”
  • ✅ “Fetch Weather Data”

2. Use Sticky Notes

Add notes to explain complex logic for future you.

3. Test Each Node

Click on a node → “Execute this node only” to test step by step.

4. Check Execution History

When things break, see exactly which step failed and why.

5. Use Sub-Workflows

For reusable logic, create separate workflows and call them.


AI Integration

n8n has native support for:

  • OpenAI — GPT models, DALL-E
  • Anthropic — Claude models
  • Hugging Face — Open source models
  • Stability AI — Image generation

Example: AI Email Responder

Email Trigger → OpenAI (classify intent) → Switch ├→ Support Question → Create Ticket ├→ Sales Inquiry → Add to CRM └→ Spam → Archive

Common Workflows

Lead Capture

Form submission → Add to CRM → Send welcome email → Notify sales

Content Distribution

New blog post → Post to Twitter → Post to LinkedIn → Send to subscribers

Daily Standup

Every morning → Fetch tasks from Asana → Summarize with AI → Send to Slack

Customer Onboarding

New user signup → Send welcome series → Create support ticket → Notify team


Pricing

PlanPriceBest For
Self-HostedFreeTechnical teams with servers
Starter$20/moSmall teams getting started
Pro$50/moGrowing businesses
EnterpriseCustomLarge organizations

Next Steps

Zapier Overview — Compare with the easier option
Comparison Guide — Full feature breakdown
MCP Servers — Connect AI to n8n

Last updated on
← Return to Site0x007 Documentation