Quick overview
Quick overview This workflow monitors website uptime every 5 minutes and SSL certificate expiry daily at 8:00, sending Telegram alerts only when a site changes state (down/recovered) or when a certificate is nearing expiration using Cert Spotter certificate transparency data. How it works Runs every 5 minutes on a schedule to check each configured website URL. Sends an HTTP request to each site with a 10-second timeout and captures the HTTP status or network error. Compares the current result to the last saved state and only creates an alert when a site goes down (error/timeout/status ≥ 500) or recovers. Sends the uptime state-change alert message to a Telegram chat. Runs daily at 8:00 to extract domains from the same site list and query Cert Spotter for the newest issued SSL certificate expiry date. Calculates days until expiry and sends a Telegram warning at 21 days and a critical alert at 7 days (or flags domains with missing certificate data). Setup Add Telegram credentials in n8n and replace YOUR_TELEGRAM_CHAT_ID in both Telegram nodes with your chat ID. Update the URL list in the site list code so it contains the websites you want to monitor (one URL per line). Ensure the workflow is activated so workflow static data can persist site up/down state between scheduled runs. Requirements A free Telegram bot token (create one with @BotFather) and your chat ID Customization Swap Telegram for Gmail, Slack or SMS by replacing the alert nodes; change what counts as DOWN (e.g. treat 404 as down) in the Check for Status Change node; adjust the WARN_DAYS and CRITICAL_DAYS thresholds in Check SSL Expiry. Additional info SSL data comes from Cert Spotter's free CT-log API - no API key or payment needed. CT logs show the newest issued certificate; if you renew but forget to deploy it, the 5-minute uptime loop still catches the broken TLS as DOWN - two layers, no gaps. I run production monitoring for real businesses. Need escalation chains, status pages, keyword checks, response-time budgets, or backup/disk monitoring for the same server that runs your n8n? I build extended versions with async delivery - contact links in my creator profile. An n8n automation workflow template by Vitaliy Voitik.
Vitaliy Voitik
web
free
Others in the same category, ranked by how often they are opened.