{"product_id":"n8n-weekly-health-report-prometheus-github-smtp-email","title":"n8n Weekly Health Report: Prometheus, GitHub \u0026 SMTP Email","description":"\u003ch3\u003eWeekly Health Report for your self-hosted n8n—Prometheus, GitHub \u0026amp; SMTP in one email\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow checks your self-hosted n8n instance every week and delivers a single, easy-to-read HTML health report via SMTP—covering version status, security audit results, latest stable GitHub releases, and failed executions from the past week.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns weekly (Mondays at 8am)\u003c\/strong\u003e or can be triggered manually to generate the report.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads report settings\u003c\/strong\u003e including your n8n URL, Prometheus metrics endpoint, look-back window, and email recipients.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReads the running n8n version from Prometheus metrics\u003c\/strong\u003e (using your configured metrics URL; default is \u003ccode\u003ehttp:\/\/localhost:5678\/metrics\u003c\/code\u003e) and runs the \u003cstrong\u003en8n instance security audit\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks GitHub releases\u003c\/strong\u003e by fetching the latest stable n8n versions from the \u003cstrong\u003en8n-io\/n8n\u003c\/strong\u003e GitHub releases API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSummarizes recent failures\u003c\/strong\u003e by retrieving failed executions and workflow names, then grouping failures that occurred within the configured look-back window by workflow.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends a combined report\u003c\/strong\u003e as both \u003cstrong\u003eHTML and plain-text\u003c\/strong\u003e via \u003cstrong\u003eSMTP\u003c\/strong\u003e, including version status, audit findings, and failure counts.\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\u003eweekly n8n reliability reporting\u003c\/strong\u003e without checking logs.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers who need \u003cstrong\u003esecurity audit visibility\u003c\/strong\u003e and fast awareness of outdated n8n versions.\u003c\/li\u003e\n  \u003cli\u003eTeams monitoring workflow health and tracking \u003cstrong\u003ewhich workflows are failing most\u003c\/strong\u003e over the last week.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMetrics (Prometheus):\u003c\/strong\u003e requires \u003ccode\u003eN8N_METRICS=true\u003c\/code\u003e on your n8n instance.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n API:\u003c\/strong\u003e uses an n8n API key for audit, executions, and workflow-list requests.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGitHub integration:\u003c\/strong\u003e pulls latest stable releases from \u003cstrong\u003en8n-io\/n8n\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ steps:\u003c\/strong\u003e \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ehttp request\u003c\/code\u003e, \u003ccode\u003eemail send\u003c\/code\u003e, and a \u003ccode\u003esticky note\u003c\/code\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eBefore activating the schedule, update the instance URL, recipients, sender address, and look-back days in the report settings.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46086679691443,"sku":"N8N-19842","price":72.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/4d-kUmAqmaGVDpiUryol9_6FE3KBaN.png?v=1790327875","url":"https:\/\/buyflowscripts.com\/products\/n8n-weekly-health-report-prometheus-github-smtp-email","provider":"N8N Commerce","version":"1.0","type":"link"}