n8n-workflow-automation

n8n-workflow-automation is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 66 tokens per session (1,084 once invoked), scanned A, original, MIT.

A workflow-design skill for n8n, a tool that connects services into automated flows. It produces workflows with retries, error handling, logs, duplicate protection, and a human review queue.

In plain words
What is it for?
It is for designing or generating n8n workflows triggered by schedules, webhooks, or manual runs, with defined inputs, status tracking, alerts, retries, and approval steps.
Why use it?
It helps prevent automations from silently failing or creating duplicate records when a step is retried. It also makes failed runs traceable and routes them for approval before reprocessing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for designing or generating n8n workflows triggered by schedules, webhooks, or manual runs, with defined inputs, status tracking, alerts, retries, and approval steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add L-LesterYu/OpenClaw-hot-skills-zh --skill n8n-workflow-automation-zh
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for n8n-workflow-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for n8n-workflow-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/n8n-workflow-automation-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,084 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01084
Opus 5 $0.00033 $0.00542
Sonnet 5 $0.00013 $0.00217
Haiku 4.5 $0.00007 $0.00108

Measured 9d ago against content hash 9ea71ff7b21d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

n8n-workflow-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/n8n-workflow-automation-zh/SKILL.md · 90 lines

What it actually says

n8n 工作流自动化 - 重试、日志记录和审核队列

目的

设计并输出 n8n 工作流 JSON,具备健壮的触发器、幂等性、错误处理、日志记录、重试机制和人机协作审核队列。

使用场景

  • 触发条件:
    • 构建一个每周一运行并发送合规摘要的 n8n 工作流
    • 为此工作流添加错误处理和重试机制,以及失败审核队列
    • 创建一个记录每次运行并向跟踪器写入状态行的 webhook 工作流
    • 使此 n8n 流程具有幂等性,以便重新运行时不会重复记录
    • 为此工作流配备审计日志和人工审批步骤
  • 不适用场景:
    • 您需要不使用 n8n 的纯代码自动化(请使用脚本/CI 技能)
    • 您需要绕过安全控制或隐藏审计轨迹
    • 您需要购买或推荐违禁物品/服务

输入

  • 必需:
    • 工作流意图:触发器类型 + 计划/时区 + 成功标准
    • 目标:结果写入位置(email/Drive/Sheet/DB)和必需字段
  • 可选:
    • 要修改的现有 n8n 工作流 JSON
    • 示例负载 / 示例记录
    • 去重键定义(什么使记录唯一)
  • 示例:
    • Cron:周一 08:00 Europe/London;发送摘要邮件 + Drive 上传
    • Webhook:接收 JSON;路由到文件夹

输出

  • 默认(只读):工作流设计规范(节点、数据契约、失败模式)
  • 如果明确请求:workflow.json(n8n 可导入 JSON)+ runbook.md(来自模板) 成功 = 工作流具有幂等性、记录每次运行、安全重试,并将失败路由到审核队列

工作流程

  1. 明确触发器:
    • Cron/webhook/手动;计划/时区;并发预期
  2. 定义数据契约:
    • 输入模式、必需字段和验证规则
  3. 设计幂等性:
    • 选择去重键和存储(DB/Sheet)以防止重试时重复
  4. 添加可观察性:
    • 生成 run_id,记录开始/结束,存储状态行和错误详情
  5. 实现错误处理:
    • 每节点错误分支、带退避的重试和最终失败通知
  6. 添加人机协作(HITL)审核队列:
    • 将失败项目写入队列(Sheet/DB)并需要审批才能重新处理
  7. "无静默失败"关卡:
    • 如果计数/阈值失败,停止工作流并告警
  8. 输出:
    • 如果请求 JSON:生成可导入的 n8n 工作流 JSON + 运行手册
  9. 停止并询问用户,如果:
    • 目标系统未知
    • 不存在去重键
    • 凭证策略(环境变量)未指定
    • 工作流需要尚未批准的特权访问

输出格式

如果输出 n8n 工作流 JSON,需符合:

{
  "name": "<workflow name>",
  "nodes": [ { "name": "Trigger", "type": "n8n-nodes-base.cron", "parameters": {}, "position": [0,0] } ],
  "connections": {},
  "settings": {},
  "active": false
}

同时使用 assets/runbook-template.md 输出 runbook.md

安全与边界情况

  • 默认只读;仅在明确请求时输出工作流 JSON
  • 不要在 JSON 中包含密钥;仅引用环境变量/凭证名称
  • 包含审计日志 + 失败通知;避免可能静默丢失数据的工作流
  • 优先最小权限:仅调用所需的 API 并最小化范围

示例

  • 输入:"每周一 cron,发送合规摘要,重试失败。" 输出:节点图 + workflow.json(包含 Cron → Fetch → Aggregate → Email),加上错误分支到审核队列

  • 输入:"记录运行并写入状态行的 Webhook。" 输出:Webhook → Validate → Process → Append status row;错误时 → log + notify + queue

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 90 lines · 66 tokens per session scan A 9ea71ff7b21d

Subscribe to this mod's changes

n8n-workflow-automation is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 1,084 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

story-readiness

Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…

Donchitos/Claude-Code-Game-Studios · 77 tokens

projects

List all managed projects with status, branch, open PRs, and open issue counts — portfolio-level view.

me2resh/apexyard · 24 tokens

magpie-security-issue-import-from-md

Open one or more tracking issues from a markdown file containing a batch of security findings. Each finding becomes one tracker landing in the Needs triage board column. The file itself is the full report — there is no inbound reporter to reply to and no PR to inspect.

apache/magpie · 73 tokens