← Back to articles

What is n8n

n8n is a workflow automation platform with a visual editor and an open-source core. You connect services, APIs, and databases into chains without building a full backend application: data arrives via webhook, gets processed, and goes to Slack, Google Sheets, a CRM, or anywhere else. Below is what the tool is, how it works, and how it differs from Zapier and Make.

What is this project

n8n (pronounced "n-eight-n", from "nodemation") is a fair-code workflow automation platform created by Jan Oberhauser in Berlin. The project started in 2019 and grew into one of the most popular open-source tools for no-code/low-code automation: it has hundreds of thousands of stars on GitHub and an active community.

The idea behind n8n is simple: instead of writing a script for every integration, you build a workflow - a graph of nodes. Each node does one action: fetch an email, filter JSON, call an HTTP request, write a row to a spreadsheet. Connections between nodes pass data along the chain.

n8n is not tied to a single cloud. You can:

  • run it self-hosted on your own server, in Docker or Kubernetes;
  • use n8n Cloud - managed hosting from the project team;
  • embed it in CI/CD and internal infrastructure as part of a data pipeline.

The fair-code license: source code is open, self-hosting is free for most use cases, but some enterprise features and large-scale commercial use may require separate terms. For teams and pet projects this is usually not a barrier.

How a workflow is structured

At the center of n8n is a canvas with a drag-and-drop editor. A workflow consists of:

  • Trigger - entry point: webhook, schedule (cron), Gmail event, new row in Airtable, etc.
  • Nodes - processing steps: data transformation, conditions (IF), loops, API calls.
  • Connections - lines between nodes; JSON objects with fields flow through them and are available in the next step via expressions.

Data in n8n is an array of items, where each item is a JSON object. A node receives items, processes them, and passes them on. This is convenient for batch operations: one webhook with an array of orders can spawn dozens of parallel branches.

Expressions use syntax similar to JavaScript: {{ $json.email }}, {{ $now }}, access to previous node data via $('Node Name'). For complex logic there is a Code node - full JavaScript or Python right inside the workflow.

Key features

Integrations

More than 400 ready-made nodes for popular services: Google Workspace, Slack, Notion, HubSpot, Stripe, Telegram, PostgreSQL, Redis, AWS S3, OpenAI, and hundreds more. If there is no ready node - HTTP Request covers any REST API, and Webhook accepts incoming requests from your applications.

AI and agents

As LLMs grew, n8n added nodes for OpenAI, Anthropic, Google Gemini, and local models via Ollama. You can build chains: incoming request - classification via LLM - routing to different branches - reply in chat. The AI Agent node lets you assemble simple agents with tools without a separate backend.

Versioning and debugging

Workflows are saved with history. Test workflow mode runs the chain on real or test data without publishing. For each node you see input and output - this speeds up debugging compared to a "black box" in pure code.

Scaling

Self-hosted n8n runs as a Node.js application. For load you use:

  • queue mode with Redis and separate worker processes;
  • horizontal scaling in Kubernetes;
  • splitting triggers and execution across different instances.

For small teams, a single Docker container on a VPS is enough.

n8n vs Zapier and Make

Criterion n8n Zapier Make (Integromat)
Model Fair-code, self-host SaaS only SaaS only
Price Free self-host; cloud from ~€20/mo From $19.99/mo, task limits From $9/mo, credits per operation
Code JavaScript/Python in nodes Limited formulas Built-in functions
Data On your server In Zapier cloud In Make cloud
Complexity Higher learning curve Easier for beginners Medium, visual router

Zapier is the best choice for a quick start without DevOps: connect Gmail to Notion in five minutes. Make is more flexible in visual routing and JSON handling. n8n wins where data control, custom code, unlimited webhook calls on your own hardware, and no per-"operation" fees with self-hosting matter.

Who n8n is for

n8n fits well for scenarios such as:

  • Startups and product teams - fast integrations without a dedicated backend developer per connector.
  • DevOps and data engineers - ETL, sync between systems, alerts from monitoring to Slack.
  • Marketing and sales ops - lead from a site form - enrichment via API - CRM record - Telegram notification.
  • Personal automation - note backups, RSS digests, smart home via webhook.
  • AI prototypes - pipeline from document to embedding, RAG bot with reply in a messenger.

It fits less well if the team is not ready to administer a server and needs turnkey SaaS without a single line of configuration - then Zapier or n8n Cloud is simpler.

How to get started

Minimal path for self-hosted:

  1. Install via Docker: docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
  2. Open http://localhost:5678, create an account (local).
  3. Create a workflow: Webhook trigger - Set node for processing - HTTP Request or any service.
  4. Activate the workflow and send a test POST to the webhook URL.

For production add a reverse proxy (nginx, Caddy), HTTPS, backup of the volume with credentials, and environment variables for secrets - do not store API keys in nodes in plain text for team work; use the Credentials store.

Documentation: docs.n8n.io. The community is active on the forum and GitHub Discussions.

Summary

n8n is a mature open-source alternative to Zapier and Make for those who need visual automation with the ability to write code, keep data on their own infrastructure, and not pay per workflow step with self-hosting. The entry barrier is slightly higher than pure SaaS, but it pays off in flexibility: from simple "form - Slack" to AI agents and complex data pipelines.

If you already use APIs, webhooks, and cloud services - n8n is often faster than spinning up a separate microservice for every integration.

Frequently asked questions

Is n8n free?

Self-hosted n8n is free for most scenarios: you only pay for the server it runs on. n8n Cloud is paid managed hosting with plans from around €20 per month. Enterprise features (SSO, advanced permissions) may require a separate license - details are in the fair-code license on the project site.

Do you need to know how to program?

Not for simple scenarios: ready-made nodes and workflow templates cover typical integrations. For non-trivial logic - filtering, merging data, custom APIs - basic JavaScript and understanding JSON help. The Code node lets you get by without a separate backend repository.

How is n8n different from Zapier?

Main differences: n8n can be deployed on your own infrastructure, data does not have to pass through someone else's cloud, there is no per-operation fee with self-hosting, and there is more freedom with code and HTTP. Zapier is easier to onboard and has more "one-click" integrations for non-technical users.

Can n8n be used with local LLMs?

Yes. There are nodes for Ollama, LM Studio, and arbitrary OpenAI-compatible APIs. A typical scenario: webhook with a question - Ollama node - reply in Telegram. For production, run inference on a separate GPU server and cache frequent requests.

Is it safe to store credentials in n8n?

Credentials are encrypted in the n8n database with an instance key. For production: HTTPS at the edge, restrict UI access via VPN or SSO, regular updates, backups without exporting secrets in plain text, separate credentials per environment (dev/staging/prod). Do not expose n8n to the internet without authentication - webhook URLs become entry points into your integrations.

Contacts