Templates / Automated SSL Certificate Monitoring and Renewal with Notion and Telegram

Automated SSL Certificate Monitoring and Renewal with Notion and Telegram

Ready for 3.0

by Frank Chen · 1,901 views · created 2025-06-16 · SecOps

Ready 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 (13)

NotionTelegram

What it does

Automatically fetch existing domains from Notion's Database and verify the validity of SSL certificates through SSL-Checker. If the validity period is less than 14 days, send a Telegram message notification and trigger SSH remote automatic refresh. Successful refresh notification will be sent through Telegram. This can prevent problems with the server-side automatic refresh program, which may cause unexpected service interruptions. Main use cases: - Notion store domain. - Telegram receives warning messages. - Remotely trigger Certbot(certbot) to refresh SSL. How it works: - Record who triggered this workflow, because if there is a credential that is about to expire, this workflow will be triggered repeatedly. - After getting all the domains from Notion, send an http request to SSL-Checker. - After getting all the SSL-Checker results, add the validity label. And use the IF node to check if there are any certificates that are about to expire. Then there are two workflows: - If there is a certificate that is about to expire: send an SSH command to the remote control server to refresh the certificate, notify through Telegram, and call this workflow again to re-verify the validity of the SSL certificate. - If the validity period of SSL is normal: then refresh the data on Notion, and if a re-called workflow is detected, Telegram will be used to notify that the SSL has been updated.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.