n8n
n8n is a fair-code workflow automation tool you can self-host for free. It connects 400+ apps on a visual canvas, lets you add JavaScript or Python, and builds AI agents. It suits marketers, SEOs and developers who want Zapier-style automation without per-task fees. Reselling or hosting n8n for others needs a paid license.
| Repository | n8n-io/n8n |
|---|---|
| Website | n8n.io |
| GitHub stars | 211,993 |
| Forks | 61,646 |
| Main language | TypeScript |
| License | Custom license (check repo) |
| Commercial use | Limited (check license) |
| Latest release | n8n@2.49.5 |
| Last commit | November 24, 2026 |
| Self-hosting | Free to self-host; you only pay for your server. A small VPS with Docker is enough for most teams. |
| Alternative to | Make, Zapier |
GitHub stats last verified:
What is n8n?
Running n8n self hosted gives you Zapier-style automation on your own server, for free. n8n (say “n-eight-n”) is a workflow automation tool that links apps, APIs and AI models on a visual canvas. Drag nodes onto the canvas and connect them. The flow then runs on a schedule, on a webhook, or when something changes in one of your apps.
Where it runs is the big difference from Zapier and Make. Host it on your own server and your data stays with you, with no per-task fees. The project calls itself “fair-code”: the source is public, but the license limits how you can sell it (more on that below).
Key features
-
- 400+ integrations: Google Sheets, Gmail, Slack, WordPress, Airtable, OpenAI, HTTP requests and many more.
- Code when you need it: add JavaScript or Python inside a workflow, and use npm packages for advanced steps.
- AI agents: build multi-step agents on your own data, models and tools, with LangChain-based nodes and models like ChatGPT or Claude.
- Self-host or cloud: run it on your own VPS with Docker, or use n8n’s paid cloud plan.
- Triggers: start flows from a schedule, a webhook, a form, or an event in a connected app.
Is n8n really open source? The license explained
Not in the strict OSI sense. n8n uses the Sustainable Use License, plus a separate Enterprise License for some paid features. In plain words:
- Allowed: using n8n to run your own business, personal projects, and building workflows for clients as paid consulting work.
- Not allowed without a paid deal: reselling n8n, hosting it as a service for others, or letting your customers log in and build their own workflows inside your product.
The simple test n8n gives: is n8n the thing you sell, or a tool that helps you deliver something else? If it is the thing you sell, you need a commercial license. If you are unsure, email license@n8n.io.
n8n vs Zapier vs Make
| n8n | Zapier | Make | |
|---|---|---|---|
| Self-hosting | Yes, free | No | No |
| Pricing model | Free self-hosted, paid cloud | Usage-based plans | Usage-based plans |
| Custom code | JavaScript and Python | Limited code steps | Limited |
| Learning curve | Medium | Easy | Medium |
| Best for | Technical users, high volume, data privacy | Beginners, quick setups | Visual multi-step flows |
At thousands of tasks a month, self-hosted n8n can cost much less, since the server is your only bill. Need only two or three simple zaps, though, and Zapier is faster to set up.
Best n8n workflows for SEO and marketing
- Rank reports: every week, pull Google Search Console data and post a short summary to Slack or Google Sheets.
- Content pipeline: turn a keyword list in Sheets into briefs with an AI node, then save drafts to WordPress.
- Backlink outreach: read a prospect sheet, write a first email with AI, and send it through Gmail with a delay between messages.
- Lead capture: send form submissions to your CRM and alert your team in real time.
- Uptime checks: ping key URLs daily. You get a message when one breaks.
Who should use n8n self hosted?
It fits marketers, SEOs and small agencies that run the same tasks every week and are tired of paying per task. If you already have a VPS for your websites, adding n8n costs almost nothing. It also suits anyone who handles client data and wants it kept off third-party servers. Skip it if you have never used a terminal and only need one or two simple automations.
How to run n8n self hosted in production
The npx command below is fine for a quick test on your PC. For a live server, the official n8n Docker Compose guide is the recommended setup, so the app restarts on its own and your data sits in a saved volume. Put n8n self hosted behind a domain with HTTPS before you connect real accounts.
How to use n8n
- Run the Docker command below on your server or PC.
- Open http://localhost:5678 and create your owner account.
- Click Create workflow, add a trigger and connect your apps.
Install command
# Quick test on your PC (needs Node.js 20.19 to 24.x)
npx n8n
# Docker
docker volume create n8n_data
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n
# Then open http://localhost:5678n8n system requirements
- Node.js 20.19 to 24.x (for npm or npx install)
- Or Docker (recommended for servers)
- A VPS or local PC
- Port 5678 (default)
n8n pros and cons
Pros
- Free to self-host with no per-task fees
- 400+ integrations plus HTTP requests for any API
- JavaScript and Python code inside workflows
- Built-in AI agent and LangChain nodes
- Your data stays on your own server
Cons
- Not OSI open source; reselling needs a paid license
- Steeper learning curve than Zapier
- Self-hosting means you handle updates, backups and security
- Some enterprise features need a paid key
For SEO and marketing work, n8n is the best value automation tool if you are fine with a little setup. Rank reports, content pipelines and outreach sequences run on one cheap server instead of a growing Zapier bill. Beginners who only need a few simple automations will get started faster with Zapier.
n8n alternatives
n8n FAQ
Is n8n free?
Yes. The self-hosted community version is free to use for your own business. n8n Cloud is a paid hosted plan.
Is n8n open source?
It is fair-code, not OSI open source. The code is public, but the Sustainable Use License limits reselling and hosting it for others.
Can I use n8n for client work?
Yes. Building and running workflows for clients as paid consulting is allowed. Letting clients log in and build their own workflows needs a commercial license.
Does n8n need coding skills?
No. Most workflows are built visually, and you add JavaScript or Python only when you need custom logic.
What port does n8n use?
n8n runs on port 5678 by default, so you open http://localhost:5678 after installing.
