n8n is a tool that connects your apps and moves data between them without you doing it by hand. You can use it for free by running the Community edition on your own computer or server with Docker. The paid option, n8n Cloud, does the hosting for you and starts with a free trial.
I am an n8n Verified Creator and I build automation systems for businesses. This guide is the plain version I wish every beginner had.
What is n8n and what is it for?
n8n is a visual workflow builder. You place boxes on a canvas and draw lines between them. Each box is called a node. A node does one job: wait for something to happen, fetch data, change it, or send it somewhere.
Here is an everyday example. Someone fills in the contact form on your website. Then:
- n8n receives the form submission.
- It adds a row to a Google Sheet with the name, email and message.
- It sends the person a confirmation email.
- It posts a message in your team chat so someone follows up.
Nobody copies or pastes anything. That chain of steps is a workflow.
People use n8n for lead handling, reporting, invoicing reminders, syncing a CRM, and more recently for AI steps such as sorting or summarising incoming messages.
Is n8n free?
Partly. There are two ways to use n8n.
- Self-hosted Community edition. You run n8n on your own machine. The software costs nothing. n8n's docs call it the free edition and say it has almost the complete feature set. See the edition comparison.
- n8n Cloud. n8n hosts it for you and you pay a subscription.
n8n is not open source in the strict sense. It uses the Sustainable Use License. In short, you may use and modify it for your own internal business purposes or for personal use. You may not sell it to others as a product or hosted service. If that is your plan, read the licence itself.
Some team features are not in the free edition, such as single sign-on, sharing workflows between users, and Git version control. A solo user or small business rarely needs them on day one.
How to use n8n for free: run it locally with Docker
One thing to know first. n8n 3.0 was released on 27 October 2026 with breaking changes. n8n's blog calls it a beta, with the stable release due in early December. From 3.0, installing with npm or npx n8n is no longer supported, so skip older tutorials that use it. Details are on the v3.0 breaking changes page.
- Install Docker Desktop and start it. On Windows, the n8n docs say to run the command from WSL.
- Open a terminal in the folder where you want n8n to live.
- Run the official one-line setup:
curl -fsSL https://get.n8n.io | sh
- Wait. The script checks that Docker is running, creates an
n8nfolder, writes the config files and starts n8n. The first start can take a few minutes. - Open
http://localhost:5678in your browser and create your owner account.
To stop and start it later:
docker compose -f ./n8n/compose.yml down
docker compose -f ./n8n/compose.yml up -d
To update it:
curl -fsSL https://get.n8n.io | sh -s -- --upgrade
n8n says this setup is meant for a local or development machine and should not be exposed to the internet. Full details are in the one-line setup guide.
You may also see the older single-container method in tutorials:
docker volume create n8n_data
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-e GENERIC_TIMEZONE="<YOUR_TIMEZONE>" \
-e TZ="<YOUR_TIMEZONE>" \
-e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
-v n8n_data:/home/node/.n8n \
n8nio/n8n
It is still in the Docker docs, but n8n now marks that page as outdated and points to Docker Compose instead.
A local install has one clear limit. It only runs while your computer is on, and outside services cannot reach it easily. It is perfect for learning. It is not where a live business workflow should stay.
How to set up n8n self hosted on a server
For workflows that must run all day, you need a server. n8n's Docker Compose guide is the recommended route. It asks for at least 4 GB of RAM and 2 vCPUs, and advises a dedicated host with nothing else on it. For a team or production setup, n8n recommends Postgres instead of the default SQLite database.
You pay the server provider, not n8n. Prices differ by provider, so check theirs.
What self-hosting really costs
The software is free. Your time is not. If you self-host, these jobs are yours:
- Updates. n8n ships new versions often. Major versions such as 3.0 can break workflows, so you need to read the notes before you upgrade.
- Backups. Your workflows and credentials live on your machine. If the disk fails and there is no backup, they are gone.
- Keeping it online. If the server stops at night, your workflows stop too. Somebody has to notice.
- Security. An n8n instance holds the keys to your email, CRM and other tools. It needs HTTPS, a firewall and strong passwords.
n8n's own docs warn that self-hosting mistakes can lead to data loss, security issues and downtime, and they recommend Cloud if you have no server experience. I agree with that advice.
n8n Cloud: the easy paid route
n8n Cloud is the same product, hosted and updated by n8n. You sign up and start building in a few minutes.
What I confirmed on n8n's pages today:
- The Cloud trial lasts 14 days, includes Pro plan features, is limited to 1,000 executions and needs no credit card.
- The pricing page showed Starter at €20 per month with 2,500 workflow executions, and Pro at €50 per month with 10,000. Both figures are for annual billing.
- Plans are priced by workflow executions. One execution is one full run of a workflow, however many steps it has.
Prices and limits change, and may show differently in your country. Check the current plan page before you decide.
n8n tutorial for beginners: your first workflow
Let us build the form example. The official first workflow guide covers the basics of the editor if you want more depth.
- Select Create workflow.
- Select Add first step and choose the n8n Form Trigger. Add three fields: name, email and message.
- Select + after the trigger and add a Google Sheets node. Choose the action that appends a row. Connect your Google account when asked, then pick your sheet.
- Map the form fields to the sheet columns by dragging them from the input panel.
- Add a Gmail node (or Send Email) to send the confirmation. Use the email field from the form as the recipient.
- Add a Slack node (or the chat tool you use) to post a short message to your team.
- Select Execute to test. Fill in the form once. Every node should show a green check mark.
- Select Publish. The workflow now runs on its own each time the form is submitted.
Build one small workflow like this before you try anything bigger. Most beginner problems come from starting with twenty nodes.
n8n AI agent tutorial: how an AI step fits in
An AI step is just another node in the chain. n8n has an AI Agent node. The docs describe an agent as a chain that knows how to make decisions.
At a high level it has three parts:
- A chat model. This is the language model that does the thinking, for example from OpenAI or Anthropic. You connect your own API key and pay that provider for usage.
- Tools. These are actions the agent may use, such as looking up a row in a sheet. The agent picks which tool fits the request.
- Memory. Optional. It lets a chat keep track of the conversation.
In our form example, an AI step could read the message, label it as "sales", "support" or "other", and route the chat alert to the right person.
My advice: get the plain workflow working first, then add one AI step. n8n's AI tutorial walks through a first agent.
Make vs n8n vs Zapier
All three connect apps. They suit different people.
- Zapier is the simplest to start with. It fits non-technical users who want a few straightforward automations and do not want to think about hosting.
- Make is also hosted and visual. It fits people who want more branching and control than Zapier, still without running a server.
- n8n fits you if you want to self-host, keep data on your own infrastructure, add custom code, or build AI agents inside the same workflows. The price of that control is a steeper learning curve.
I work in n8n because my projects need that control. If you need three simple automations and never want to see a server, a hosted tool may be the better choice. Compare each one's current pricing page against how many runs you expect per month.
FAQ
Is n8n really free?
The self-hosted Community edition is free to use for your own business under the Sustainable Use License. You still pay for the computer or server it runs on, and you spend your own time on upkeep. n8n Cloud is paid after the trial.
Can I still install n8n with npm?
Not from version 3.0. n8n's breaking changes page says installs using npm or npx n8n are no longer supported. Use Docker instead.
Do I need to know how to code?
No. You can build useful workflows by connecting nodes and mapping fields. Code helps for unusual cases, and self-hosting on a server does need basic technical skills.
Should I start with self-hosted or Cloud?
To learn at no cost, run it locally with Docker. For workflows your business depends on, choose Cloud unless you or someone on your team is comfortable looking after a server.
Want this done for you?
All services- AI automationAI automation for B2B service firms and agencies: manual work mapped, automated in n8n, Make or Zapier, and kept running after launch by the person who built it.
- CRM automationCRM architecture and automation for B2B firms: data model, lead routing, scoring and sync between tools in HubSpot, Salesforce and GoHighLevel.
- n8n automation consultantAn n8n automation consultant who is also a growth partner: n8n Verified Creator, building and running lead, sales and operations workflows for B2B firms.