Send SSL certificate expiry alerts for your domains to Telegram
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Telegram
n8n-nodes-base.telegram
What it does
Quick overview This workflow runs daily to check the SSL certificate expiry status of a configured list of domains using the NetworkCalc certificate API, then sends a single consolidated alert message to a Telegram chat when certificates are expiring, expired, mismatched, or cannot be checked. How it works 1. Runs every day at 08:00 on a schedule. 2. Reads your configured domain list, cleans and deduplicates it, and limits processing to 50 valid domains. 3. Queries the NetworkCalc public certificate API for each domain to retrieve SSL certificate details. 4. Evaluates each result to detect expiry thresholds, already-expired certificates, hostname mismatches, and repeated check failures, while tracking previous alert state to avoid duplicate notifications. 5. Builds one prioritized Telegram message containing only the relevant alerts (or a full report when enabled). 6. Sends the formatted alert/report to your specified Telegram chat. Setup 1. Create a Telegram bot with BotFather and add the Telegram credential (bot token) to the Telegram node. 2. Set the target Telegram chat ID in the workflow settings value for telegramchatid. 3. Update domains with your comma/whitespace-separated list of public domain names and adjust alertdaysbefore (and optionally reportall) to match your alerting needs.