Self-Hosted & AutomationDocumentedScanned
n8n-workflow-automation
Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging.
Share:
Installation
npx clawhub@latest install n8n-workflow-automationView the full skill documentation and source below.
Documentation
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:
- DO NOT USE WHEN…
INPUTS
- REQUIRED:
- OPTIONAL:
- EXAMPLES:
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).
WORKFLOW
run_id, log start/end, store status row and error details.
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.
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.”
workflow.json with Cron → Fetch → Aggregate → Email, plus error branches to review queue.
- Input: “Webhook that logs runs and writes status row.”