{"product_id":"n8n-monitor-api-health-slack-alerts-on-status-change","title":"n8n Monitor API Health \u0026 Slack Alerts on Status Change","description":"\u003ch3\u003eAutomatically monitor your API health and alert your team in Slack only when it changes\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow checks a configured API health endpoint every 30 minutes and sends a Slack notification \u003cstrong\u003eonly when the health status flips\u003c\/strong\u003e—posting “DOWN” when the service becomes unhealthy and “RECOVERED” when it returns to normal.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule:\u003c\/strong\u003e uses a Schedule Trigger to execute every 30 minutes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePerforms a health check safely:\u003c\/strong\u003e calls your health endpoint using n8n’s \u003cstrong\u003eHTTP Request\u003c\/strong\u003e (with \u003cem\u003eNever Error\u003c\/em\u003e) so timeouts or 5xx responses are captured as data rather than failing the whole workflow.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates the response:\u003c\/strong\u003e includes a custom validation step (via a code step) to determine whether the service is up—for example, checking criteria like \u003ccode\u003eok === true\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDebounces repeated alerts:\u003c\/strong\u003e compares the current health verdict against the last stored verdict and sends a message only when the status changes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies in Slack:\u003c\/strong\u003e posts a timestamped “DOWN” or “RECOVERED” message to your selected Slack channel.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operators\u003c\/strong\u003e who need reliable API uptime visibility without alert spam.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e who want a simple n8n API monitoring workflow with change-based Slack alerts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTeams managing external dependencies\u003c\/strong\u003e who want immediate awareness when a downstream API becomes unhealthy.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/steps:\u003c\/strong\u003e Schedule Trigger, HTTP Request, Code (validation + status comparison), Slack, Sticky Note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack integration:\u003c\/strong\u003e sends “DOWN”\/“RECOVERED” messages to a chosen channel.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e update the HTTP Request URL to your health endpoint, adjust the success criteria in the code step to match your payload, and configure Slack credentials\/channel.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eResult:\u003c\/strong\u003e lightweight n8n API health monitoring with Slack notifications triggered by status change—not repeated checks.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45872830808243,"sku":"N8N-18459","price":22.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/MKuEm84cmqDkTNW75GH-N_s7YdziN0.png?v=1787217440","url":"https:\/\/buyflowscripts.com\/products\/n8n-monitor-api-health-slack-alerts-on-status-change","provider":"N8N Commerce","version":"1.0","type":"link"}