{"product_id":"n8n-workflow-liveness-monitor-with-api-smtp-email-alerts","title":"n8n Workflow Liveness Monitor with API \u0026 SMTP Email Alerts","description":"\u003ch3\u003eNever miss a scheduled n8n workflow run—get instant HTML alerts when execution liveness degrades\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Workflow Liveness Monitor with API \u0026amp; SMTP Email Alerts\u003c\/strong\u003e checks active, scheduled workflows via the \u003cstrong\u003en8n API\u003c\/strong\u003e and sends an \u003cstrong\u003eHTML report email over SMTP\u003c\/strong\u003e when it detects missed runs, elevated failure rates, or unusually slow executions.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns daily (or manually)\u003c\/strong\u003e at \u003cstrong\u003e09:30\u003c\/strong\u003e to start a monitoring cycle (per your configuration).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads monitoring settings\u003c\/strong\u003e such as recipients, tolerances, and thresholds.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a watch list\u003c\/strong\u003e by fetching \u003cstrong\u003eactive workflows\u003c\/strong\u003e using the \u003cstrong\u003en8n API\u003c\/strong\u003e and deriving each workflow’s expected run gap from its enabled \u003cstrong\u003eSchedule Trigger\u003c\/strong\u003e (or an optional per-workflow override).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnalyzes recent executions\u003c\/strong\u003e: for each watched workflow, it pulls the \u003cstrong\u003elast 50 executions\u003c\/strong\u003e and \u003cstrong\u003eignores manual executions\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFlags liveness issues\u003c\/strong\u003e, including:\n    \u003cul\u003e\n      \u003cli\u003eWorkflows that are \u003cstrong\u003eoverdue\u003c\/strong\u003e to run\u003c\/li\u003e\n      \u003cli\u003eWorkflows with \u003cstrong\u003eno recent successful runs\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003eWorkflows exceeding a \u003cstrong\u003e7-day error-rate threshold\u003c\/strong\u003e with a failure in the \u003cstrong\u003elast 24 hours\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003eWorkflows running \u003cstrong\u003eunusually slowly\u003c\/strong\u003e compared to recent execution medians\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends an email report only when needed\u003c\/strong\u003e: generates an HTML summary table (including entries skipped due to configuration\/retention limits) and sends via SMTP \u003cstrong\u003eonly if at least one finding exists\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eMonitor \u003cstrong\u003eSaaS automation\u003c\/strong\u003e workflows to quickly detect missed scheduled runs\u003c\/li\u003e\n  \u003cli\u003eCatch \u003cstrong\u003edegrading reliability\u003c\/strong\u003e by alerting on rising failure rates\u003c\/li\u003e\n  \u003cli\u003eDetect \u003cstrong\u003eperformance regressions\u003c\/strong\u003e when jobs slow down versus historical medians\u003c\/li\u003e\n  \u003cli\u003eEnsure critical workflows don’t silently fail when execution retention is insufficient\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations \/ nodes\u003c\/strong\u003e: \u003cstrong\u003en8n API\u003c\/strong\u003e, \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eemail send\u003c\/strong\u003e, \u003cstrong\u003esticky note\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuth\u003c\/strong\u003e: configure an \u003cstrong\u003en8n API key\u003c\/strong\u003e and an n8n API credential for nodes that read workflows\/executions\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDelivery\u003c\/strong\u003e: configure \u003cstrong\u003eSMTP\u003c\/strong\u003e credentials plus sender\/recipient addresses\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData retention requirement\u003c\/strong\u003e: ensure your instance retains successful executions long enough for monitored schedules (and note the workflow’s retention-related skipping behavior)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46223951429811,"sku":"N8N-20896","price":9.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Fdumo_2o1S2C-bNUlU1aG_wsnEJbq7.png?v=1791969648","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-liveness-monitor-with-api-smtp-email-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}