Skip to content
AIRepoHub

n8n

by n8n-io

Workflow automation platform with built-in AI nodes. Build visually or in code, self-host or use the cloud.

AI AutomationTypeScriptCustom licensePlatform
Stars
212,058
stars
Forks
62k
forks
Last push
today
Activity
Active
n8n: quick start
# Try n8n with the install script (needs Docker)$ curl -fsSL https://get.n8n.io | sh# Or run it with Docker$ 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

Commands from the project's README. Run them after installing (see below).

Overview

Understand n8n in 60 seconds

What it does
n8n is a workflow automation platform for building AI agents and automations. You connect steps on a visual canvas, add JavaScript or Python where you need it, and link to 1,500+ apps and services. You can self-host it or use n8n Cloud.
The problem it solves
Automating work across many apps, or building AI agents that use your data and tools, normally means writing and hosting lots of glue code. n8n gives you a visual builder with ready-made integrations and templates while still letting you write code.
Why choose it
Choose it for self-hostable automation with deep AI support and a huge integration library. Note it's fair-code under the Sustainable Use License, not an OSI open-source license.
Who should use it
  • Teams automating business processes
  • Developers building AI agents and multi-step workflows
  • Operations and marketing people connecting their tools
  • Companies that need self-hosted automation for sensitive data
Setup difficultyBeginner

You'll need:

  • Docker for the quick start
  • A browser to use the editor

How n8n works

n8n combines a visual workflow canvas with custom code. Workflows can include AI steps using OpenAI, Anthropic, Google or open-source models, with tool use, human approvals and observability, and you can switch model providers without rebuilding.

It ships 1,500+ integrations and 9,000+ workflow templates, and supports JavaScript, Python and npm packages for advanced logic. Enterprise features include role-based access and audit trails.

The quickest start is the install script, which requires Docker, or a docker run command that stores data in a Docker volume. The editor opens at http://localhost:5678. n8n is distributed under the Sustainable Use License and the n8n Enterprise License.

Features

Key features

Visual workflows

Build automations on a canvas.

AI agents

Multi-step agents with tools and approvals.

1,500+ integrations

Connect your existing apps.

9,000+ templates

Start from example workflows.

Code when needed

JavaScript, Python and npm packages.

Self-host or cloud

Run anywhere or use n8n Cloud.

Strengths

  • Huge integration and template library
  • Self-hostable for data control
  • Mixes no-code with real code
  • Large community

Limitations

  • Fair-code license, not OSI open source
  • Some features need an Enterprise License
  • Self-hosting means running and updating it yourself

Practical use cases

AI support agent

Answer tickets using your docs and tools.

Sync apps

Move data between CRM, email and spreadsheets.

Scheduled reports

Gather data and send summaries automatically.

Installation

Install n8n

Based on official documentation

Commands come from n8n's README. AIRepoHub hasn't run them yet. View source

Prerequisites

  • Docker

Supported systems

  • Windows
  • macOS
  • Linux
  1. 1

    Run the install script

    Requires Docker.

    Shell
    curl -fsSL https://get.n8n.io | sh
  1. 1

    Create a volume for your data

    Shell
    docker volume create n8n_data
  2. 2

    Start n8n

    Shell
    docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
  3. 3

    Open the editor

    Go to http://localhost:5678.

Configuration and API keys

SettingWhat it's for

First run

  1. 1

    Open the editor

    Go to http://localhost:5678 after starting n8n.

n8n's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.

Your first project

Start n8n and build from a template

Get n8n running locally and try a ready-made workflow.

Before you start

  • Docker installed
  1. 1

    Start n8n

    Shell
    docker volume create n8n_datadocker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
  2. 2

    Open http://localhost:5678

    Set up your account in the editor.

  3. 3

    Pick a template

    Browse the example workflows at n8n.io/workflows and import one to adapt.

What to expect

The n8n editor runs in your browser, and your workflows are stored in the n8n_data volume.

Next steps

  • Read the AI and LangChain guide in the docs
  • Connect your own apps with credentials
  • See the hosting docs to run it permanently

Costs and requirements

What it costs to run

License
Sustainable Use License (fair-code) plus an Enterprise License for extra features.Depends
Self-hosted
Free to self-host under the Sustainable Use License.Free
n8n Cloud
Hosted option; see n8n.io for pricing.Paid
AI models
Model providers you connect bill separately.Depends

Troubleshooting

Common setup issues

Install script fails

It requires Docker; install Docker first.

Source: README.md

Workflows lost after restarting

Mount the n8n_data volume as in the docker run command.

Source: README.md

Need help

Ask on the community forum at community.n8n.io.

Source: README.md

Alternatives

Similar AI repositories