# n8n

> n8n is a workflow automation platform with a visual node-based editor that connects apps, APIs and AI models into automated workflows, and that can be used as a hosted service or self-hosted on a company's own servers.

Also called: n8n.io, n8n automation, n8n workflows, n8n AI agents. Category: Tools and platforms. Source: https://aibuildindex.com/glossary/n8n

## In the index

- n8n: median $1,260, middle half $300 to $5,720, 3,548 priced briefs (https://aibuildindex.com/tools/n8n)
- n8n workflow automation: median $1,200, middle half $250 to $5,200, 2,395 priced briefs (https://aibuildindex.com/cost/workflow-automation-n8n)

n8n is one of the most widely used tools for building business automations and AI agents. Workflows are drawn as a chain of nodes on a canvas: a trigger such as a new email or [webhook](https://aibuildindex.com/glossary/webhook), then steps that call apps, transform data, branch on conditions and call language models. It sits between pure no-code tools and custom code, which is why it appears in so many project briefs for automation and AI agent work. Its distinguishing feature for buyers is that it can be self-hosted, keeping data and workflows on infrastructure the business controls.

## How it works

Each workflow starts with a trigger node: a schedule, a webhook, a form, a chat message or an event in a connected app. Following nodes perform actions in hundreds of built-in integrations, or call any API through a generic HTTP node. Data passes between nodes as JSON items, and Code nodes allow custom JavaScript or Python where the built-in nodes fall short.

n8n includes AI nodes for calling language models, building [AI agents](https://aibuildindex.com/glossary/ai-agent) that choose between tools, adding memory, and connecting vector stores for retrieval. A typical example: an inbound email triggers a workflow that classifies the request with a model, looks up the customer in the CRM, drafts a reply for review and logs the result in a spreadsheet.

The software is source-available under n8n's own fair-code licence. Businesses can use n8n's hosted cloud, or run it themselves on their own servers, where it can be scaled with separate worker processes. The licence places limits on reselling n8n itself as a hosted service, so anyone planning to embed it in a commercial product should read the terms.

## What it means for cost

n8n builds are usually quicker and cheaper than fully custom code for the same automation, and live figures for them are on the [n8n workflow automation cost page](https://aibuildindex.com/cost/workflow-automation-n8n). Points that move the quote:

- **Hosting choice.** Self-hosting avoids per-execution platform charges but adds server setup, updates, backups and monitoring.
- **Complexity.** Simple linear flows are quick; workflows with many branches, loops, AI agents and custom code need careful [error handling](https://aibuildindex.com/glossary/error-handling) and testing.
- **Ownership.** A workflow built in the buyer's own n8n instance is easier to hand over than one in the builder's account.

Ask a builder where the workflows will run, who owns the instance and credentials, how failures are alerted, and how changes will be documented after handover.

## Common questions

### Is n8n free?

The software can be self-hosted without a licence fee for internal business use under its fair-code licence, though hosting and maintenance still cost money. n8n's hosted cloud and enterprise features are paid. The licence terms should be checked for any commercial or embedded use.

### Is n8n better than Zapier or Make?

It depends on the job. [Zapier](https://aibuildindex.com/glossary/zapier) is generally the easiest for simple app-to-app automations, and [Make](https://aibuildindex.com/glossary/make) offers a visual builder with fine control over data. n8n tends to suit teams that want self-hosting, custom code and AI agent workflows in the same tool.

## Related terms

- [Workflow automation](https://aibuildindex.com/glossary/workflow-automation): Workflow automation is the use of software to carry out a repeatable business process, moving data between systems and taking actions based on triggers and rules, so that people no longer do those steps by hand.
- [Zapier](https://aibuildindex.com/glossary/zapier): Zapier is a cloud-based no-code automation platform that connects thousands of business apps, letting users build automated workflows, called Zaps, in which a trigger in one app starts actions in others, including AI steps.
- [Make (formerly Integromat)](https://aibuildindex.com/glossary/make): Make, formerly called Integromat, is a cloud-based visual automation platform in which users build workflows, called scenarios, by connecting app modules on a canvas, with detailed control over routing, data mapping and iteration.
- [AI agent](https://aibuildindex.com/glossary/ai-agent): An AI agent is software built around a language model that can plan steps, call tools such as APIs, databases or a browser, look at the results and keep going until it completes a task, rather than only replying to a single message.
- [Webhook](https://aibuildindex.com/glossary/webhook): A webhook is an automatic message one system sends to another over the web when an event happens, such as a payment succeeding or a form being submitted, so the receiving system can react immediately without repeatedly checking for changes.
- [Low-code](https://aibuildindex.com/glossary/low-code): Low-code describes development platforms that build most of an application or workflow through visual tools and configuration, while letting developers add custom code where the built-in blocks fall short, such as Microsoft Power Apps, Power Automate or n8n.
