Contents (9)
Its name comes up wherever automation is discussed: n8n is an open-source automation tool in which you build workflows by connecting boxes, and which you can install on your own server. This guide explains how n8n works, how it differs from Zapier and Make, how AI steps fit in, what to watch when self-hosting and, most importantly, where n8n is enough and where you need to write code.
#How does n8n work?
An n8n workflow has three parts: a trigger (an incoming webhook, a schedule, a new email, a form submission), a chain of nodes (read data, transform it, branch on a condition, write to another system) and a result (a record, a notification, a file). Hundreds of ready-made nodes connect to common services such as Gmail, Outlook, Google Sheets, Slack and HubSpot; the HTTP node calls any system with an API; the code node lets you write JavaScript (and Python). Every run is recorded step by step: what data came in, what each step produced and where it failed.
#n8n vs Zapier vs Make
| n8n | Zapier | Make | |
|---|---|---|---|
| Hosting | Your own server or n8n's cloud | Cloud only | Cloud only |
| Pricing | No licence fee on your own server; cloud version is paid | Monthly plan by number of tasks | Monthly plan by number of operations |
| Where data is processed | On the server you choose | On the provider's infrastructure | On the provider's infrastructure |
| Custom code | JavaScript and Python node | Limited code step | Limited code step |
| AI steps | Model nodes, any provider via API | Built-in AI steps | Built-in AI steps |
| Best for | Teams that want data to stay in-house, growing volume, and can write code | Quick start, low volume, common services | Visual, complex branching when cloud is acceptable |
For most businesses the decisive row is “where data is processed”: in workflows that carry customer details, invoices and contracts, keeping the data on your own server simplifies both the data protection assessment and the contractual side. The second is cost: with tools priced per task, the monthly bill grows with volume; with n8n, the server and maintenance cost is fixed.
#AI steps in n8n
n8n's language model nodes make it easy to add steps such as “classify this email”, “extract these fields from this text” or “summarise this record” in the middle of a workflow. The model is connected through an API; OpenAI-compatible providers or a local model on your own server can be used. In a well-built workflow the model is asked for structured output (specific fields), the output is validated by code and records below the confidence threshold go to a person. We walk through this approach with 10 scenarios in what is AI automation.
#Self-hosting: what you need
- A server: A small VPS is enough for most businesses; resources grow with the number of workflows and the volume. Shared hosting is not suitable.
- Docker installation: n8n and its database (PostgreSQL) run as containers; updates are a single command.
- HTTPS and access: Webhooks need a domain name and TLS; the editor should be open only to authorised users.
- Secrets: API keys and passwords are kept encrypted in n8n's credentials store, never written into workflow files.
- Backups and monitoring: Workflow definitions and run logs are backed up regularly; error and delay alerts are set up.
#When is n8n enough?
- When the services to connect have ready-made nodes (email, spreadsheets, CRM, messaging).
- When the workflow is linear or has only a few branches: it arrived, was classified, was written, was notified.
- When the volume is tens of records an hour or hundreds a day.
- When a non-technical person should occasionally be able to open and understand the workflow.
- When you want to build a quick pilot and see whether it works.
#When do you need code?
- Complex business logic: Pricing, commission and stock reservation calculations with many conditions become unreadable in a visual workflow; in code they can be tested.
- High volume and speed: Thousands of records a minute or instant responses are handled more efficiently by a dedicated service.
- Transactional integrity: Multi-step records that must be “all written or none”, retries and duplicate prevention are safer in code.
- Testing and versioning: When workflow changes need automated tests and a version history.
- A user interface: If you need an approval screen, a panel or a customer-facing form, n8n alone isn't enough.
#Both together: the most common set-up
In practice the healthiest structure combines the two: triggers, ready-made integrations and notifications live in n8n; complex calculation, validation and write operations are written as a small service in code, and n8n calls that service over HTTP. The workflow stays visible and the critical part stays testable. We use this structure in our workflow automation projects; which step lives where is decided in the scope document. For the general distinction between ready-made tools and custom software, see custom software vs off-the-shelf.
#Licence and cost
n8n is “fair-code” licensed: the source is open, and installing it on your own server for your internal business use is free; n8n's cloud version and some enterprise features are paid. The total cost has three parts: the server, maintenance and, if there is an AI step, model usage. We explain how these are priced in AI automation project cost and timeline; starting prices are on the pricing page.
Which task should we automate first?
Let's pick one repetitive task together; the price and schedule go in a scope document. The discovery call is free.
The discovery call is free. Same-day reply on weekdays 09:00–18:00 (GMT+3), otherwise within 24 hours. · See the service
Frequently asked questions
Is n8n free?
Installing it on your own server for your internal business use is free (fair-code licence). n8n's cloud version and some enterprise features are paid, and the server and maintenance cost is separate.
What is the difference between n8n and Zapier?
Zapier runs only in the cloud and is priced by number of tasks; n8n is installed on your own server, data doesn't leave the company, there is no per-task fee and custom code can be written in JavaScript or Python.
Does n8n work in languages other than English?
The interface is in English; workflows handle data in any language without problems. The quality of AI steps in a given language depends on the model used, so models are compared on real examples before choosing one.
Is self-hosting n8n secure?
Yes, if it is set up properly: HTTPS, authorised user access, encrypted credentials, regular updates and backups. Without that maintenance it carries the same risks as any server.
Which programs can n8n connect to?
There are hundreds of ready-made integrations: email, Google Sheets and Excel, Slack and Teams, CRMs such as HubSpot, databases. Any system with an API but no ready-made node is connected through the HTTP node; without an API, transfers are set up via files or email.