ARTICLE 04 · AUTOMATION · 2026-10-21

What is n8n? What it does and how companies use it

n8n lets LINE OA, Google Sheets, email and your accounting program pass data to each other, with an AI step reading the messages a person used to read. Before you start, know which jobs fit, where it will run and what the license allows.

What is n8n? What it does and how companies use it
The short version
  • n8n builds automated workflows by wiring boxes together on a screen, with AI steps or code where you need them.
  • It fits work that moves data between systems that already have an API: LINE OA, Google Sheets, email, a CRM, your accounting program.
  • You can install it on your own server or use n8n Cloud. The self-hosted edition carries no license fee for your company's internal work.
  • If a system only has a screen, if you need a screen for customers, or if the job is heavy data transformation, another tool fits better.

What n8n is

n8n (say "n-eight-n") is a tool for building automated workflows. You place boxes called nodes on a canvas, draw lines between them, and n8n moves data along those lines every time something happens: a customer messages your LINE OA (LINE Official Account, the business chat channel most Thai companies sell through), or it turns 8 a.m. on Monday. Its developer describes n8n as a fair-code platform for building workflows and AI agents.

It runs in a web browser. People who don't code wire boxes together; people who do can add code. For AI, the AI Agent node connects a language model to tools and lets the model choose which tool to call, and n8n can also connect to MCP servers.

What one workflow is made of

Every workflow starts with a trigger, the first box, which waits for an event: a webhook another system calls, a schedule or a new email. After it come nodes that each do one thing: read a row in a sheet, call a CRM's API, send a message. To open another system, a node needs a credential, a password or token that n8n stores encrypted. Every run is saved as an execution, so you can look back at what each box received and what it passed on.

Draw the work on paper before you open n8n. Teams that skip this step tend to end up with a workflow that runs but that nobody can explain box by box.

The three-column map: event, steps, result

  1. Column 1, event. What starts the work, in one sentence, such as "a customer sends a name and phone number on LINE OA." If you can't write it, the job isn't ready to automate.
  2. Column 2, steps. What people do today, one line per step: which system the data comes from, who decides. A line that means reading free-form text is where an AI step goes.
  3. Column 3, result. Which system the work ends in, and who needs to know when it doesn't finish.

The rule: every line in column 2 must point to a system that has an API or accepts a file. A line that reads "someone opens a screen and clicks" is work n8n can't do for you.

Three workflows a Thai company can use

The first takes in new leads. A customer's message on LINE OA arrives at an n8n webhook. An AI step splits it into fields: name, product of interest, quantity, urgency. n8n adds a row to the Google Sheet the sales team already works in, creates the contact in the CRM and sends a summary to the salesperson for that territory. The LINE node that ships with n8n was built for LINE Notify, which has shut down; reaching LINE OA today goes through the Messaging API with the HTTP Request node.

The second takes in supplier invoices by email, as PDFs or e-Tax Invoices (Thailand's electronic tax invoices). An AI step reads the document number, the supplier's tax ID, the pre-tax amount and the VAT. n8n checks them against the purchase order, sends a matching invoice to a manager to approve, then records it in the accounting program. Some accounting programs have an API, others only take an import file. n8n handles both; you need to know which one you have before you start. Anything tied to money like this should have a human approval step.

The third assembles the weekly report. Every Monday morning n8n pulls sales from the ERP, open tickets from the customer service system and ad spend from the marketing team's sheet into one table, has an AI step write a three-line summary and emails it to management. Whoever used to build the report now only checks the numbers that look wrong. More office examples are in our AI office article, and how to measure the time saved is in the 3 days to 3 hours article.

Self-hosted or n8n Cloud

n8n Cloud is fully managed by the developer. Self-hosted means you install n8n on your company's server or private cloud; n8n recommends Docker Compose with a database for production. In exchange, your team looks after the machine, the backups and the version updates.

The deciding question is whether customer data passes through the workflow. If it does, you have to be able to say where personal data rests under PDPA (Thailand's Personal Data Protection Act). Self-hosting makes that easier to answer, because executions and credentials stay on a machine you control. Back up the key n8n uses to encrypt credentials and keep it somewhere safe; without it, none of the credentials can be decrypted. Sharing credentials between users, storing workflows in Git and single sign-on are in the paid editions.

The n8n license in plain words

The self-hosted Community edition is under the Sustainable Use License. Three points matter. First, you may use and modify it with no license fee for your own internal business purposes or for non-commercial use. Second, you may pay an outside firm to build, install and maintain workflows for you; n8n's license FAQ says so. Third, you may not offer n8n as a service where your customers build their own workflows, and you may not remove n8n's branding and sell it as your own.

If you use n8n inside your company, none of this gets in the way. If you plan to embed n8n in a product you sell, read the full terms or ask n8n first. n8n Cloud has its own terms.

Situationn8nCustom codeRPAOff-the-shelf automation tool
Moving data between systems that have an APIGood fit, the whole flow on one screenNeeds a developer for every changeMore than you needGood fit if the data may leave the company
An old program with only a screenCan't do it directlyHardGood fit, a bot clicks for a personCan't do it
A screen customers or staff use every dayPoor fit, simple forms onlyGood fit, build an app or websitePoor fitPoor fit
Heavy data transformation, layered calculationsSlow and hard to maintainGood fit, with testsPoor fitPoor fit
Customer data must stay in the companyGood fit when self-hostedGood fitGood fit when installed in-houseCheck where the data rests
No developers on the teamn8n Cloud, or hire someone to run itNeeds ongoing supportNeeds ongoing supportFastest to start yourself

When to use something other than n8n

The first sign: the system you need to touch only has a screen, with no API and no file import, such as an old program on a staff PC. That job belongs to RPA, where a bot clicks for a person. The second: what you need is a screen people open every day, such as a booking system or a dealer portal. That is an app, with n8n doing work behind it.

The third: the job is transforming a lot of data, such as reconciling a month of bank transactions, calculating multi-tier commissions or migrating data out of an old system. Code with tests is easier to maintain than a workflow with dozens of boxes. More in connecting a new app to your ERP, accounting and legacy data.

A cleaning-supplies distributor in Nonthaburi (name and details invented) asks its IT staffer to try a first workflow in n8n: leads from the website form and LINE OA go into Google Sheets, and the sales team gets a message.

In week three, a sales assistant renames the column "Phone" to "Contact number." The workflow keeps running without errors, but the phone numbers of new leads are missing for the whole week. In month two, the IT staffer leaves and the company closes his Google account. The credential tied to that account stops working at once, the whole workflow stops, and nobody knows where to look. Second time round, the company moves the credential to a company account, adds an error workflow that posts to the IT team's LINE group, adds a step that checks every row has a phone number, and writes one page on which columns the workflow reads.

What to ask before adopting n8n

These work whether your own team starts or you hire someone. If you're not yet sure which job pays off, start with calculating the cost of manual work.

  • Does every system in the steps column have an API or accept a file?
  • Does customer data pass through the workflow? If so, self-hosted or n8n Cloud?
  • Are credentials tied to a company account or a personal one, and who holds the encryption key?
  • When a workflow fails, who is told, and through which channel?
  • Which steps touch money or customers, and who approves them?
  • Who can edit workflows, and how do you roll back to the previous version?
  • If n8n will sit inside a product you sell, does that use fit the Sustainable Use License?
For the development team · Error workflows, retries, idempotency, secrets and version control

Set an error workflow in Workflow Settings for every production workflow. It starts with an Error Trigger, which receives the execution ID, the error message and the last node that ran; forward that to LINE or email. Turn on Retry On Fail only for nodes that call external systems. Any step that writes data needs an idempotency key, such as the invoice number, so a retry never records the same item twice. Set N8N_ENCRYPTION_KEY yourself and keep it in the company's secret management. n8n stores workflows as JSON; if your edition has no source control, export them to Git yourself. Exported files carry credential names and IDs, not secret values, except headers in HTTP Request nodes imported from cURL. Set the timezone to Asia/Bangkok, because the instance default is New York time. Community nodes have full access to the machine n8n runs on; use only ones you have reviewed.

DNA MAKER · AUTOMATION

How we build and hand over n8n workflows

DNA Maker starts by watching the work your team repeats every day, draws the three-column map with you, and picks the first workflow that gives your team time back fastest. We install n8n on your company's server or cloud account, so the credentials and the encryption key stay in your hands, and connect LINE OA through the Messaging API, Google Sheets, email, your CRM and your accounting program. Steps that touch money or customers have a human approval point, and every workflow has an error workflow that alerts someone when it fails.

The people who work with you are DNA Maker's own team; we don't subcontract. At handover you get every workflow file, documentation node by node, and training so your team can change messages or approvers without us. Most first sets of workflows take two to six weeks. If your job should be an app, RPA or code, we'll say so on day one. Details are on the n8n automation and AI workflow pages, or ask Dream in the chat.

Software engineering glossary

TermWhat it isA simple exampleWhat executives should ask the development team
WorkflowA sequence of steps a system runs on its own when an event happensA customer messages on LINE and the name lands in the sheet and the CRMWhat starts this workflow, and which system does it end in?
WebhookAn address one system sends data to the moment something happensLINE sends a customer's message to n8n as soon as it's typedIf someone learns this address, can they send fake data in?
Human approvalA point where the workflow stops and waits for a person to decideA manager approves an invoice before it's recordedWhich steps need approval, and is who approved recorded?
IdempotencyRunning something again without doubling the resultThe same invoice arrives twice and is recorded onceIf the workflow runs twice, does the item go in twice?
Secret managementKeeping passwords and keys somewhere safe, apart from the work itselfn8n's encryption key sits in the company's secrets vaultIf the person who set this up leaves, can we still reach the key?
Try this tomorrow: pick one job where someone on your team copies data between systems every day. Draw the three-column map, write the system name under every line in the steps column, and circle any system with no API and no file import. If there are no circles, the job can start in n8n. If there are, that is the first question to answer before you choose a tool.