n8n
БесплатноБез исполняемых скриптовНе проверенn8n is a fair-code workflow automation platform with a visual editor, webhook and schedule triggers, JavaScript and Python code nodes and 1500+ integrations…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
n8n
Overview
n8n is a workflow automation tool you can run yourself or use as n8n Cloud. Workflows are graphs of nodes: triggers (Webhook, Schedule, app events), 1500+ integration nodes, flow logic (IF, Switch, Merge), HTTP Request, and Code nodes. The current stable release is 2.46.6 (the docs track stable and beta separately; n8n 3.x has been tagged but the Docker docs still list 2.46.6 as stable, and 3.0 has its own breaking-changes page, so do not jump to it without reading that page and running the migration report). The source is "fair-code" under the Sustainable Use License, not an OSI open-source license: free to self-host for internal business use, but reselling it as a hosted service needs a commercial agreement. This skill was checked against the n8n documentation and the n8n-hosting repository; the Docker setup was not started here.
Instructions
Step 1: Self-host with Docker Compose
Authentication changed in n8n 1.0/2.x: the old N8N_BASIC_AUTH_* variables are gone. The first visit to the editor asks you to create the owner account, so do not look for a password in the compose file. Put secrets in an .env file next to compose.yaml and keep it out of git.
# compose.yaml — n8n + PostgreSQL behind a reverse proxy that terminates TLS
services:
postgres:
image: postgres:18
restart: always
environment:
POSTGRES_DB: n8n
POSTGRES_USER: n8n
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /var/lib/postgresql/data
volumes: [pgdata:/var/lib/postgresql/data]
healthcheck:
test: ["CMD-SHELL", "pg_isready -U n8n -d n8n"]
interval: 5s
retries: 10
n8n:
image: docker.n8n.io/n8nio/n8n:2.46.6 # pin a version; update on purpose
restart: always
ports: ["127.0.0.1:5678:5678"] # publish to the proxy only, not the internet
environment:
DB_TYPE: postgresdb
DB_POSTGRESDB_HOST: postgres
DB_POSTGRESDB_DATABASE: n8n
DB_POSTGRESDB_USER: n8n
DB_POSTGRESDB_PASSWORD: ${POSTGRES_PASSWORD}
N8N_ENCRYPTION_KEY: ${N8N_ENCRYPTION_KEY}
N8N_WEBHOOK_URL: https://n8n.acme-shop.dev/
N8N_PROXY_HOPS: "1"
GENERIC_TIMEZONE: Europe/Berlin
TZ: Europe/Berlin
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS: "true"
volumes: [n8n_data:/home/node/.n8n]
depends_on:
postgres: {condition: service_healthy}
volumes:
n8n_data:
pgdata:
$ printf 'POSTGRES_PASSWORD=%s\nN8N_ENCRYPTION_KEY=%s\n' "$(openssl rand -hex 16)" "$(openssl rand -hex 24)" > .env
$ docker compose up -d
$ docker compose logs -f n8n # wait for "Editor is now accessible via"
N8N_ENCRYPTION_KEYencrypts stored credentials. Set it once; if it is lost or changed, saved credentials cannot be decrypted. Back it up with the volume.N8N_WEBHOOK_URL(the old nameWEBHOOK_URLis deprecated from 2.35) must be the public URL, otherwise webhook URLs shown in the editor point to localhost. The reverse proxy must forwardX-Forwarded-For,-Hostand-Proto.- Quick local try-out without Postgres:
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678. - Update by raising the image tag,
docker compose pull,docker compose up -d.
Step 2: Webhook trigger
A Webhook node has two URLs. The test URL (/webhook-test/<path>) works only while you press "Listen for Test Event" and shows the data in the editor. The production URL (/webhook/<path>) is registered when the workflow is published, and runs appear in the Executions tab. Setting path order-received gives:
$ curl -s -X POST https://n8n.acme-shop.dev/webhook/order-received \
-H 'Content-Type: application/json' \
-d '{"order_id": "A-10432", "customer": "[email protected]", "total": 149.90}'
{"message":"Workflow was started"}
The JSON body arrives under $json.body in later nodes (the request headers and query are siblings: $json.headers, $json.query). Protect public webhooks with the node's Authentication option (header or basic auth) so strangers cannot trigger the workflow.
Step 3: Code node
The Code node runs in "Run Once for All Items" (default) or "Run Once for Each Item" mode. In all-items mode, read input with $input.all() and return an array of { json: {...} }:
// Code node (JavaScript), mode: Run Once for All Items
return $input.all().map(item => {
const order = item.json.body;
return {
json: {
orderId: order.order_id,
email: order.customer.toLowerCase(),
total: order.total,
isLarge: order.total > 100,
},
};
});
- Python was Pyodide-based in 1.x and the Pyodide runtime is removed in 2.0. Native Python runs through task runners in external mode (stable in 2.x; the compose file above has none, so add the
n8nio/runnersservice from then8n-hostingrepository first) and only offers_items(all-items mode) and_item(per
Установить n8n в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл n8n?
n8n is a fair-code workflow automation platform with a visual editor, webhook and schedule triggers, JavaScript and Python code nodes and 1500+ integrations, self-hosted or in n8n Cloud. Use when a user asks to automate business workflows, connect APIs visually, build integrations between apps, self-host a Zapier alternative, receive webhooks, or create data pipelines with a visual editor.
Как установить скилл n8n?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл n8n запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic