n8n-workflow-automation
由 kowl64 提供
Self-Hosted & Automation简介
Designs and outputs n8n workflow JSON.
描述
该技能的功能
Generates n8n workflow JSON for automations that require reliable execution. Covers cron and webhook triggers, idempotency via dedup keys, per-node error handling with retry backoff, run logging, and human-in-the-loop review queues for failed items. Also outputs a runbook.md alongside the workflow file.
Produces importable n8n JSON with error handling, retries, and audit logging already wired in, rather than requiring you to add these patterns node by node.
何时使用
- Scheduling a weekly compliance summary email with automatic retry on failure
- Building a webhook that logs every run and appends a status row to a tracker
- Making an existing n8n workflow idempotent to prevent duplicate records on reruns
- Adding a human approval step before failed items are reprocessed
- Instrumenting a live workflow with audit logs and silent-failure alerts
示例工作流
User asks: Create a webhook workflow that logs every run and writes a status row to a Google Sheet
- 1
Clarify webhook trigger, expected payload schema, timezone, and destination Sheet
- 2
Define data contract including required fields and validation rules
- 3
Choose a dedup key and storage location to prevent duplicate rows on reruns
- 4
Generate a run_id, log start and end events, and append a status row on success
- 5
Add per-node error branches with retry backoff, failure notification, and a review queue for manual reprocessing
workflow.json with Webhook → Validate → Process → Append Status Row nodes, error branches routing failures to a review queue, and a runbook.md describing credentials, retry policy, and reprocessing steps
前置要求
- n8n instance (self-hosted or cloud)
安装
clawhub install kowl64/n8n-workflow-automation运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。