AI/TLDR

n8n

Self-hostable workflow automation with a visual node editor and native AI steps

Overview

n8n is a workflow automation platform that connects apps and APIs through a visual node editor. You drag nodes onto a canvas, wire them together, and the workflow runs the steps in order, so a lot of the glue code you would normally write by hand is handled for you. It ships with 400+ integrations and 900+ ready-made workflow templates.

It is aimed at technical teams who want more control than a typical no-code tool gives. When the built-in nodes are not enough, you can drop into JavaScript or Python, pull in npm packages, or add your own custom nodes. n8n also has native AI steps built on LangChain, so you can build AI agent workflows that use your own data and models.

Within the low-code / no-code workflow space, n8n's main draw is self-hosting under its fair-code license: the source is always visible and you can deploy it anywhere, including air-gapped setups. A managed cloud option exists if you prefer not to run it yourself.

What it does

  • Visual node editor for building automations by connecting 400+ apps and APIs
  • Drop into JavaScript or Python and add npm packages when the visual nodes are not enough
  • Native AI steps built on LangChain for agent workflows using your own data and models
  • Self-hostable under a fair-code license with always-visible source code
  • 900+ ready-to-use workflow templates to start from
  • Enterprise features including advanced permissions, SSO, and air-gapped deployments

Getting started

You can try n8n in seconds with npx (Node.js required) or run it as a Docker container. Both start a local editor at http://localhost:5678.

Run instantly with npx

If you have Node.js installed, this command downloads and starts n8n without any setup.

bashbash
npx n8n

Or deploy with Docker

Create a named volume so your workflows persist, then run the n8n container.

bashbash
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

Open the editor

Visit the local editor in your browser, then add your first node and start building a workflow on the canvas.

texttext
http://localhost:5678

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Sync data between SaaS tools (CRM, spreadsheets, databases) without writing custom integration code
  • Build AI agent workflows that pull from your own data and models using the LangChain-based nodes
  • Automate internal team processes like notifications, approvals, and scheduled reports
  • Self-host automation in a controlled or air-gapped environment to keep data on your own infrastructure

How n8n compares

n8n alongside other open-source workflow automation tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
n8n★ 193kSelf-hostable workflow automation with a visual node editor and native AI steps
Huginn★ 49.5kA self-hosted system of "agents" that watch websites, feeds, and events and take automated actions on your behalf, similar to a private IFTTT.
Kestra★ 27.1kAn event-driven orchestration platform that defines data, AI, and infrastructure pipelines as declarative YAML and runs them through a web UI.
Activepieces★ 22.8kAn open-source Zapier alternative where you build automations from reusable TypeScript "pieces", with support for AI agents and self-hosting.
Automatisch★ 13.9kA self-hosted, open-source alternative to Zapier for connecting services and building no-code workflow automations with no execution limits.
StackStorm★ 6.5kAn event-driven automation platform for DevOps and SRE teams that runs rules and workflows to handle auto-remediation, incident response, and deployments.
ZapierNo-code automation platform that connects 8,000+ apps and lets you build AI agents and multi-step workflows across them.
MakeVisual automation platform for building workflows and AI agents across 3,000+ apps with a drag-and-drop scenario builder.