explaingit

n8n-io/n8n

186,883TypeScriptAudience · ops devopsComplexity · 3/5LicenseSetup · moderate

TLDR

n8n is a self-hostable workflow automation tool that lets technical teams connect 400+ apps visually or with JavaScript/Python, with built-in AI agent support, so you can automate internal processes while keeping data on your own servers.

Mindmap

mindmap
  root((n8n))
    Automation
      400 integrations
      900 workflow templates
      Visual node builder
    AI features
      LangChain agents
      Custom LLM models
      Private data
    Deployment
      Self-hosted
      Docker
      n8n cloud
    Code support
      JavaScript nodes
      Python nodes
      npm packages
    Enterprise
      SSO
      Permissions
      Air-gapped
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Connect Slack, Gmail, and a database so new emails automatically create tasks in your project tracker, without writing a custom integration.

USE CASE 2

Build an AI agent workflow that reads your private company documents and answers natural-language questions via your chosen LLM.

USE CASE 3

Self-host n8n on your own server to automate internal business processes without sending sensitive data to a third-party cloud.

USE CASE 4

Replace a paid Zapier subscription with a self-hosted n8n instance running the same automations for free.

Tech stack

TypeScriptJavaScriptPythonNode.js

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Node.js or Docker to self-host, enterprise features like SSO and air-gapped deployment require a paid license.

Free for personal and internal business use, building a competing commercial product or managed service requires a separate commercial license.

In plain English

n8n is a workflow automation platform aimed at technical teams, a tool you use to wire different apps and services together so that actions in one trigger actions in another, without having to write a full custom integration each time. The pitch is that it gives you the flexibility of code with the speed of no-code: you can build automations visually by connecting nodes, but also drop into JavaScript or Python and pull in npm packages whenever the visual interface isn't enough. It works by letting you compose workflows out of building blocks, there are 400+ integrations with external APIs, plus 900+ ready-made workflow templates you can adapt. It has native AI capabilities, including building AI agent workflows based on LangChain with your own data and models. You can self-host it under its fair-code license (Sustainable Use License) or use the n8n cloud offering. Enterprise features include advanced permissions, single sign-on, and air-gapped deployments. You'd use n8n when you want internal automations or AI-powered workflows that you control end-to-end, especially if you need to keep data on your own infrastructure or extend the platform with your own nodes. Getting started is just running npx n8n with Node.js installed, or deploying it via a Docker container, then opening the editor in your browser. The codebase is TypeScript. The name "n8n" is short for "nodemation", node plus automation, and is pronounced n-eight-n.

Copy-paste prompts

Prompt 1
Write an n8n workflow JSON that watches a Gmail inbox for emails with attachments, extracts the file, and saves it to Google Drive.
Prompt 2
I want to build an AI agent in n8n using LangChain that queries my PostgreSQL database and answers natural-language questions. Walk me through the node setup.
Prompt 3
How do I deploy n8n on a VPS using Docker Compose with Postgres as the database and nginx as a reverse proxy?
Prompt 4
My n8n workflow triggers on a webhook and sometimes fails silently. Add error handling so failures send me a Slack notification with the error details.
Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub n8n-io on gitmyhub

Verify against the repo before relying on details.