
Guide
What is n8n?
n8n is a workflow automation tool you can self-host. What it does, how it differs from Zapier and Make, and whether it suits you.
n8n is a workflow automation tool. You connect services together on a canvas, in the form of when this happens do that, and it runs without you. What separates it from Zapier and Make is that you can run it on your own infrastructure, which changes where your data goes and how you are billed. It is fair-code rather than open source, and free to self-host for your own internal use. That freedom comes with an obligation most introductions skip: the instance holds credentials for everything it automates, and it has had critical vulnerabilities that required prompt patching.
Last reviewed:
What it actually is
A canvas where you place nodes and connect them. One node starts the workflow: a schedule, an incoming web request, a new row somewhere. Each node after it receives the previous node's output, does something, and passes its own output along.
The shape of every n8n workflow
- TriggerSomething happens
- ActionDo something
- ActionThen something else
That is the whole model. The rest is which nodes exist and how you get data from one to the next.
The detail that catches everybody once is the second sentence above: each node receives the previous node's output, not the original trigger data. A workflow that fetches a record, transforms it, and then wants a field from the original webhook has to carry that field forward deliberately. Most early confusion with n8n is this and nothing else.

- 1Authentication: None The Webhook node default, so a live workflow is a public endpoint
- 2One store, every service Spreadsheet, chat, CRM, mailbox, model provider
- 3What each key reaches Scope them per service, so a compromise is bounded
- 4A standing patching commitment Treat upgrades as security updates, not feature updates
What people actually build with it
Four shapes cover most of what gets built, and recognising which one you are building tells you how much care it needs.
Notify. Something happened, tell somebody. A form submission into a chat channel, a failed payment into a ticket. Low risk, immediately useful, and where almost everyone starts.
Move and reshape. Take data from one system, transform it, put it in another. A form into a spreadsheet, a spreadsheet into a CRM. This is where the tool earns its keep in most organisations, and where the failure mode is quiet: a field silently empty for three weeks because a name changed upstream.
Assemble on a schedule. A report built at seven each morning from four systems that do not talk to each other. Popular with finance and operations, and the workflow nobody documents until the person who wrote it leaves.
Decide and act. A ticket summarised by a model, routed by priority, and in the more ambitious versions answered automatically. This is the shape that needs the most thought, because it is the one where the automation acts rather than reports.
Cloud or self-hosted, on the axes that decide it
Expressions, and when you will meet code
You will run into expressions such as {{ $json.name }} within the first hour. They pull a value out of the data flowing between nodes and they are much closer to spreadsheet formulas than to programming. Most people become comfortable with them in an afternoon.
The Code node exists for what expressions cannot express: loops with real conditions, awkward reshaping, calling something with no dedicated node. It runs JavaScript or Python. Plenty of people build genuinely useful automation without ever opening it, and reaching for it early is usually a sign that a built-in node was missed rather than that code is required.
The honest summary is that n8n is a low-code tool rather than a no-code one. The floor is low and the ceiling is high, and the transition between them is gradual enough that you will not notice crossing it.
n8n and AI, which is where most of the interest is
Recent versions ship nodes for language models, agents, vector stores and memory, and this is what has pulled n8n into organisations that never wanted a workflow tool. An agent node with a set of connected tools is a genuinely capable thing to be able to build on a canvas in an afternoon.
It also imports every problem of the underlying architecture, and imports it into a system holding your credentials.
An n8n agent reading support tickets is reading attacker-writable text. The webhook that feeds it is frequently public. The tools you connected to it are real actions with real permissions. That combination is exactly the shape described in the prompt injection guide on this site, assembled quickly by somebody who was thinking about the automation rather than about the trust boundary.
None of that is an argument against building it. It is an argument for deciding what the agent is permitted to do before you connect the tools, because the canvas makes connecting them the easiest step rather than the one that deserves the most thought.
Is it open source?
Not quite, and the distinction has practical consequences.
n8n is fair-code, published under the Sustainable Use License. The source is public and you can read, modify and self-host it at no cost. What the licence restricts is use beyond your own internal business purposes: redistributing it, or embedding it in a product you sell, requires a commercial agreement. Offering consulting or support services around it does not.
For almost every organisation reading this the practical answer is that it behaves like free software. It matters if you intend to build a product on top of it, and in that case it is a conversation with n8n rather than a licence you can simply comply with by reading.
Where it fits
n8n suits you if
- Your data cannot leave infrastructure you control.
- You expect volume, and per-task pricing would hurt.
- Your workflows branch, loop, or need real logic.
- You already run servers and patch them, so one more is marginal.
Look elsewhere if
- You want the largest possible library of integrations.
- Nobody in the organisation operates infrastructure.
- You need it working this afternoon with no setup.
- One simple two-step automation is all you will ever need.
Note the phrasing of the fourth item on the left. The question is not whether you can stand a server up. It is whether you patch the ones you have, for reasons the security section below makes concrete.
How it is priced, and why it matters
Zapier and Make bill by task, meaning roughly each thing a workflow does. n8n bills by execution, meaning one run of a workflow however many steps it contains.
That sounds like a detail and it decides the tool at volume.
Billable units per month, one workflow
The same work is twelve thousand billable units on one model and one thousand on the other. Add a step for error handling and the first bar grows by a thousand while the second does not move at all. This is the mechanism by which teams find that making a workflow more careful made it more expensive, and it is a genuinely bad incentive.
The part introductions leave out
Two things, and the second is the one that should decide how you deploy this.
The webhook default
n8n's Webhook node has an Authentication setting, and it defaults to None.
The moment you build a workflow triggered by a web request and activate it, you have created a public endpoint that anyone who learns the address can call. If that workflow writes to a spreadsheet, posts into your team's chat, or feeds a model, so can they.
The patching commitment
This is the part that belongs in any honest introduction on a security site, and it is absent from nearly all of them.
n8n has had a serious run of critical vulnerabilities, and self-hosting means you own every one of them.
Critical vulnerabilities, and what they required
18 Nov 2025
1.121.0 fixes CVE-2026-21858
Ni8mare. CVSS 10.0, unauthenticated remote code execution via content-type confusion in webhook request parsing, allowing arbitrary local file reads, forged admin cookies and full takeover. Researchers estimated 100,000 exposed servers globally.
Late 2025
CVE-2025-68613
Authenticated remote code execution in the server-side expression evaluation engine, affecting versions from 0.211.0 up to the 1.120.4 and 1.121.1 fixes.
Jan to Feb 2026
Eight further CVEs
High to critical issues across expression evaluation, file access controls, Git, SSH, the Merge node and Python execution.
Ongoing
What this means for you
Not that n8n is unusually bad software. That an internet-reachable automation server holding every credential you gave it is a high-value target, and running one is a standing commitment rather than a setup task.
Read that list alongside what an n8n instance holds. To be useful it stores credentials for every service it touches: the spreadsheet, the chat workspace, the CRM, the mailbox, the model provider. An unauthenticated takeover of the instance is therefore a takeover of everything the instance can reach, which is usually a great deal more than anybody itemised when they approved it.
Getting started, honestly
There are two sensible routes and the choice is about what you want to learn.
n8n Cloud if you want to learn the tool. Nothing to install, webhook URLs are publicly reachable immediately, patching is somebody else's job, and you can be building in minutes. For a small business without an operations function this is usually the honest answer, and the monthly fee is cheaper than the first incident.
Docker if you want it on your own machine or server. It pins a known-good runtime and upgrades are a new image tag, which matters more than it sounds given the section above. If you install with npm instead, note that n8n requires Node.js between 20.19 and 24.x inclusive; outside that range it fails in ways that look like workflow problems rather than runtime problems, and people lose days to it.
A reasonable pattern for an organisation is to learn on Cloud, decide whether self-hosting is genuinely required by a data constraint, and only then take on the operator role deliberately rather than by drift.
That last phrase is doing real work. The common route to a badly run n8n instance is not a bad decision, it is the absence of one: somebody spins up a container to try something, it becomes useful, other people start depending on it, and at no point does anybody decide that the organisation now operates an automation server. Naming an owner at the moment it stops being an experiment costs nothing and is the single most useful thing you can do.
Where to go next
If you want to build something, the tutorial below walks a webhook into a spreadsheet into a chat notification, gets it running in production, and then closes the unauthenticated endpoint you will have just created.
If you are weighing n8n for an organisation rather than for yourself, the question that matters is not whether it can do the job. It is what the automation will be permitted to touch, what happens when the data arriving through it is not what you expected, and who is going to apply the next critical patch.
Common questions
›Is n8n free?
Self-hosted, yes. Without a licence key it runs as the Community edition at no cost, and you pay for the server it sits on. n8n Cloud, where they host it, is paid. The licensed enterprise features cover things like SSO, log streaming and external secret storage, which matter to larger organisations and rarely to a first workflow.
›Is n8n better than Zapier?
Different rather than better. Zapier has more integrations and is easier to start with. n8n gives you self-hosting, a canvas that handles branching and loops more naturally, and pricing by workflow execution rather than by task, which changes the economics sharply once volume grows. If your data cannot leave your infrastructure, n8n is one of very few real options and the comparison ends there.
›Do I need to know how to code?
No for most workflows. You will meet expressions such as {{ $json.name }} early, which are closer to spreadsheet formulas than to programming. A Code node exists for the cases nothing else covers, and plenty of people build useful automation without ever opening it.
›What can n8n actually do?
Move and transform data between services on a trigger. Common shapes: a form submission into a spreadsheet and a chat notification; a scheduled report assembled from several systems; a support ticket summarised by a model and routed by priority. It is at its best where the work is repetitive, rule-shaped and spans more than one system.
›Is n8n secure?
It can be, and the defaults do not get you there. A Webhook node's authentication setting defaults to None, so a new workflow's URL is an unauthenticated public endpoint until you change it. Self-hosting also makes you responsible for HTTPS, patching and access control. None of this is difficult; it is simply absent from most introductions.
›What is the catch with self-hosting?
You become the operator. Backups, upgrades, TLS certificates, and being the person who notices when it stops. For a team already running infrastructure that is marginal effort. For a small business without an ops function it is a real commitment, and n8n Cloud is often the honest answer.
Where to go next