n8n-workflow-automation
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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/12357851/n8n-workflow-automation-local-backupn8n 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
- Clarify trigger:
- Cron/webhook/manual; schedule/timezone; concurrency expectations.
- Define data contract:
- input schema, required fields, and validation rules.
- Design idempotency:
- choose dedup key(s) and storage (DB/Sheet) to prevent duplicates on retries.
- Add observability:
- generate
run_id, log start/end, store status row and error details.
- generate
- Implement error handling:
- per-node error branches, retry with backoff, and final failure notification.
- Add human-in-the-loop (HITL) review queue:
- write failed items to a queue (Sheet/DB) and require approval to reprocess.
- “No silent failure” gates:
- if counts/thresholds fail, stop workflow and alert.
- Output:
- If asked for JSON: produce importable n8n workflow JSON + runbook.
- 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:
{
"name": "<workflow 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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-12357851-n8n-workflow-automation-local-backup": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
gog
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Memory
Infinite organized memory that complements your agent's built-in memory with unlimited categorized storage.