{"product_id":"n8n-error-trigger-deduplicated-workflow-failure-alerts-to-slack-email","title":"n8n Error Trigger: Deduplicated Workflow Failure Alerts to Slack \u0026 Email","description":"\u003ch3\u003eStop drowning in repeated alerts—automatically send deduplicated n8n failure notifications to Slack and email\u003c\/h3\u003e\n\u003cp\u003eThis n8n automation workflow monitors other workflows using n8n’s \u003cstrong\u003eError Trigger\u003c\/strong\u003e, deduplicates repeat failures within a short “quiet window,” and then sends a clear alert to \u003cstrong\u003eSlack\u003c\/strong\u003e and optionally via \u003cstrong\u003eSMTP email\u003c\/strong\u003e—so your team sees the signal, not the noise.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on workflow failures:\u003c\/strong\u003e It runs whenever another n8n workflow configured to use it as an “Error workflow” fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts the important details:\u003c\/strong\u003e It normalizes the incoming error payload to capture the workflow name, failing node (when available), the error message, and an execution URL (if available).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeduplicates repeated errors:\u003c\/strong\u003e If the same workflow\/error repeats inside the last \u003cstrong\u003efive minutes\u003c\/strong\u003e (quiet window), it suppresses additional alerts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFormats one readable alert:\u003c\/strong\u003e It builds a single Slack message and an email subject containing the workflow name, failing node (or a trigger failure note), the error text, and the execution link when provided.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends alerts to your comms tools:\u003c\/strong\u003e Sends to a selected \u003cstrong\u003eSlack channel\u003c\/strong\u003e and can also send the same content via \u003cstrong\u003eemail using SMTP\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operations:\u003c\/strong\u003e Notify support and engineering when critical automations fail, without spamming repeated errors.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineering:\u003c\/strong\u003e Get actionable alerts with the failing node and execution link for faster debugging.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMulti-workflow environments:\u003c\/strong\u003e Monitor numerous workflows from one standardized error notification pipeline.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTrigger:\u003c\/strong\u003e n8n \u003cstrong\u003eError Trigger\u003c\/strong\u003e (runs when a monitored workflow fails).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogic:\u003c\/strong\u003e \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, and \u003cstrong\u003eno op\u003c\/strong\u003e for normalization and quiet-window deduplication.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifications:\u003c\/strong\u003e \u003cstrong\u003eSlack\u003c\/strong\u003e (Slack API credential + target channel) and \u003cstrong\u003eEmail Send\u003c\/strong\u003e via \u003cstrong\u003eSMTP\u003c\/strong\u003e (SMTP credentials, from\/to addresses).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfiguration:\u003c\/strong\u003e Ensure executions are saved in n8n to include execution URLs in alerts; adjust the quiet window in the code if needed.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45878613770419,"sku":"N8N-18543","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/RIiDpmmtFAtKIXQVnGbpe_FN9CYaCZ.png?v=1787389754","url":"https:\/\/buyflowscripts.com\/products\/n8n-error-trigger-deduplicated-workflow-failure-alerts-to-slack-email","provider":"N8N Commerce","version":"1.0","type":"link"}