{"product_id":"n8n-url-uptime-monitor-with-data-tables-smtp-alerts","title":"n8n URL Uptime Monitor with Data Tables \u0026 SMTP Alerts","description":"\u003ch3\u003eMonitor URL uptime every 5 minutes—confirm downtime with 2 failures and get SMTP alerts + daily reports\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow continuously checks your URLs on a 5-minute schedule, only confirms downtime after two consecutive failures, and sends clear SMTP email alerts when a site goes DOWN or recovers—while logging every check to n8n Data Tables and emailing a daily uptime\/latency report at 08:00.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eScheduled monitoring:\u003c\/b\u003e Runs every 5 minutes to load recent incident history and recent check results from n8n Data Tables.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003ePer-URL probing with retry:\u003c\/b\u003e Builds a per-URL check list (including expected page text and the previous state) and performs an HTTP GET. If the first attempt fails, it retries once after a short wait.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eDowntime confirmation logic:\u003c\/b\u003e Detects \u003cb\u003econfirmed downtime\u003c\/b\u003e only after two consecutive failed checks. Detects \u003cb\u003erecovery\u003c\/b\u003e on the first successful check after being down and calculates downtime minutes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003ePersistent logging:\u003c\/b\u003e Records every check outcome (status code, response time, and reason) to the \u003cb\u003eurl_checks\u003c\/b\u003e Data Table.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eIncident + notification:\u003c\/b\u003e On state change, writes an incident to the \u003cb\u003eurl_incidents\u003c\/b\u003e table and sends a single \u003cb\u003eSMTP\u003c\/b\u003e email alert for either DOWN or RECOVERED.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eDaily HTML report:\u003c\/b\u003e At \u003cb\u003e08:00\u003c\/b\u003e, aggregates the last 24 hours of checks (compared to the prior 24 hours) and emails an HTML report with uptime %, average and p95 response times, and incidents per URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAutomatic cleanup:\u003c\/b\u003e Deletes \u003cb\u003eurl_checks\u003c\/b\u003e rows older than \u003cb\u003e14 days\u003c\/b\u003e to keep your dataset lean.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams monitoring critical endpoints (login, APIs, landing pages) with reliable DOWN\/RECOVERED notifications.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers needing n8n URL uptime monitoring with response-time tracking and incident history.\u003c\/li\u003e\n  \u003cli\u003eOperations teams generating daily uptime + latency insights without manual reporting.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eNodes\/logic: \u003cb\u003eSchedule Trigger\u003c\/b\u003e, \u003cb\u003eif\u003c\/b\u003e, \u003cb\u003eCode\u003c\/b\u003e, \u003cb\u003eData Table\u003c\/b\u003e, \u003cb\u003eEmail Send\u003c\/b\u003e, \u003cb\u003eSticky Note\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003eData Tables: \u003cb\u003eurl_checks\u003c\/b\u003e (url, ok, status_code, response_ms, reason, checked_at) and \u003cb\u003eurl_incidents\u003c\/b\u003e (status, reason, …).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46123159486643,"sku":"N8N-20110","price":40.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Afa8UjqDnPax_TQRVpJoN_qxgW4FQg.png?v=1790673174","url":"https:\/\/buyflowscripts.com\/products\/n8n-url-uptime-monitor-with-data-tables-smtp-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}