Monitor n8n Automations with OpenClaw
/install n8n-monitoring
n8n Monitor Skill
Monitor your self-hosted n8n instance through a webhook-based API. Get health reports, detect failing workflows, and debug errors using structured data from your n8n executions.
Quick Workflow
- Call the webhook with
{"action": "get_workflow_executions", "limit": 50}to get a health overview - Check the
summary.failureRateto determine status: GREEN (\x3C10%), YELLOW (10-25%), RED (>25%) - If failures exist, check
workflowPerformance.topProblematicWorkflowsfor the worst offenders - For deep debugging, call
{"action": "get_execution_details", "limit": 5, "workflow_id": "\x3CID>"}to get error messages and failed nodes
Available Endpoints
All endpoints are POST requests to the N8N_WEBHOOK_URL environment variable.
get_active_workflows
Returns all active workflows with IDs, names, and metadata.
{"action": "get_active_workflows"}
get_workflow_executions
Returns recent executions with computed KPIs: failure rate, timing metrics, per-workflow performance, alerts.
{"action": "get_workflow_executions", "limit": 50}
Key response fields:
summary.totalExecutions,summary.failureRate,summary.successRatetiming.averageExecutionTime,timing.minExecutionTime,timing.maxExecutionTimeworkflowPerformance.topProblematicWorkflows(sorted by failure rate)alerts.highFailureRate(boolean),alerts.workflowsNeedingAttention(list)
get_execution_details
Returns detailed error data for a specific workflow: error messages, failed node names and types, timestamps.
{"action": "get_execution_details", "limit": 5, "workflow_id": "\x3CWORKFLOW_ID>"}
Health Thresholds
| Status | Failure Rate | Action |
|---|---|---|
| GREEN | \x3C 10% | No action needed |
| YELLOW | 10-25% | Investigate flagged workflows |
| RED | > 25% | Immediate attention required |
Notification Templates
One-Line Summary
n8n \x3CEMOJI> | failure \x3CRATE>% (\x3CN> exec) | \x3CNOTE>
Quick Status (for cron/heartbeat)
n8n monitor (\x3CTIME> UTC) -> \x3CEMOJI> \x3CSTATUS>
Hot spots:
\x3CEMOJI> \x3CWORKFLOW_NAME> - "\x3CERROR_MESSAGE>" (\x3CFAILED_NODE> node)
Full Report
Combine all three endpoints for a complete picture:
- Active workflows summary (count, categories)
- Health status with KPIs (failure rate, timing, execution modes)
- Hot spots table (per-workflow failure rates)
- Error details for critical workflows
- Alerts and recommended actions
Recommended Monitoring Patterns
Automated Cron Monitoring
- Run a monitor script every 30 minutes that calls
get_workflow_executions - Log health status to a file
- Use a heartbeat (e.g., every hour at :32) to read the log and send alerts only when status is YELLOW or RED
- Stay quiet when everything is GREEN
On-Demand Debugging
- Call
get_workflow_executionsto identify which workflows are failing - Note the workflow ID
- Call
get_execution_detailswith that ID for error patterns and failed node info
Alert Deduplication
- Hash each alert payload
- Only notify when the hash changes (new error or status change)
- Prevents notification fatigue when the same error persists
Environment
N8N_WEBHOOK_URL: Your n8n webhook endpoint (required)- Webhook timeout: 30 seconds (use lower
limitvalues for large instances)
Prompts That Work Well
- "Check the health of my n8n instance"
- "Which workflows are failing?"
- "Debug errors in workflow \x3CID>"
- "Generate a health report for the last 100 executions"
- "What's causing failures in my data processing workflow?"
Failure Modes
- Webhook timeout: Reduce the
limitparameter - Authorization errors: Check n8n API credentials in the webhook workflow
- Empty results: Verify the webhook workflow is active and the URL is correct
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install n8n-monitoring - 安装完成后,直接呼叫该 Skill 的名称或使用
/n8n-monitoring触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Monitor n8n Automations with OpenClaw 是什么?
Monitor and debug n8n workflow executions via webhook. Provides health checks (GREEN/YELLOW/RED), failure analysis, error debugging, and formatted alerting t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。
如何安装 Monitor n8n Automations with OpenClaw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install n8n-monitoring」即可一键安装,无需额外配置。
Monitor n8n Automations with OpenClaw 是免费的吗?
是的,Monitor n8n Automations with OpenClaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Monitor n8n Automations with OpenClaw 支持哪些平台?
Monitor n8n Automations with OpenClaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Monitor n8n Automations with OpenClaw?
由 Samir Saci(@samirsaci)开发并维护,当前版本 v1.0.0。