{"product_id":"detect-silent-n8n-workflow-failures-with-openai-sheets-slack","title":"Detect Silent n8n Workflow Failures with OpenAI, Sheets \u0026 Slack","description":"\u003ch3\u003eDetect Silent n8n Workflow Failures—Automatically\u003c\/h3\u003e\n\u003cp\u003eThis hourly n8n automation monitors your active workflows for \u003cstrong\u003esilent failures\u003c\/strong\u003e, logs incidents in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e to suggest likely causes, and sends instant \u003cstrong\u003eSlack\u003c\/strong\u003e alerts for both new issues and recovered workflows.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns every hour\u003c\/strong\u003e on a schedule to keep an always-on eye on workflow health.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches all active workflows\u003c\/strong\u003e via the n8n API, then skips itself and any workflow with a configured \u003cem\u003eskip tag\u003c\/em\u003e (example: \u003ccode\u003eno-monitor\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnalyzes recent executions\u003c\/strong\u003e by pulling the \u003cstrong\u003e10 most recent runs\u003c\/strong\u003e per workflow and scoring for patterns associated with silent failures (such as missed schedules, repeated zero output, and sudden volume drops).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTracks incidents in Google Sheets\u003c\/strong\u003e by reading the \u003ccode\u003eIncidents\u003c\/code\u003e tab and comparing the latest health results to open incidents to decide whether to:\n    \u003cul\u003e\n      \u003cli\u003eopen a new incident,\u003c\/li\u003e\n      \u003cli\u003eresolve an existing one, or\u003c\/li\u003e\n      \u003cli\u003ereplace it when the problem type changes.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenAI for incident triage\u003c\/strong\u003e on new incidents—passing workflow context and run history to generate a severity, likely causes, and a “check first” action.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends Slack notifications\u003c\/strong\u003e for new incidents and recovery updates, including incident resolution timing and downtime hours.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eYou run multiple n8n automations and need protection against workflows that “seem fine” but stop producing results.\u003c\/li\u003e\n  \u003cli\u003eYou want a lightweight incident log for SaaS operations teams, with actionable triage suggestions.\u003c\/li\u003e\n  \u003cli\u003eYou need Slack alerts when scheduled jobs stop behaving normally—even without explicit errors.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: n8n API, \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, \u003cstrong\u003eOpenAI\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow nodes used\u003c\/strong\u003e: \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eslack\u003c\/code\u003e, \u003ccode\u003efilter\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheet setup\u003c\/strong\u003e: create a tab named \u003ccode\u003eIncidents\u003c\/code\u003e with columns including \u003ccode\u003eincident_id\u003c\/code\u003e, \u003ccode\u003eworkflow_id\u003c\/code\u003e, \u003ccode\u003eworkflow_name\u003c\/code\u003e, \u003ccode\u003eproblem_type\u003c\/code\u003e, \u003ccode\u003edetails\u003c\/code\u003e, \u003ccode\u003eseverity\u003c\/code\u003e, \u003ccode\u003elikely_causes\u003c\/code\u003e, \u003ccode\u003echeck_first\u003c\/code\u003e, \u003ccode\u003estatus\u003c\/code\u003e, \u003ccode\u003eopened_at\u003c\/code\u003e, \u003ccode\u003eresolved_at\u003c\/code\u003e, and \u003ccode\u003edow\u003c\/code\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46232414847155,"sku":"N8N-21052","price":74.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/4xE71h69law4uU2O3YfK__1Du5NxzQ.png?v=1792141947","url":"https:\/\/buyflowscripts.com\/products\/detect-silent-n8n-workflow-failures-with-openai-sheets-slack","provider":"N8N Commerce","version":"1.0","type":"link"}