← Back to all agents
Automation Open Source
n8n
Self-hostable workflow automation with a visual node editor.
Our take
If Zapier is too limiting and too expensive, n8n is the upgrade.
What it is
n8n is a node-based workflow automation tool — think Zapier, but open-source and self-hostable. It has 400+ integrations, supports custom code, and now includes AI/LLM nodes for building agents inside a workflow. Particularly popular with technical teams that need data to stay on their own infrastructure.
Best for
- Connect SaaS tools (Slack, Notion, HubSpot, Google Workspace) into one flow
- Build AI-powered automations using built-in LLM nodes
- Self-host for compliance, privacy, or cost reasons
Pros
- Self-hostable — your data never leaves your server
- Cheaper than Zapier at scale
- Powerful enough for complex, branching logic
Cons
- License is "Sustainable Use" — not pure OSS, has some restrictions
- Steeper learning curve than Zapier
Quick start
- Try cloud: sign up at n8n.io → create a workspace → open the visual editor.
- Self-host: `docker run -it --rm --name n8n -p 5678:5678 docker.n8n.io/n8nio/n8n`, then open http://localhost:5678.
- Build a workflow: drag a trigger node (e.g. Webhook, Schedule) onto the canvas → drag an action (Slack, Gmail, HTTP) → draw a line between them.
- For AI: add an "AI Agent" node wired to the LangChain integration; point at any OpenAI-compatible model.
- For custom code: drop in a Code node and write JavaScript / Python; access upstream data with $json or item.json.
Sample input / output
Input
Trigger: "Webhook" (POST /webhook/inbound-email)
Action 1: HTTP node → POST to Gmail API to fetch unread
Action 2: AI Agent node → "Summarize each unread email; classify as billing/support/sales"
Action 3: Switch node → routes by category
Action 4a (billing): Slack post to #billing
Action 4b (support): Create Zendesk ticket
Action 4c (sales): Append to Google Sheet Output
Workflow runs ~6 sec per inbound payload. Real-time visual execution logs. 0 manual touches. Easy to inspect what the AI decided; if a node mis-categorizes, you can add a "Reviewer" agent before the Switch and gate it on a confidence threshold. Benchmarks
GitHub stars 186,000+ — github.com/n8n-io/n8n
Integrations 400+ pre-built nodes
License Sustainable Use License (free self-host; restrictions on SaaS resale)
Templates 900+ ready-made workflow templates
Origin Founded 2019 in Berlin by Jan Oberhauser; name = "nodemation"
Pricing
Free self-host; cloud from $24/mo
Underlying models
Self-hosting
Yes — n8n can be self-hosted under the Sustainable Use License license. This gives you full control over data and deployment.
Should you pick this?
Pick it if You want to glue SaaS tools with custom logic and stay self-hostable for compliance / cost — n8n is the most flexible open-source automation platform.
Skip it if You want a managed, zero-ops cloud experience with the broadest catalog — Zapier (paid) wins on ecosystem. If you want a visual canvas with a lighter learning curve and pure cloud, Make is friendlier.