What is n8n? A guide to automating work with n8n for beginners

October 24, 2026

Updated:

Guide
What is n8n? A guide to automating work with n8n for beginners

n8n is a workflow automation platform that lets you connect applications and services using drag-and-drop diagrams, with the ability to write code when needed. n8n runs on your own server or the company's cloud service, and currently supports AI agents. For small business owners, n8n replaces repetitive tasks like copying data from forms into spreadsheets, alerting when new orders arrive, or summarizing emails, with a self-running workflow.

Example n8n workflow: form from website sends webhook, filters, writes to Google Sheets, alerts Telegram
A typical n8n workflow: a trigger event, then processing steps connected in sequence. Diagram: OPCAIOS.

What is n8n?

n8n is a workflow automation platform and AI agent builder following the "fair-code" model: source code is public and self-installable, but released under the Sustainable Use License rather than a purely open-source license. According to the official README, n8n combines a drag-and-drop interface with JavaScript or Python code when needed, connects over 1,500 services, and has over 9,000 pre-built workflow templates. For example, a template workflow can connect Gmail with Google Sheets and Slack using just a few drag-and-drop nodes.

The name "n8n" is pronounced "n-eight-n", short for "nodemation": "node" because the interface uses nodes connected together and runs on Node.js, and "mation" from "automation". According to GitHub in October 2026, the project has over 208,000 stars and continues to be updated regularly.

Three characteristics make n8n different from many similar tools:

  • Self-hosted: you run n8n on your own server, so data never leaves your infrastructure.
  • Code fallback: when facing difficult tasks, you can insert a code node instead of being blocked by the interface.
  • AI support: has built-in AI agent nodes, can connect with models from OpenAI, Anthropic, Google, or open-source models, and switch providers without rebuilding your workflow.

How does n8n work?

A workflow in n8n is a sequence of nodes connected by arrows: the first node is a trigger node, and subsequent nodes process data in order. Example scenario: when someone fills out a form, a Webhook node receives the data, an IF node filters it, a Google Sheets node adds a row, and a Telegram node sends an alert within seconds. Data passes through each node as a list of JSON items, and the next node can read every field created by the previous one.

Node type Role Example
Trigger Start the workflow Webhook receives data, schedule runs by time, new message
Action Work with an application Add row to Google Sheets, send Telegram message
Logic Branch, merge, filter IF, Switch, Merge
External call Call any API HTTP Request
Code Custom processing with JavaScript or Python Code
AI Use AI models, agents AI Agent

If you're not yet familiar with two foundational concepts, read first: What is an API? and What is a Webhook?: almost every n8n workflow starts with a webhook and uses an API call node to do work.

How is n8n different from Make and Zapier?

n8n differs from Make and Zapier mainly in where it runs, how it charges, and the level of technical freedom, though all three connect applications and run workflows automatically. According to the official README, n8n connects over 1,500 services; Zapier connects over 9,000 applications according to Zapier's website. Example scenario: a business running 10,000 tasks per month needs to compare the cost of n8n's server with Zapier's per-task fees.

Criterion n8n Make and Zapier
Where it runs Self-hosted on your own server or use n8n's cloud Cloud service
Pricing Self-hosted: cost is at the server you pay for; cloud: by plan By plan and number of operations
Writing code Has code node, can use npm libraries More limited
Data Can keep entirely on your infrastructure Goes through provider's infrastructure
Ease for beginners Requires getting comfortable with concepts Easier to start

Choose Make or Zapier if you want to get running in 15 minutes and don't want to manage a server. Choose n8n if you need data control, have large volume, or need to embed code and AI in your workflow. Details on each tool are in the library: n8n, Make, Zapier.

How do I install n8n?

Installing n8n means running a Docker container on your machine or on a server. According to the official n8n README on GitHub, there are two ways. For example, beginners only need Docker Desktop on their personal machine and about 10 minutes to see the editor. The fastest way is to use the installation command (you need to install Docker first):

curl -fsSL https://get.n8n.io | sh

Or run manually with Docker, with a storage volume so data doesn't get lost when you restart:

docker volume create n8n_data
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n

Then open the editor at http://localhost:5678. Running on your personal machine to learn is enough. If you want workflows to run 24/7 and receive webhooks from the Internet, you need a separate server (VPS) with a public address and HTTPS. OPCAIOS itself runs n8n on a separate server for internal workflows.

Two things not to skip when installing yourself: back up the data volume and encrypt the credentials (the N8N_ENCRYPTION_KEY environment variable), because losing the key means any connected accounts can't be read again; and don't leave the editor open publicly without authentication.

How do I create my first n8n workflow?

The first workflow should be simple and immediately useful: when someone fills out a contact form on your website, save it to Google Sheets and send a message to Telegram. Follow these steps:

  1. Create a new workflow and add a Webhook node as the trigger. n8n gives you two addresses: a Test address and a Production address.
  2. Paste the Test address into your website or form's webhook section, send a test form so n8n receives sample data.
  3. Add an IF node to filter, for example only process forms that have a phone number.
  4. Add a Google Sheets node (add row) and map the fields from the form to the columns.
  5. Add a Telegram node to send a notification about the new contact.
  6. Turn on the workflow (Active) then switch your website to the Production address.

The website opcaios.org can send a webhook when there's a new form submission, with a signature so the receiver can verify it; the post What is a Webhook? explains how to check the signature, and n8n can do it with a Crypto node combined with an IF node.

Common mistakes when using n8n

Common mistakes when using n8n are recurring errors from beginners, grouped into five categories below, and most are easy to fix if you know about them beforehand. For example, a workflow scheduled for 8 AM runs at 1 AM instead just because the timezone is set wrong.

  • Mixing up the Test and Production addresses. The Test address only works when you're listening in the editor; the Production address only receives data when the workflow is turned on. Sending to the Production address when the workflow isn't on will get a 404 error. We once had exactly this situation: a webhook used to connect internal agents returned 404 because the corresponding workflow hadn't been imported and turned on on the server.
  • Forgetting to turn on the workflow. A workflow saved but not Active won't run on schedule by itself.
  • Setting the wrong timezone. The schedule node runs on n8n's timezone; set it correctly (for example Asia/Ho_Chi_Minh) so an 8 AM workflow doesn't run at 1 AM.
  • Misunderstanding list data. A node receiving a list means the following nodes run once for each item; if you only want to run once, you need to combine them first.
  • Not handling errors. When one step fails, the workflow stops silently. Add a separate workflow that listens for errors and reports to Telegram or email so you know right away.

What do I need to pay attention to for security when installing n8n myself?

Security when installing n8n yourself is about protecting the keys and passwords of many services like Google, OpenAI, or Telegram that n8n stores, so an n8n server is a worthwhile target and needs to be protected like a small safe. Example scenario: if the editor is open publicly without authentication, a stranger can use the keys of 5 connected services. The minimum checklist includes five things:

  1. Run behind HTTPS and restrict access to the editor with strong authentication.
  2. Update regularly n8n version and the server's operating system.
  3. Each service gets its own key, minimum permissions: use read-only permissions if the workflow only queries.
  4. Verify incoming webhooks with a key or signature, so no one can fake events.
  5. Back up regularly the data and encryption key, and test restoring it.

When to Use n8n, When Not To

Use n8n when a process repeats many times, involves 2 or more applications, and the rules are clear enough to write out as steps. Example: a task that takes 3 hours per week like pushing contacts from a form into CRM, compiling weekly reports, sending appointment reminders, or sorting emails with AI.

Don't use n8n when the work only happens a few times, when rules aren't clear and need judgment for each case, or when you have no one to maintain the server. In those cases, cloud services like Make or Zapier, or doing it by hand, causes less trouble.

With AI agents, n8n's README describes support for multi-step processes, using tools and having a human review step. Keep a human review step before irreversible actions like batch emailing or changing customer data; see the post What is graph engineering? on how to design AI workflows with independent check steps. If you need AI to call into your systems, the post What is MCP? explains the connection standard.

Read more: Guide to installing n8n on VPS and automating business processes from A-Z for Solopreneurs; Weekly reports automatically for OPC owners; How to automatically track prices and posts of competitors using Firecrawl and n8n, 5 best process automation tools 2026.

Frequently Asked Questions

Is n8n free?

Installing n8n on your own server costs no license fee under the Sustainable Use license for internal use, but you pay for the server and maintenance. n8n's cloud version charges by plan. Read the license carefully on the official site if you plan to sell n8n as a service to customers.

Is n8n open source?

Not entirely. n8n is "fair-code": source code is public and self-installable, but the Sustainable Use license restricts how you can commercialize it, unlike pure open source licenses like MIT.

Does n8n require coding?

Not required for basic workflows: drag-drop nodes and connect fields. Knowing JSON and understanding APIs helps a lot when workflows get complex, and the Code node lets you use JavaScript or Python when needed.

Should I use n8n or Make?

Pick Make if you want to start right away without managing a server. Pick n8n if you need data control, high volume, or embedding code and AI. Many people start with cloud then move to self-hosting as they scale.

Where do I learn n8n fast?

Start with a small workflow like the form-to-Google-Sheets example above, use pre-built templates on the official site, and read the docs at docs.n8n.io. To build automated workflows for your business, check out OPCAIOS's AI application training course.

Source: Official README of n8n on GitHub and n8n.io (checked 22/10/2026); OPCAIOS's experience running n8n.

Translated from Vietnamese with AI. Read the original.

Want to apply this in your business?

Book a free 30-minute call (Vietnam time, in English or Vietnamese).

Book a call