{"product_id":"daily-n8n-health-digest-n8n-api-gmail-alerts","title":"Daily n8n Health Digest: n8n API + Gmail Alerts","description":"\u003ch3\u003eKeep your n8n instance healthy—automatically\u003c\/h3\u003e\n\u003cp\u003eThe \u003cstrong\u003eDaily n8n Health Digest: n8n API + Gmail Alerts\u003c\/strong\u003e workflow audits your n8n every day, finds execution errors, missed schedules, broken error handling, and invalid sub-workflow references—then emails an \u003cstrong\u003eHTML health digest via Gmail\u003c\/strong\u003e only when action is needed.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns daily at 06:30 (or on manual trigger):\u003c\/strong\u003e Loads configuration such as alert email, tag scope, timezone, and the lookback window.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAudits active workflows via the n8n API:\u003c\/strong\u003e Fetches all active published workflows and optionally limits monitoring to workflows matching your configured tags.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSummarizes recent execution errors:\u003c\/strong\u003e Pulls errored executions within the lookback window and groups them per in-scope workflow.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDetects missed schedule triggers:\u003c\/strong\u003e For scheduled workflows, calculates when they should have fired (in each workflow’s timezone) and flags schedules that didn’t run as expected.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks error-handling configuration:\u003c\/strong\u003e Flags missing or invalid paths such as no error workflow \/ missing Error Trigger, self-referential error workflows, and unpublished\/blocked error workflows.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFinds broken sub-workflow calls:\u003c\/strong\u003e Scans \u003cem\u003eExecute Workflow\u003c\/em\u003e calls to identify references to unpublished or disallowed sub-workflows.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends alerts only when needed:\u003c\/strong\u003e Builds an HTML digest with links back to the n8n editor and emails it through \u003cstrong\u003eGmail\u003c\/strong\u003e when problems exist. Optionally sends a weekly all-clear heartbeat.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators who want \u003cstrong\u003eearly detection\u003c\/strong\u003e of failing automations without checking the n8n UI.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers maintaining multiple tagged workflow groups with consistent \u003cstrong\u003eerror handling\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eTeams troubleshooting scheduled workflows that silently stop running.\u003c\/li\u003e\n  \u003cli\u003ePreventing outages by catching \u003cstrong\u003ebroken sub-workflow references\u003c\/strong\u003e before they cascade.\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, Gmail\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/logic:\u003c\/strong\u003e if, n8n, set, code, no op\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup requirement:\u003c\/strong\u003e Create an \u003cstrong\u003en8n API key\u003c\/strong\u003e to enable the instance audit.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46190232928435,"sku":"N8N-20635","price":74.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/66fwpN9ao8t72G0rCr2uv_F9bBB2NY.png?v=1791450687","url":"https:\/\/buyflowscripts.com\/products\/daily-n8n-health-digest-n8n-api-gmail-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}