AI/TLDR

n8n

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

Workflow AutomationOpen source
Language
TypeScript
License
Sustainable Use License (fair-code)
$npx n8n

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★ 204kSelf-hostable workflow automation with a visual node editor and native AI steps
Huginn★ 49.9kA self-hosted system of "agents" that watch websites, feeds, and events and take automated actions on your behalf, similar to a private IFTTT.
GitHub MCP Server★ 32.9kGitHub's official MCP server, hosted or self-run, that gives an agent scoped toolsets for repositories, issues, pull requests, Actions runs and code-security alerts.
gws (Google Workspace CLI)★ 31kA command-line tool for every Google Workspace API, built at runtime from Google’s Discovery Service, returning structured JSON and shipping 40+ agent skills. Not an officially supported Google product.
Kestra★ 28.1kAn event-driven orchestration platform that defines data, AI, and infrastructure pipelines as declarative YAML and runs them through a web UI.
Activepieces★ 24.4kAn open-source Zapier alternative where you build automations from reusable TypeScript "pieces", with support for AI agents and self-hosting.
n8n-MCP★ 22.9kAn MCP server that gives coding assistants structured access to n8n's node catalogue, schemas, docs and workflow templates so they can build and validate n8n workflows.
Trigger.dev★ 16.3kAn open-source TypeScript platform for durable background tasks and AI agents — no timeouts, with retries, queues, waitpoints for human approval, realtime streaming and per-run tracing.