Templates / Detect silent n8n workflow failures with OpenAI, Google Sheets and Slack

Detect silent n8n workflow failures with OpenAI, Google Sheets and Slack

Ready for 3.0

by Samruddhi Mokal ✓ · 0 views · created 2026-10-16 · DevOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 17 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets, OpenAI Chat Model and Slack.

How it runs

Trigger: On a schedule (every hour).

  1. Configure settings (Edit Fields (Set)): sets 8 fields: sheet_id, slack_channel, n8n_base_url…
  2. Get active workflows (n8n): get many (workflow)
  3. Skip excluded workflows (Filter): keeps only the items that match a condition
  4. Get recent executions (n8n): get many (execution)
  5. Score workflow health (Code): runs custom JavaScript code
  6. Read incident log (Google Sheets): uses Google Sheets
  7. Compare with open incidents (Code): runs custom JavaScript code
  8. Route by change (Switch): routes items into 2 branches
  9. Diagnose with AI (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  10. Mark incident resolved (Google Sheets): update

…plus 4 more steps. See the full node list below.

Services it uses

Google SheetsOpenAI Chat ModelSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow runs hourly to monitor active n8n workflows for silent failures by analyzing recent execution history via the n8n API, logging incidents in Google Sheets, using OpenAI to suggest likely causes, and sending new-incident and…

Excerpt from Samruddhi Mokal's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.