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 autom…
KOwl64
@kowl64
What This Skill Does
Generates n8n workflow JSON with built-in triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Outputs a workflow design spec or importable JSON plus a runbook.
Replaces manually building n8n workflows from scratch by providing a structured, auditable design that prevents silent failures and duplicate records.
When to Use It
- Build a cron-triggered workflow that emails a compliance summary every Monday
- Add error handling, retries, and a review queue to an existing n8n workflow
- Create a webhook workflow that logs every run and writes a status row to a tracker
- Make an n8n flow idempotent to prevent duplicate records on reruns
- Instrument a workflow with audit logs and a human approval step
- Design a workflow that routes failed items to a review queue for manual reprocessing
Install
$ openclaw skills install @kowl64/n8n-workflow-automationn8n 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.
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.jsonwith 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.
Top skills in this category
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Auto-Updater Skill
@maximepradesAutomatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Free Ride - Unlimited free AI
@shaivpidadiManages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Automation Workflows
@jk-0001Design and implement automation workflows to save time and scale operations as a solopreneur. Use when identifying repetitive tasks to automate, building workflows across tools, setting up triggers and actions, or optimizing existing automations. Covers automation opportunity identification, workflow design, tool selection (Zapier, Make, n8n), testing, and maintenance. Trigger on "automate", "automation", "workflow automation", "save time", "reduce manual work", "automate my business", "no-code automation".
Desktop Control
@matagulAdvanced desktop automation with mouse, keyboard, and screen control