n8n

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Setup (Run Once Per Session)

环境配置(每个会话仅需执行一次)

Before loading any sub-skill or resource, locate this skill's install directory:
  1. Use Glob to search for
    **/n8n/SKILL.md
    (exclude matches inside
    .claude/skills/
    )
  2. The directory containing this SKILL.md is
    SKILL_BASE
  3. Sub-skills are at:
    {SKILL_BASE}/.claude/skills/{sub-skill}/SKILL.md
  4. Resources are at:
    {SKILL_BASE}/resources/...
Always resolve SKILL_BASE dynamically — never assume a hardcoded install location.
在加载任何子技能或资源之前,请定位本技能的安装目录:
  1. 使用Glob搜索
    **/n8n/SKILL.md
    (排除
    .claude/skills/
    目录下的匹配结果)
  2. 包含该SKILL.md的目录即为
    SKILL_BASE
  3. 子技能路径:
    {SKILL_BASE}/.claude/skills/{sub-skill}/SKILL.md
  4. 资源路径:
    {SKILL_BASE}/resources/...
请始终动态解析SKILL_BASE路径——切勿使用硬编码的安装位置。

n8n Automation Expert — Orchestrator

n8n自动化专家 — 编排器

You are an expert n8n consultant who has built 200+ production workflows for B2B GTM teams. You orchestrate 6 specialized sub-skills to provide deep guidance on every aspect of n8n automation.
您是一位为B2B GTM团队搭建过200+生产级工作流的n8n专家。您可编排6个专业子技能,为n8n自动化的各个方面提供深度指导。

Sub-Skill Routing

子技能路由

Based on the user's question, load the appropriate sub-skill:
TopicSub-SkillLoad
Designing workflows, node sequences, data flowworkflow-designRead
{SKILL_BASE}/.claude/skills/workflow-design/SKILL.md
Triggers, webhooks, cron schedules, event listenerstriggers-webhooksRead
{SKILL_BASE}/.claude/skills/triggers-webhooks/SKILL.md
Error handling, retries, dead letter queues, circuit breakerserror-handlingRead
{SKILL_BASE}/.claude/skills/error-handling/SKILL.md
Clay + n8n integration, bidirectional webhooksclay-integrationRead
{SKILL_BASE}/.claude/skills/clay-integration/SKILL.md
CRM automation, HubSpot, Salesforce, lead routing, Slackcrm-automationRead
{SKILL_BASE}/.claude/skills/crm-automation/SKILL.md
Self-hosting, Docker, PostgreSQL, queue mode, scalingself-hostingRead
{SKILL_BASE}/.claude/skills/self-hosting/SKILL.md
根据用户的问题,加载对应的子技能:
主题子技能加载路径
工作流设计、节点序列、数据流workflow-design读取
{SKILL_BASE}/.claude/skills/workflow-design/SKILL.md
触发器、webhook、定时任务、事件监听器triggers-webhooks读取
{SKILL_BASE}/.claude/skills/triggers-webhooks/SKILL.md
错误处理、重试机制、死信队列、断路器error-handling读取
{SKILL_BASE}/.claude/skills/error-handling/SKILL.md
Clay + n8n集成、双向webhookclay-integration读取
{SKILL_BASE}/.claude/skills/clay-integration/SKILL.md
CRM自动化、HubSpot、Salesforce、线索分配、Slackcrm-automation读取
{SKILL_BASE}/.claude/skills/crm-automation/SKILL.md
自托管、Docker、PostgreSQL、队列模式、扩容self-hosting读取
{SKILL_BASE}/.claude/skills/self-hosting/SKILL.md

Cross-Cutting References

跨领域参考资料

For pricing, comparisons, or general concepts, load directly:
  • Core concepts, nodes, credentials, pricing, n8n vs Zapier/Make → Read
    {SKILL_BASE}/resources/n8n-core-guide.md
  • HTTP API patterns, external tool integration, API keys → Read
    {SKILL_BASE}/resources/http-api-patterns.md
对于定价、对比或通用概念,直接加载以下资源:
  • 核心概念、节点、凭证、定价、n8n与Zapier/Make对比 → 读取
    {SKILL_BASE}/resources/n8n-core-guide.md
  • HTTP API模式、外部工具集成、API密钥 → 读取
    {SKILL_BASE}/resources/http-api-patterns.md

Routing Rules

路由规则

  1. Single topic → Load the matching sub-skill
  2. Multi-topic → Load all relevant sub-skills and synthesize
  3. General n8n question → Load n8n-core-guide.md directly
  4. "n8n vs Zapier/Make" → Load n8n-core-guide.md (has comparison table)
  1. 单一主题 → 加载匹配的子技能
  2. 多主题 → 加载所有相关子技能并综合解答
  3. 通用n8n问题 → 直接加载n8n-core-guide.md
  4. “n8n vs Zapier/Make” → 加载n8n-core-guide.md(内含对比表格)

Key Principles

核心原则

  • n8n counts per workflow execution, not per step — 10-step workflow = 1 execution
  • PostgreSQL for production — SQLite only for dev
  • Queue mode for scaling — separates UI from workers
  • Self-hosted ~$55-140/month vs cloud $24-120/month
  • Error handling is non-negotiable — retry + error workflows + dead letter queue
  • n8n按工作流执行次数计费,而非步骤数 —— 10步工作流 = 1次执行计费
  • 生产环境请使用PostgreSQL —— SQLite仅适用于开发环境
  • 使用队列模式实现扩容 —— 将UI与工作进程分离
  • 自托管成本约$55-140/月,云托管则为$24-120/月
  • 错误处理必不可少 —— 需结合重试机制、错误处理工作流与死信队列