Last Updated:
n8n Automation for Beginners: Build Your First Workflow in 2025
The complete beginner's guide to n8n — the open-source automation platform. Learn to install n8n, connect apps, build real workflows, and automate your business without ongoing per-task fees. Includes 8 practical workflow examples.

n8n is the most powerful automation tool most businesses have never heard of. While Zapier charges per task and limits what you can build, n8n runs on your own server with unlimited executions, full code access, and a visual workflow builder that connects to over 400 apps out of the box.
We have built over 200 n8n automation systems for clients across industries. This guide covers everything you need to go from zero to running your first workflow — and then some.
What Is n8n and Why Does It Matter?
n8n (pronounced "n-eight-n", short for "nodemation") is an open-source workflow automation platform. Think of it as Zapier or Make — but self-hosted, far more flexible, and without per-execution pricing.
The Core Advantages
1. No per-task fees Zapier charges $0.01–$0.05 per task. A business running 10,000 automated tasks per month pays $100–$500/month just for execution. n8n self-hosted costs $5–$20/month for the server that runs all of those tasks.
2. Full code access n8n includes a Code node where you can write JavaScript or Python. This means no automation is "impossible" — if you can write it, you can build it.
3. Self-hosted data ownership Your automation data and credentials stay on your server. For businesses handling sensitive customer data, this is critical.
4. Visual + code, not either/or Build workflows visually by connecting nodes. Drop into code when you need complex logic. Most workflows never require a single line of code.
5. AI integration built-in n8n includes native nodes for OpenAI, Anthropic, and LangChain — making it the leading platform for building AI agents and LLM-powered workflows.
n8n vs Zapier vs Make: Which Should You Use?
| Feature | n8n | Zapier | Make | |---|---|---|---| | Pricing model | Server cost (~$10–20/month) | Per task ($20–$600+/month) | Per operation ($9–$299+/month) | | Task limits | Unlimited | Capped by plan | Capped by plan | | Code support | JavaScript + Python | Limited | Limited JavaScript | | AI/LLM nodes | Native (OpenAI, Anthropic) | Basic | Basic | | Self-hosting | Yes (open source) | No | No | | Visual builder | Yes | Yes | Yes | | Integrations | 400+ | 6,000+ | 1,500+ | | Learning curve | Moderate | Low | Low-Moderate | | Best for | Developers, agencies, complex workflows | Non-technical users, simple workflows | Teams wanting visual automation without code |
Our recommendation: n8n for any workflow that runs more than 1,000 times per month or involves custom logic, AI, or sensitive data. Zapier for simple two-step workflows where non-technical team members need to build without support.
How to Install n8n
There are three ways to run n8n:
Option 1: n8n Cloud (Easiest)
n8n offers a managed cloud version starting at $20/month. No server setup required.
- Go to n8n.io and click Get Started
- Choose a plan (Starter at $20/month supports 2,500 workflow executions/month)
- Log in to your n8n instance at
yourname.app.n8n.cloud
Best for: Beginners, small teams, or businesses that want to get started quickly without infrastructure work.
Option 2: Docker (Recommended for Self-Hosting)
Docker is the easiest way to self-host n8n. Requirements: a VPS with 1GB RAM minimum (DigitalOcean, Hetzner, or AWS — $5–$10/month).
Step 1: Install Docker on your server
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
Step 2: Run n8n
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
n8nio/n8n
Step 3: Access n8n
Open http://your-server-ip:5678 in your browser and complete the setup wizard.
For production use with HTTPS and a custom domain:
docker run -d \
--name n8n \
--restart unless-stopped \
-p 5678:5678 \
-e N8N_HOST=your-domain.com \
-e N8N_PROTOCOL=https \
-e WEBHOOK_URL=https://your-domain.com \
-v ~/.n8n:/home/node/.n8n \
n8nio/n8n
Option 3: npm (Development)
If you want to run n8n locally for development:
npm install n8n -g
n8n start
Access at http://localhost:5678.
Understanding the n8n Interface
When you first open n8n, you will see:
- Canvas — the main workflow building area where you drag and connect nodes
- Left sidebar — your list of workflows
- Top bar — Activate/Deactivate toggle, Save button, and Executions history
- Node panel — appears when you click the + button to add a new node
The Two Types of Nodes
Trigger Nodes (orange) — start the workflow. Examples:
- Webhook (receives HTTP requests)
- Schedule (runs at set times)
- Email Trigger (runs when email arrives)
- Form Trigger (runs when a form is submitted)
Action Nodes (blue/grey) — do work. Examples:
- HTTP Request (calls any API)
- Gmail (reads/sends emails)
- Slack (sends messages)
- Google Sheets (reads/writes data)
- Code (runs JavaScript or Python)
- OpenAI (calls AI models)
Building Your First Workflow: New Lead to Slack Notification
This is the simplest useful workflow and teaches you the core concepts.
What it does: Receives a new lead from a form, formats the data, and sends a Slack message to your team.
Step 1: Create a New Workflow
- Click + New Workflow in the left sidebar
- Name it "New Lead Notification"
Step 2: Add a Webhook Trigger
- Click the + button on the canvas
- Search for Webhook and select it
- Click Add Webhook — n8n generates a unique URL like
https://your-instance/webhook/abc123 - Set Method to POST
- Click Listen for Test Event
Step 3: Send a Test Request
Using curl or Postman, send a test payload to your webhook URL:
{
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "555-0100",
"service": "Website Development"
}
n8n will receive the data and show it in the node output panel.
Step 4: Add a Slack Node
- Click + after the Webhook node
- Search for Slack and select it
- Click Add New Credential and connect your Slack workspace
- Set Resource to Message, Operation to Send
- Set Channel to
#leads(or whichever channel you prefer) - Set Text to:
New lead received!
Name: {{ $json.name }}
Email: {{ $json.email }}
Phone: {{ $json.phone }}
Service: {{ $json.service }}
Step 5: Test and Activate
- Click Test Workflow — n8n runs the workflow with your test data
- Check your Slack channel — the message should appear
- Click Save, then toggle Active on
Your workflow is live. Every form submission to that webhook URL now sends a Slack notification.
8 Practical n8n Workflows for Businesses
Workflow 1: CRM Lead Enrichment
Trigger: Webhook (new contact added) Steps:
- HTTP Request node → call Clearbit API with the email
- Set node → map Clearbit fields (company, title, LinkedIn) to your data structure
- HTTP Request node → update the CRM record with enriched data
- Slack node → notify sales team with enriched lead details
Time saved: 3–5 minutes per lead. At 100 leads/month, that is 6–8 hours.
Workflow 2: Automated Invoice Follow-Up
Trigger: Schedule (runs daily at 9 AM) Steps:
- HTTP Request → query accounting software for unpaid invoices over 7 days
- IF node → check if invoice is overdue (7, 14, or 30 days)
- Gmail node → send appropriate reminder email based on days overdue
- Google Sheets → log the reminder sent
Time saved: Eliminates manual invoice chasing. Clients using this report 30% faster payment collection.
Workflow 3: AI-Powered Support Ticket Routing
Trigger: Email trigger (new email to support@) Steps:
- OpenAI node → classify the email (billing / technical / general enquiry)
- Switch node → route based on classification
- Branch A (Billing): Create ticket in billing queue, notify billing team
- Branch B (Technical): Create ticket in tech queue, send auto-reply with ETA
- Branch C (General): Send auto-reply, add to general queue
Impact: Reduces first-response time from hours to seconds. Eliminates misrouted tickets.
Workflow 4: Social Media Content Scheduler
Trigger: Schedule (runs Monday at 7 AM) Steps:
- Google Sheets → fetch the week's content calendar
- Loop Over Items node → iterate through each row
- OpenAI node → generate platform-specific captions for each post
- HTTP Request → post to Twitter/X API
- HTTP Request → post to LinkedIn API
- Slack → send weekly schedule summary to team
Time saved: 2–4 hours per week of manual social media posting.
Workflow 5: E-Commerce Order to Fulfillment
Trigger: Webhook from Shopify (new order) Steps:
- IF node → check if order value is over $500 (flag for manual review)
- HTTP Request → send order to fulfillment partner API
- Gmail → send customised confirmation email to customer
- Google Sheets → log order for tracking
- Slack → notify warehouse team of high-value orders
Time saved: Eliminates manual order processing for standard orders.
Workflow 6: Weekly Business Health Report
Trigger: Schedule (every Friday at 4 PM) Steps:
- HTTP Request → fetch sales data from CRM (deals closed this week)
- HTTP Request → fetch website analytics from GA4
- HTTP Request → fetch ad spend from Meta/Google Ads API
- Code node → calculate KPIs (CAC, ROAS, close rate)
- OpenAI → generate written summary of performance
- Gmail → email the report to stakeholders
Impact: Business owners get a weekly digest without any manual data pulling.
Workflow 7: AI Blog Content Pipeline
Trigger: Schedule (Monday 8 AM) or Manual Steps:
- Google Sheets → fetch keyword research list
- Loop node → process each keyword
- HTTP Request → check SERP data for that keyword
- OpenAI → generate full blog post outline and draft
- Google Docs → create a new document with the draft
- Slack → notify content team that draft is ready for review
Time saved: Reduces content research and drafting time from 4–6 hours to 20–30 minutes per article.
Workflow 8: Client Onboarding Automation
Trigger: Webhook (new client record created in CRM) Steps:
- Gmail → send welcome email with onboarding instructions
- HTTP Request → create a new project in your project management tool (Asana, Monday, etc.)
- HTTP Request → create a shared Notion workspace for the client
- HTTP Request → add client to your Slack workspace
- Schedule node (delay 24 hours) → send follow-up checklist email
- Google Sheets → log onboarding progress
Time saved: 45–90 minutes of manual onboarding work per new client.
Essential n8n Nodes Every Beginner Needs to Know
| Node | What it does | Use case | |---|---|---| | Webhook | Receives HTTP POST/GET requests | Trigger from any app with webhooks | | HTTP Request | Calls any REST API | Connect to apps without native nodes | | Schedule Trigger | Runs on a cron schedule | Daily reports, weekly tasks | | IF | Conditional branching | Route data based on conditions | | Switch | Multi-branch routing | Route to multiple paths | | Set | Map and transform data | Rename fields, format values | | Code | JavaScript or Python execution | Complex logic, data transformation | | Loop Over Items | Iterate through arrays | Process lists of contacts, orders, etc. | | Merge | Combine data from branches | Aggregate results | | Error Trigger | Catches workflow errors | Alert on failure | | OpenAI | Call GPT-4 and other models | AI classification, generation, summarisation | | Gmail / Outlook | Send and receive emails | Email automation | | Google Sheets | Read and write spreadsheet data | Data logging, reporting | | Slack | Send messages and create channels | Team notifications |
Common n8n Mistakes to Avoid
Mistake 1: Not setting up error handling. Every production workflow needs an Error Trigger node connected to a Slack or email notification. Silent failures are the most dangerous kind.
Mistake 2: Hardcoding credentials in workflows. Always use n8n's built-in Credentials manager. Never paste API keys directly into node parameters.
Mistake 3: Not testing with real data. Use the Test Workflow button with realistic payloads. Edge cases like missing fields or null values break workflows that test fine with perfect data.
Mistake 4: Building everything in one giant workflow. Break complex processes into sub-workflows connected via the Execute Workflow node. This makes debugging and maintenance far easier.
Mistake 5: Ignoring execution history. n8n logs every execution. Review the Executions tab regularly to catch failures early and optimise slow workflows.
Mistake 6: Not using the Wait node for rate limiting. If you are calling an API in a loop, the Wait node adds delays between requests to prevent rate limit errors. Skipping this causes intermittent failures at scale.
n8n Setup Checklist for Production
- [ ] n8n running on a dedicated server (not localhost)
- [ ] HTTPS enabled with SSL certificate
- [ ] Custom domain configured
- [ ] Database set to PostgreSQL (not SQLite for production)
- [ ] Encryption key set in environment variables
- [ ] Daily backup of the n8n data volume
- [ ] Error handling workflow built and active
- [ ] All credentials stored in n8n Credentials manager
- [ ] Workflows exported to JSON and committed to Git
- [ ] Monitoring set up (UptimeRobot or similar for webhook health)
Frequently Asked Questions
Is n8n free? The open-source version (self-hosted) is free to use with no execution limits. n8n Cloud starts at $20/month. The Enterprise licence adds SSO, audit logs, and advanced security for larger teams.
Do I need to know how to code to use n8n? No. The vast majority of useful workflows are built by connecting nodes visually without any code. The Code node is available when you need it, but it is not required.
How does n8n compare to Zapier for non-technical users? Zapier has a gentler learning curve for simple two-step automations. n8n requires a bit more setup but handles complex, multi-step, multi-branch workflows far better. Once you spend 2–3 hours learning n8n, you rarely feel limited.
Can n8n connect to apps that do not have a native node? Yes. The HTTP Request node connects to any REST API. If an app has an API (and almost all modern apps do), n8n can connect to it.
What server specs do I need for n8n? For small to medium workloads (up to 50,000 executions/month): 1 vCPU, 1GB RAM. For heavy workloads: 2 vCPU, 4GB RAM. A Hetzner CX11 at €3.79/month handles most small business n8n instances comfortably.
Is n8n secure for handling customer data? Self-hosted n8n is highly secure — your data never leaves your server. Enable encryption at rest, use HTTPS, and restrict access to your n8n instance. Never expose your n8n instance to the public internet without authentication.
Free n8n Workflow Templates
Get 10 ready-to-import n8n workflow templates for lead gen, CRM sync, and invoice automation.
Need Help Implementing This?
Our team specialises in GoHighLevel, n8n automation, AI agents, and high-converting web development. Let's talk.
Talk to Our TeamFrequently Asked Questions
What is n8n and how does it work?
n8n is a workflow automation tool that connects apps and services using visual nodes, letting you move and transform data without heavy coding. Each workflow starts with a trigger and runs a series of connected actions.
How do I build my first n8n workflow?
Start with a trigger node (such as a webhook or schedule), add action nodes for the apps you want to connect, map the data between them, then test and activate the workflow. Beginners can build useful automations in under an hour.
Is n8n free to use?
n8n is source-available and can be self-hosted for free aside from your own hosting costs, and it also offers a paid cloud plan. Self-hosting gives you unlimited executions and full data control.
Do I need to know how to code to use n8n?
No, most workflows are built visually with no code, though optional code and function nodes let advanced users add custom logic. This makes n8n approachable for beginners yet powerful for developers.