跳到主内容
智客 ZICQ

技能库 智客分类:设计创意 n8n-workflow-automation OpenClaw

N8n 工作流自动化

设计和输出 n8n 工作流程 JSON 有强力触发器, idempotency, 错误处理, 记录, 重试, 以及 人入"一站"审查队列. 当您需要可审计的自动化时使用.

1126 安装量 · 161 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

设计和输出 n8n 工作流程 JSON 有稳健的触发器, 偶发性, 错误处理, 记录, 重试, 以及人入类审查队列

何时用

- 特里格尔斯:

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:n8n workflow automation with retries, logging, and review queues、PURPOSE、WHEN TO USE、INPUTS、OUTPUTS、WORKFLOW。 其中含规范建议的小节:分步指令、输入输出示例、边界情况。

文件分析

文件分析:除 SKILL.md 外,正文引用了 assets/runbook-template.md,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you need an auditable automation that won’t silently fail.

n8n workflow automation with retries, logging, and review queuesPURPOSEWHEN TO USEINPUTSOUTPUTSWORKFLOWOUTPUT FORMATSAFETY & EDGE CASESEXAMPLES

来源分类:ClawHub N8n

SKILL.md 与 Agent 调用

官方规范 ↗
name
n8n-workflow-automation
description
Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you need an auditable automation that won’t silently fail.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 1
  • assets/runbook-template.md

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「n8n-workflow-automation」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-77c0399a7bf4963e-N8n-%E5%B7%A5%E4%BD%9C%E6%B5%81%E8%87%AA%E5%8A%A8%E5%8C%96.html
请存为 .cursor/skills/n8n-workflow-automation/SKILL.md 或 .claude/skills/n8n-workflow-automation/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://clawhub.ai/skills/n8n-workflow-automation 取完整目录,不要只建一个 SKILL.md。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版
--- name: n8n-workflow-automation description: Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you need an auditable automation that won’t silently fail. --- # n8n workflow automation with retries, logging, and review queues ## PURPOSE Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. ## WHEN TO USE - TRIGGERS: - Build an n8n workflow that runs every Monday and emails the compliance summary. - Add error handling and retries to this workflow, plus a review queue for failures. - Create a webhook workflow that logs every run and writes a status row to a tracker. - Make this n8n flow idempotent so it does not duplicate records when it reruns. - Instrument this workflow with audit logs and a human approval step. - DO NOT USE WHEN… - You need code-only automation without n8n (use a scripting/CI skill). - You need to bypass security controls or hide audit trails. - You need to purchase or recommend prohibited items/services. ## INPUTS - REQUIRED: - Workflow intent: trigger type + schedule/timezone + success criteria. - Targets: where to write results (email/Drive/Sheet/DB) and required fields. - OPTIONAL: - Existing n8n workflow JSON to modify. - Sample payloads / example records. - Definition of dedup keys (what makes a record unique). - EXAMPLES: - Cron: Monday 08:00 Europe/London; send summary email + Drive upload - Webhook: receive JSON; route to folders ## OUTPUTS - Default (read-only): a workflow design spec (nodes, data contracts, failure modes). - If explicitly requested: `workflow.json` (n8n importable JSON) + `runbook.md` (from template). Success = workflow is idempotent, logs every run, retries safely, and routes failures to a review queue. ## WORKFLOW 1. Clarify trigger: - Cron/webhook/manual; schedule/timezone; concurrency expectations. 2. Define data contract: - input schema, required fields, and validation rules. 3. Design idempotency: - choose dedup key(s) and storage (DB/Sheet) to prevent duplicates on retries. 4. Add observability: - generate `run_id`, log start/end, store status row and error details. 5. Implement error handling: - per-node error branches, retry with backoff, and final failure notification. 6. Add human-in-the-loop (HITL) review queue: - write failed items to a queue (Sheet/DB) and require approval to reprocess. 7. “No silent failure” gates: - if counts/thresholds fail, stop workflow and alert. 8. Output: - If asked for JSON: produce importable n8n workflow JSON + runbook. 9. STOP AND ASK THE USER if: - destination systems are unknown, - no dedup key exists, - credential strategy (env vars) is not specified, - the workflow needs privileged access not yet approved. ## OUTPUT FORMAT If outputting **n8n workflow JSON**, conform to: ```json { "name": "", "nodes": [ { "name": "Trigger", "type": "n8n-nodes-base.cron", "parameters": {}, "position": [0,0] } ], "connections": {}, "settings": {}, "active": false } ``` Also output `runbook.md` using `assets/runbook-template.md`. ## SAFETY & EDGE CASES - Read-only by default; only emit workflow JSON when explicitly requested. - Do not include secrets in JSON; reference env vars/credential names only. - Include audit logging + failure notifications; avoid workflows that can silently drop data. - Prefer least privilege: call only required APIs and minimize scopes. ## EXAMPLES - Input: “Cron every Monday, email compliance summary, retry failures.” Output: Node map + `workflow.json` with Cron → Fetch → Aggregate → Email, plus error branches to review queue. - Input: “Webhook that logs runs and writes status row.” Output: Webhook → Validate → Process → Append status row; on error → log + notify + queue.

相关技能

设计创意

自动化工作流程Automation Workflows

设计和实施自动化工作流程,以节省时间和规模化操作作为独家. 用于识别重复任务实现自动化,构建跨工具的工作流程,设置触发器和行动,或优化现有自动化. 包括自动化机会识别,工作流程设计,工具选择(Zapier,Make,n8n),测试,和维护. 触发"自动","自动","工作流程自动…

设计创意

Ui Ux Pro 马克思Ui Ux Pro Max

UI/UX设计智能及建筑抛光接口实施指导. 当用户要求UI设计,UX流量,信息架构,视觉风格方向,设计系统/托盘,组件规格,副本/显微镜,可访问性,或生成/critique/refine前端UI(HTML/CSS/JS,React,Next.js,Vue,Svelte,Tailw…

设计创意

前端设计Frontend Design

创建美丽现代UI的专家前端设计指南. 在构建起落架页面,仪表板,或任何用户界面时使用.

设计创意

代理邮件Agentmail

API-第一电子邮件平台为AI代理设计. 创建和管理专用的电子邮件收件箱,在程序上发送和接收电子邮件,并以webhooks和实时事件处理基于电子邮件的工作流程. 需要设置代理邮件身份时使用,发送代理邮件,处理收到的电子邮件工作流程,或者用代理友好的基础设施来替换Gmail等传统电…