
n8n is a workflow automation tool. You start a workflow with a trigger, such as a webhook or a schedule, and chain nodes after it that call apps, transform data, branch and run code. Its docs call it a fair-code licensed tool that combines AI features with business process automation. You can self-host it for free or pay n8n to run it on n8n Cloud.
Key takeaways
- A workflow is one trigger plus connected nodes. Each node is an integration, a data step or a logic step.
- n8n.io lists 500+ native integrations (checked 13 November 2026), and the HTTP Request node reaches any API that has no dedicated node.
- Cloud plans bill by workflow executions. One execution is one full run, however many steps it has.
- The self-hosted Community edition is free, but the licence limits you to internal business, non-commercial or personal use.
- The test URL and the production URL differ, every webhook request counts as an execution, and a failed run needs an error workflow. Set all three up before go-live.
What n8n is
n8n connects apps and services so that a repeated task runs without a person starting it. The company's own docs describe it as a fair-code licensed workflow automation tool that combines AI features with business process automation, and its homepage lists 500+ native integrations (checked 13 November 2026). The source code is public on GitHub, where the repository dates from June 2019.
You can run n8n on your own server or on n8n's hosted Cloud. A Code node lets you write JavaScript or Python in the middle of a workflow when no ready-made node fits. The visual canvas shows each step, and you can open any past run to see the data that went in and out of each node.
How a workflow is built
n8n's docs use a small vocabulary. These are the terms you need:
| Term | What it means in n8n |
|---|---|
| Node | An integration or a step. The nodes docs describe nodes as an entry point for data, a function that processes data, or an exit for sending data. |
| Trigger | The node that starts a run: a webhook, a schedule, a form, an app event or a manual click. |
| Workflow | Connected nodes that run in order from the trigger. |
| Execution | One run of a workflow, per the executions docs. |
| Credential | Stored login details for a service, reused across nodes. |
| Expression | A snippet such as {{ $json.body.email }} that reads data from an earlier node. |
Data moves between nodes as a list of items. Per the data structure docs, all data passed between nodes is an array of objects, with each item's fields under a json key. A node processes each incoming item in turn, so one node can create ten rows from ten items. Open an execution to see the items each node received and returned.
If a service has no built-in node, the HTTP Request node can call its API using a stored credential. Community-built nodes can be installed as well. For AI work, the AI Agent node takes a chat model and at least one tool, then decides which tool to call. The sibling guide n8n and AI: building agents that survive exceptions covers that side in depth.
Example workflow: webhook to a Google Sheet
A typical first workflow takes a form submission from a website and stores it as a row. This walkthrough is built from n8n's node documentation. Wasevo has not run it end to end, so check field names against the node panel in your version. The steps below follow n8n's node documentation for the Webhook, If, Edit Fields, Google Sheets and Respond to Webhook nodes. The same pattern works for a CRM: swap the Google Sheets node for that CRM's node.
Before you start: create a Google Sheet with the header row name, email, received_at in row 1.
- Add a Webhook node. Set HTTP Method to POST and give it a Path such as
new-lead. Set Respond to "Using 'Respond to Webhook' node" so the caller gets a real answer. - Add an If node. Check that
{{ $json.body.email }}contains@. The Webhook node passes the request as{ body, headers, params, query }, so the posted fields live underbody. The true branch continues. The false branch goes to a Respond to Webhook node that returns code 422 and a short error message. Test this branch yourself, since the If node's behaviour on a missing field depends on its settings. - Add an Edit Fields node on the true branch. Set three fields:
namefrom{{ $json.body.name }},emailfrom{{ $json.body.email }}andreceived_atfrom{{ $now.toISO() }}. Turn on Keep Only Set Fields so the item holds onlyname,emailandreceived_at, because the Webhook item also carriesheaders,paramsandquery. The docs note that this node is how you reshape data before inserting values into Google Sheets or databases. - Add a Google Sheets node. Choose Resource "Sheet Within Document", Operation "Append Row", pick your document and sheet, and set Mapping Column Mode to "Map Automatically". That mode matches incoming field names to sheet column headers, which is why step 3 used the same names.
- Add a final Respond to Webhook node. Respond with the first incoming item and code 200.
For credentials, n8n's Google credentials docs recommend OAuth2. Managed OAuth2, where you sign in with Google directly, is available on n8n Cloud only. On a self-hosted instance you create the OAuth2 app in Google Cloud Console yourself.
Test it. Select Execute workflow in the editor, which registers the test URL, then send a request:
curl -X POST "<Test URL copied from the Webhook node>" \
-H "Content-Type: application/json" \
-d '{"name":"Ada Lovelace","email":"[email protected]"}'If the setup matches the docs, you should see the data pass through each node on the canvas and a new row in the sheet. Send {"name":"No Email"} as well and check that no row is added and the caller gets the error response.
Go live. n8n gives the webhook two URLs. The test URL works while you listen in the editor. The production URL only works after you publish the workflow, and its runs appear in the Executions tab instead of on the canvas. Copy the Production URL from the Webhook node and point your website form at it. If you forget to swap the URL, the workflow looks fine in the editor but never receives real traffic. Older tutorials call publishing "activating" a workflow.
What people use it for
The pattern above repeats across business tools. Typical jobs are lead capture and routing, syncing records between systems, scheduled reports, alerts when something breaks and support triage with an AI step. n8n's own homepage shows examples such as onboarding new users, triaging alerts and qualifying leads. What these have in common is a clear trigger, a few systems and a rule for what happens next. Jobs that need a person's judgment at every step are weak candidates, though n8n supports human approval steps for AI tool calls.
Who n8n suits
n8n's choose guide points self-hosting at people who want full control over deployment, have the infrastructure and technical resources to run it, or have customised use cases. It points people with no technical background, or no wish to manage infrastructure, to n8n Cloud. That makes n8n a fit for teams that will use expressions, HTTP requests or code when a ready-made node falls short, and a poor fit for someone who wants a point-and-click tool with no learning curve.
n8n alternatives
The usual hosted alternatives are Zapier and Make. Zapier's homepage describes no-code automation across 9,000+ apps (checked 13 November 2026). For plans, limits and a side-by-side, see n8n vs Zapier.
Cloud, self-hosted and the licence
You have two ways to run n8n, and the official comparison lays out the trade.
| n8n Cloud | Self-hosted | |
|---|---|---|
| Who runs the server | n8n | You |
| Setup | None, free trial available | Docker Compose or the one-line setup script |
| Cost model | Plans priced by monthly executions | Free Community edition, paid Business and Enterprise plans |
| Good fit | Quick start, no infrastructure staff | Full control over deployment and configuration |
The hosting docs list Docker Compose and a one-line setup as the main install routes, and state that npm installation is deprecated from n8n 3.0. Without a licence key, a self-hosted instance runs as the free Community edition. That edition leaves out features such as projects, SSO, environments, Git version control and external secrets, per the editions page.
The Sustainable Use License allows internal business, non-commercial or personal use, and does not let you offer n8n to your own customers to connect their accounts and build workflows. Building workflows for clients as a service is allowed, and the full rules are in Is n8n free?.
Plan prices and limits are covered in n8n pricing explained. For a production server setup, the Docker route in the hosting docs is the starting point.
Traps that catch new users
Executions are counted per run, not per step. The pricing page says pricing is based on monthly workflow executions regardless of complexity. The executions docs (and n8n pricing explained) add that a webhook trigger counts one execution for every inbound request, including an empty body. Manual test runs, sub-workflows and error workflows do not count. Because every request counts, an unauthenticated public URL can use up your quota, so add authentication (Basic, Header or JWT auth) or the Only Run If option, which answers non-matching requests with a 200 and creates no execution.
A workflow that handles only the happy path will fail in production. n8n lets you set an error workflow that starts with an Error Trigger node and runs when an execution fails. Use it to send an email or Slack message. The Stop And Error node forces a failure on purpose, for example when a required field is missing.
Edits are drafts until you publish. Production runs use the published version, not your latest edits. After you change a node, publish again.
Cloud and self-hosted differ in small ways. The Code node docs say you cannot import external npm modules on Cloud, while self-hosted users can enable them.
Versions move. As of 13 November 2026 the stable releases are on the 2.x line. The docs flag removals coming in n8n 3.0, such as the old v1 AI Agent node with its agent type setting. Check the docs for your version before copying an old tutorial.
When n8n is the wrong tool
If you need one simple link between two mainstream apps and nobody will touch it again, a built-in integration in either app is quicker. If nobody on your side can maintain a server and you do not want to pay for Cloud, a self-hosted instance becomes a risk, because updates, backups and monitoring are yours. If the people who run a process disagree about how it works, automating a process that people run differently gives each version a bug to chase. Write down the trigger, the owner of each system's credentials and what should happen when a step fails before you open the canvas.
Wasevo lists n8n among the platforms it works with. If you want help building or hosting workflows, see the n8n automation services page, or book a free 15-minute call.
Frequently asked questions
n8n connects business tools so repeated work runs on its own. Common uses are capturing leads from forms into a sheet or CRM, syncing data between systems, sending scheduled reports, raising alerts and running AI agents that classify or draft replies. A workflow starts from a trigger and runs through connected nodes.

Written by
Web & AI Systems Lead at Wasevo. Writes about AI agents, chatbots, WhatsApp automation and n8n workflows.


