{"product_id":"n8n-workflow-group-failed-execution-digests-email-webhooks","title":"n8n Workflow: Group Failed Execution Digests (Email \u0026 Webhooks)","description":"\u003ch3\u003eGroup recurring n8n production errors into one clean HTML email digest (with optional webhook)\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Workflow\u003c\/strong\u003e records production workflow failures into an n8n \u003cstrong\u003eData Table\u003c\/strong\u003e, normalizes similar errors so they group together, and then sends a \u003cstrong\u003esingle escaped HTML digest\u003c\/strong\u003e per interval by email (and optionally via webhook). Only the delivered snapshot is marked as sent.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCaptures failures\u003c\/strong\u003e: An \u003cstrong\u003eError Trigger\u003c\/strong\u003e receives failures from monitored production workflows.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes fingerprints\u003c\/strong\u003e: A \u003cstrong\u003eCode\u003c\/strong\u003e node removes changing numeric values, UUIDs, and common long ID forms from the fingerprint input so recurring issues group together.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHashes and stores\u003c\/strong\u003e: The \u003cstrong\u003ecore Crypto\u003c\/strong\u003e node hashes the normalized input; the \u003cstrong\u003eData Table\u003c\/strong\u003e stores a \u003cem\u003epending\u003c\/em\u003e event.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends hourly (or configured interval)\u003c\/strong\u003e: An hourly scheduler or manual trigger reads pending events and generates \u003cstrong\u003eone escaped HTML digest\u003c\/strong\u003e to recipients.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptional webhook delivery\u003c\/strong\u003e: If enabled, the digest is also sent to a webhook URL. Only \u003cstrong\u003erow IDs from the delivered snapshot\u003c\/strong\u003e are marked as sent.\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: Reduce alert fatigue by grouping the same root-cause failures instead of emailing every single execution.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProduction incident review\u003c\/strong\u003e: Get digests at \u003ccode\u003edigestEveryHours\u003c\/code\u003e (1, 2, 3, 4, 6, 8, 12, or 24) with grouped error context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook-based monitoring\u003c\/strong\u003e: Forward the same digest to an internal incident system via webhook, while keeping email as your primary channel.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequirements\u003c\/strong\u003e: n8n \u003cstrong\u003e2.8.4\u003c\/strong\u003e, \u003cstrong\u003eData Tables\u003c\/strong\u003e, \u003cstrong\u003eSMTP\u003c\/strong\u003e, and permissions to save operational failure information (no external database or community node required).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow nodes\u003c\/strong\u003e: \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ecrypto\u003c\/code\u003e, \u003cstrong\u003edata table\u003c\/strong\u003e, \u003cstrong\u003eemail send\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExecution links\u003c\/strong\u003e: Uses your configured instance URL for execution references in the digest.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNote\u003c\/strong\u003e: Digest sends run \u003cstrong\u003esequentially\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eWant grouping accuracy for environments where numeric codes are meaningful? The workflow includes guidance to adapt normalization when numeric values must be preserved.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46275613851827,"sku":"N8N-21489","price":75.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/nI8ezwizH66FHWnfHkmja_Fk1jUM0w.png?v=1792832762","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-group-failed-execution-digests-email-webhooks","provider":"N8N Commerce","version":"1.0","type":"link"}