Send SSL certificate expiry alerts for your domains to Telegram

Go to Workflow
0 views
Built by 0xGollum 0xGollum
Created on October 14, 2026

Description

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
Runs every day at 08:00 on a schedule.
Reads your configured domain list, cleans and deduplicates it, and limits processing to 50 valid domains.
Queries the NetworkCalc public certificate API for each domain to retrieve SSL certificate details.
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.
Builds one prioritized Telegram message containing only the relevant alerts (or a full report when enabled).
Sends the formatted alert/report to your specified Telegram chat.

Setup
Create a Telegram bot with BotFather and add the Telegram credential (bot token) to the Telegram node.
Set the target Telegram chat ID in the workflow settings value for telegram_chat_id.
Update domains with your comma/whitespace-separated list of public domain names and adjust alert_days_before (and optionally report_all) to match your alerting needs.

This workflow was created by 0xGollum and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (3)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
Telegram
n8n-nodes-base.telegram