n8n: Free Open-Source Workflow Automation with AI

Quick answer: n8n is a free, open-source workflow automation platform — the self-hosted alternative to Zapier and Make.com. Run it yourself and there are no per-task fees and no execution cap: you only pay for the server it runs on. It ships 400+ integrations, JavaScript/Python code nodes, and native AI agent nodes. A paid Cloud tier (~$20/month) exists for teams who'd rather not run infrastructure.

n8n (pronounced "nodemation") connects apps, APIs, and services visually — or with code when you need full control. As of 2026 it has 50,000+ GitHub stars and is one of the most-deployed self-hosted automation tools in the world. For any technical team, self-hosting plus unlimited executions is the reason to pick it over Zapier.

n8n Pricing: Free Self-Hosted vs Cloud

OptionPriceExecutionsBest For
Self-hosted (Community)Free foreverUnlimitedDevelopers with a VPS or Docker
n8n Cloud Starter~$20/month2,500 executions/monthNo-maintenance cloud option
n8n Cloud Pro~$50/month10,000 executions/monthTeams needing more volume
EnterpriseCustomUnlimitedLarge-scale organizations

The self-hosted Community edition is completely free — no executions cap, no feature limits, no credit card. You just need a server. A cheap VPS (like Oracle Cloud's free ARM instance) is enough for dozens of workflows.

Run n8n with Docker (60 Seconds)

The fastest way to run n8n locally or on a VPS:

# Run n8n with Docker (data persists in local volume)
docker run -it --rm 
  --name n8n 
  -p 5678:5678 
  -v n8n_data:/home/node/.n8n 
  n8nio/n8n

Open http://localhost:5678, create an owner account on first launch, and your editor is ready. For production with auto-restart and HTTPS webhooks:

# docker-compose.yml
version: '3.8'

services:
  n8n:
    image: n8nio/n8n
    restart: always
    ports:
      - "5678:5678"
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=admin
      - N8N_BASIC_AUTH_PASSWORD=yourpassword
      - WEBHOOK_URL=https://your-domain.com/
    volumes:
      - n8n_data:/home/node/.n8n

volumes:
  n8n_data:
docker compose up -d        # start in background
docker compose logs -f n8n  # check logs

For HTTPS, put n8n behind Nginx or Caddy, which handles SSL certificates automatically. Prefer npm? npm install n8n -g then n8n start — requires Node.js 18+, runs on Linux, macOS, and Windows.

Key Features

400+ built-in integrations. Native nodes for Google Sheets, Slack, GitHub, Airtable, Notion, PostgreSQL, MySQL, Stripe, Shopify, HubSpot, Telegram, Discord, and hundreds more — each pre-configured with auth and common operations.

HTTP Request node. For any service without a dedicated node, connect any REST API with OAuth, API keys, or custom headers — this fills most integration gaps.

Code node — JavaScript or Python. When visual nodes aren't enough, write code directly inside a workflow:

// n8n Code node — process incoming data
const items = $input.all();

return items.map(item => {
  const data = item.json;
  return {
    json: {
      id: data.id,
      name: data.name.toUpperCase(),
      processedAt: new Date().toISOString(),
      score: data.value * 1.15
    }
  };
});

Webhook triggers. n8n generates a URL you point any service at:

curl -X POST https://your-n8n.com/webhook/your-workflow-id 
  -H "Content-Type: application/json" 
  -d '{"event": "new_order", "order_id": "12345", "amount": 99.99}'

Schedule trigger. Run workflows on cron syntax — no separate cron server:

/* Schedule examples in n8n:
   Every day at 9 AM:   0 9 * * *
   Every hour:          0 * * * *
   Every 15 minutes:    */15 * * * *
   Every weekday:       0 9 * * 1-5
*/

Native AI Agent Nodes

n8n has dedicated nodes for LLMs, memory, and tool use — you can build AI agents without writing a line of Python:

  • AI Agent node: define a task in plain English, attach tools (web search, DB queries, API calls), and it runs the reasoning loop
  • Chat Trigger: a chatbot interface connected to any LLM
  • LLM node: send prompts to OpenAI, Anthropic, Groq, Mistral, or Ollama
  • Memory + Vector Store: window buffer memory plus Pinecone, Qdrant, or Supabase for RAG

Example: a Telegram bot receives a message → AI Agent node processes it with a Groq LLM → the agent searches the web, queries your database, or sends emails → the response returns to Telegram. Built entirely visually. For heavier orchestration, teams pair n8n (scheduling, triggers, integrations) with OpenClaw (multi-step AI reasoning) via the HTTP Request node.

n8n vs Zapier vs Make.com

Featuren8n (self-hosted)ZapierMake.com
PriceFree (self-hosted)From $19.99/monthFrom $9/month
Executions limitUnlimited100-750/month (free)1,000 ops/month (free)
Integrations400+ native6,000+1,500+
Custom codeYes (JS + Python)Yes (JS only, paid)Limited
AI Agent nodesNative (built-in)LimitedLimited
Self-hostableYes (open source)NoNo
Data privacyFull (your server)Zapier's cloudMake's cloud
Best forDevelopers, privacy-conscious teamsNon-technical users, breadthComplex visual workflows

The key trade-off: Zapier has far more integrations (6,000+ vs 400+), which matters if your app lacks an n8n node. But the HTTP Request node fills most gaps, and for a technical team, n8n's self-hosting + unlimited executions + code nodes make it the clear value winner.

Deployment Tips

  • Use PostgreSQL, not the default SQLite, for production performance and reliability
  • Put a reverse proxy (Nginx/Caddy) in front for HTTPS on port 443
  • Never expose n8n without auth — enable basic auth or built-in user management
  • Back up /home/node/.n8n — it holds all workflows and credentials
  • Store secrets as n8n credentials, not hardcoded in workflows
# Production n8n with PostgreSQL — docker-compose.yml
version: '3.8'

services:
  postgres:
    image: postgres:15
    restart: always
    environment:
      POSTGRES_DB: n8n
      POSTGRES_USER: n8n
      POSTGRES_PASSWORD: n8n_password
    volumes:
      - postgres_data:/var/lib/postgresql/data

  n8n:
    image: n8nio/n8n
    restart: always
    ports:
      - "5678:5678"
    environment:
      - DB_TYPE=postgresdb
      - DB_POSTGRESDB_HOST=postgres
      - DB_POSTGRESDB_DATABASE=n8n
      - DB_POSTGRESDB_USER=n8n
      - DB_POSTGRESDB_PASSWORD=n8n_password
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=admin
      - N8N_BASIC_AUTH_PASSWORD=securepassword
      - WEBHOOK_URL=https://n8n.yourdomain.com/
    volumes:
      - n8n_data:/home/node/.n8n
    depends_on:
      - postgres

volumes:
  postgres_data:
  n8n_data:

Frequently Asked Questions

Is n8n really free?

Yes — the self-hosted Community edition is free forever with unlimited executions, no feature limits, and no credit card. You only pay for the server it runs on. The paid Cloud tiers (~$20+/month) just add managed hosting.

Does self-hosted n8n limit executions?

No. Because it runs on your own hardware, execution volume is bounded by your CPU and RAM, not a billing tier — the opposite of Zapier's and Make.com's metered free plans.

Can n8n build AI agents without code?

Yes. The native AI Agent, Chat Trigger, LLM, Memory, and Vector Store nodes let you build agents visually against OpenAI, Anthropic, Groq, Mistral, or Ollama — no Python required.

When should I use Zapier or Make.com instead?

When you need a specific integration n8n lacks natively, have no resources to maintain a server, or need a truly no-code tool for non-developers to manage.

Final Verdict

n8n is the most powerful free automation tool for developers and technical teams in 2026: unlimited self-hosted executions, 400+ integrations, native AI agent nodes, and full JavaScript/Python support — vastly more capable than Zapier's free tier and cheaper at scale. If you have a server (even a free Oracle Cloud ARM instance), n8n on Docker costs nothing. Start with the Docker one-liner, build your first workflow in under 10 minutes, and never pay per-task fees again.