Kavvo Agents

n8n

November 29, 2026 · 5 min read · By the Kavvo Agents team

What it is

n8n is a workflow automation platform that lets you connect apps, services, databases and AI models on a visual canvas, without writing glue code for every step. You build a workflow from nodes: each node does one job, such as receiving a form entry, calling an API, sending an email, or asking a language model a question. When something happens — a new message, a schedule, a webhook — n8n runs the workflow for you.

It is best known as an automation tool, but it is also a practical way to build AI agents. Its AI Agent node connects a chat model and one or more tools, and the agent decides which tools to call to complete a task. That makes n8n a good first step for people who want an agent that does real work in tools they already use, such as Gmail, Slack, Google Sheets, Notion, or a CRM, rather than an agent that only chats.

You can run n8n self-hosted on your own server, or use n8n Cloud, the managed service run by n8n. The self-hosted Community Edition is free to download and run, although you pay for the server that hosts it.

Who made it

n8n is made by n8n GmbH, a company based in Berlin, Germany. The project is published on GitHub as n8n-io/n8n, and its official site is n8n.io. The documentation is at docs.n8n.io.

What it does

n8n connects more than 1,500 services, according to its GitHub page, and offers thousands of ready-made workflow templates. You can use it to move data between apps, respond to events, schedule recurring work, and build AI assistants that look things up before they answer.

The AI Agent node works with many model providers, including OpenAI, Anthropic and Google, and with open-source models. You can also add memory so a chat agent remembers earlier messages in the same conversation, and vector stores so it can search your own documents.

How it works

Every workflow starts with a trigger: a webhook, a schedule, a manual run, or an event in another app, such as a new email or a new row in a sheet. Data then flows from node to node. Each node receives items, does its job, and passes the result on.

An AI agent in n8n is a small cluster of nodes. The AI Agent node is the root: on its own it does nothing. You plug sub-nodes into it. The chat model sub-node is the brain that reasons. Tool sub-nodes are the hands: an HTTP Request Tool, a Wikipedia Tool, an app node, a sub-workflow, or an MCP Client Tool. A memory sub-node, such as Simple Memory, keeps the conversation history. The agent loops — it thinks, calls a tool, reads the result, and repeats — until it can give a final answer. A setting called Max Iterations caps that loop, at 10 runs by default, so a confused agent does not run forever.

How to start

  1. Start n8n. The simplest test is n8n Cloud, which offers a free trial — check the official pricing page for current terms. To self-host, n8n now recommends Docker Compose; run the n8nio/n8n image and open it in your browser, usually on port 5678.
  2. Create a new workflow and add a Chat Trigger node. This gives you a built-in chat panel for testing.
  3. Add the AI Agent node after the trigger and connect it.
  4. Click the Chat Model connector under the AI Agent node and add a model, for example the OpenAI Chat Model or Anthropic Chat Model. Add your API credential for that provider.
  5. Add at least one tool sub-node. Start with something safe and read-only, such as the Wikipedia Tool or an HTTP Request Tool that calls a public API.
  6. Add Simple Memory and set its session key to the Chat Trigger session ID, so the agent remembers the conversation.
  7. Write a short system message for the agent: who it is, what it may do, and what it must not do. Test it in the chat panel, then click Execute to run the workflow.
  8. When it works, replace the Chat Trigger with a real trigger, such as a webhook, and activate the workflow.

Check the official docs for current install steps, because n8n 3.0 runs only in Docker and drops npm installs.

Who it is for

n8n is for operations, support, marketing and small-business teams who already use several apps and want an agent that works across them, and for developers who want a visual way to prototype an agent quickly. It suits people who are comfortable connecting apps and writing a clear prompt, but who do not want to build the whole agent loop, memory and tool plumbing in code. It is also a good fit for teams that want to self-host so their data and credentials stay on their own infrastructure.

Watch out for

n8n is fair-code, not open source in the strict sense. Its source is public under the Sustainable Use License, which allows internal use but restricts selling n8n itself as a hosted service. Read the licence before building a product on it.

Source