Downloads
Download the n8n workflow (JSON)
n8n-silent-failure-watchdog-n8n-claude.json · n8n workflow · 22 steps · starts with Every Hour · uses N8n, Data Table, Slack, Anthropic · 36 KB
How to import it into n8n
- In n8n, create a new workflow.
- Open the ⋯ menu at the top right and choose Import from File, then pick the downloaded .json. (Or open the file, copy everything and paste it on the canvas.)
- Open each node with a warning and connect your own account: the file carries no passwords or keys.
- Run it once with Test workflow, check the result, then switch it to Active.
What this workflow does
Catch the n8n failures that never trigger an alert. Every hour this workflow reads your whole instance through the n8n API and flags workflows with no error workflow, an error workflow that was deleted or is not published, schedules that stopped running, repeated errors, crashed runs, expired credentials, stuck runs and green runs that sent nothing. Claude Haiku explains each new problem in plain words, Slack gets one message, and a data table makes sure each problem is posted once and again when it is fixed.
- Every Hour starts the check. Get All Workflows, Get Recent Executions and Get Failed Run Details read the instance through the n8n API. Get Watchdog Rules, Get Last Successful Run and Get Open Alerts add your per-workflow rules and the alerts already sent. If the n8n API call fails, Post Watchdog Failure tells Slack.
- Find Silent Failures runs every check on each published workflow (except itself, workflows tagged
no-watchdogand muted ones). - Split Alert Changes and Save Alert State store each problem as new, ongoing or fixed in the watchdog_alerts data table.
- Any New Issues? sends new problems to Explain Issues with Claude for a likely cause and fix. If Claude fails, Use Standard Hints fills in a built-in fix. Build Slack Message and Post Alert to Slack send one message with links to each workflow, plus what got fixed. At the digest hour it also lists everything still open.
- Heartbeat URL Set? and Ping Heartbeat URL ping an outside monitor such as Healthchecks.io after every run, so you also hear about it when the watchdog itself stops.
Who it is for
Agencies, freelancers and in-house teams who run many production workflows on one n8n instance and have been burned by a workflow that silently stopped for days.
What you need
- n8n (Cloud or self-hosted)
- n8n instance with the public API enabled (Cloud or self-hosted) and an API key
- n8n Data Tables
- Slack workspace
- Anthropic API key (Claude Haiku 5.5)
- Optional: a heartbeat monitor URL (Healthchecks.io, Better Stack, Uptime Kuma)
The workflow, step by step
Step 1 · Schedule and settings
Runs every hour. All thresholds and links live in Workflow Configuration.
- Every Hour (Schedule)
- Workflow Configuration (Set)
Step 2 · Read your n8n instance
Pulls workflows, recent runs, failed run details, your rules and open alerts. If the n8n API fails, Slack is told.
- Get All Workflows (n8n)
- Get Recent Executions (n8n)
- Get Failed Run Details (n8n)
- Post Watchdog Failure (Slack)
- Get Watchdog Rules (dataTable)
- Get Last Successful Run (n8n)
- Get Open Alerts (dataTable)
Step 3 · Find silent failures
One Code node runs every check and compares the result with alerts already sent.
- Find Silent Failures (Code)
Step 4 · Remember alerts
Saves new, ongoing and fixed problems so each one is posted once.
- Split Alert Changes (Split Out)
- Save Alert State (dataTable)
Step 5 · Explain and alert
Claude explains new problems in plain words, then one Slack message goes out.
- Anything to Report? (IF)
- Any New Issues? (IF)
- Explain Issues with Claude (Basic LLM Chain)
- Claude Haiku (Claude model)
- Explanation Format (Structured Output Parser)
- Use Standard Hints (Set)
- Build Slack Message (Set)
- Post Alert to Slack (Slack)
Step 6 · Heartbeat
Pings an outside monitor such as Healthchecks.io, so you also hear when the watchdog itself stops.
- Heartbeat URL Set? (IF)
- Ping Heartbeat URL (HTTP Request)
Setup
- Download the JSON below and import it in n8n (Create workflow > ⋯ > Import from File).
- In n8n go to Settings > n8n API, create an API key and add an n8n API credential with your base URL ending in
/api/v1. Select it on the five n8n nodes. - Create two data tables and pick them in the four data table nodes: watchdog_rules with
workflow_id(string),expected_every_hours(number),min_output_items(number),output_node(string) andmuted(boolean), and watchdog_alerts with string columnsissue_key,workflow_id,workflow_name,issue_type,severity,detail,status,first_seen,last_alertedandlast_seen. - Add Slack and Anthropic credentials and pick a channel in both Slack nodes.
- Open Workflow Configuration and set
n8nBaseUrl(your editor URL, used for links),digestHourand, if you want,heartbeatUrl. - Test: clear the error workflow on any published workflow, then run this one. Expect a Slack alert naming it with "No error workflow is set". Put the error workflow back, run again and expect "no error workflow is fixed".
- Activate the workflow.
How to customise
- Workflow Configuration:
lookbackHours,repeatedErrorThreshold,staleGraceMultiplier,stuckRunMinutes,realertHours,digestHour,ignoreTag - Add a row to watchdog_rules to set the expected interval for webhook workflows, require a minimum number of output items or mute a workflow
- Explain Issues with Claude: change the prompt or swap the model sub-node
- Build Slack Message: change the layout, or swap Post Alert to Slack for email, Teams or Telegram
Why Claude
Claude Haiku 5.5 (claude-haiku-5-5) in Claude Haiku, used only by Explain Issues with Claude. The job is turning a short raw error into a one-line cause and fix, so a small fast model is the right fit: it costs a fraction of a cent per run and only runs when there is a new problem, never on quiet hours. The prompt tells it to use only the facts in the issue and never invent node names or credentials, and a structured output parser keeps the answer in a fixed shape. All the checks themselves run in plain code, because deciding whether a workflow is broken must be exact. If Claude fails or has no credential, Use Standard Hints puts the built-in fix in the message, so an alert is never lost. You can swap the model sub-node for any chat model n8n supports.
Troubleshooting
- Credential errors after import: imported workflows never include credentials. Open each node marked red and select your own account.
- Nothing runs on its own: test runs only fire once. Activate the workflow so the trigger keeps running.
- Odd times or dates: set your timezone in Workflow Settings.
Want the members-only resources too?
A free account unlocks them all, including the ones shared in DMs.

