Automate SSL Certificate Expiry Alerts with n8n

Managing SSL certificate expiry manually can lead to website downtime and security risks. This n8n workflow automatically checks SSL certificate status for specified domains and sends instant Telegram alerts if they have expired, preventing costly outages.
manualTrigger
functionItem
uproc
+2
Workflow Identifier: 2363
NODES in Use: Manual Trigger, Function Item, Uproc, If, Telegram

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This n8n workflow checks if an SSL certificate for a website domain has expired. It solves the problem of missing expired certificates that cause security warnings and loss of trust. The workflow tells you by sending a message if the certificate is no longer valid. This helps avoid manual checking and stops you from missing important expiry dates.

The workflow works by being started manually, sending a request to get the certificate info, deciding if it is expired, and sending an alert if needed.


Who should use this workflow

This is for website admins, owners, or IT teams who manage domains with SSL certificates. It is useful when multiple domains must be checked regularly to prevent security issues. Anyone who wants to save time by automating certificate monitoring can use it.


Tools and services used

  • n8n: Automation platform where the workflow runs.
  • Uproc API: Service to fetch SSL certificate details for a domain.
  • Telegram Bot API: To send alert messages if certificates expire.

How the workflow works (Inputs → Process → Output)

Inputs

  • Manual Trigger: Starts the workflow when you click execute.
  • Domain name: Set internally in the workflow (default is “n8n.io” but can be changed).
  • Telegram Bot Token and Chat ID: Needed to send alerts.
  • Uproc API credentials: Needed to fetch SSL certificate info.

Processing steps

  • The workflow gets a domain name defined in a Function Item node.
  • The Uproc node queries SSL certificate details using the domain.
  • An If node compares if the certificate is valid or expired.
  • If expired, the workflow sends a Telegram message warning about the expiry.

Output

  • An instant Telegram alert if the SSL certificate is expired.
  • No alert sent if the certificate is still valid.

Beginner step-by-step: How to use this workflow in n8n production

Step 1: Importing the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open your n8n editor.
  3. Go to the menu and select Import from File.
  4. Choose the downloaded file to load the workflow.

Step 2: Configure credentials and settings

  1. Add your Uproc API credentials in the Get SSL Certificate node.
  2. Add your Telegram Bot token and target chat ID in the Send Expired Alarm node.
  3. If needed, change the domain name inside the Create Domain Item node by updating the JavaScript code that sets the domain.

Step 3: Testing and activating

  1. Run the workflow manually by clicking Execute on the manual trigger node.
  2. Check your Telegram for any alert messages if the certificate is expired.
  3. If everything works, activate the workflow to run whenever you want or automate it later.

If using self-host n8n, this will all work the same. Configure API access and credentials before testing. self-host n8n offers guidance on hosting and setup.


Customizations and ideas

  • You can check many domains by changing the domain code to produce a list for looping.
  • Change alerts from Telegram to Slack or email by swapping notification nodes.
  • Run automatic scheduled checks by replacing the manual trigger with a Cron trigger.
  • Add expiry date details in alert messages to know when certificates end.

Possible issues and how to fix them

  • Telegram alerts not sent: Check the Bot token and chat ID are correct and the bot has permission.
  • Uproc node shows no certificate data: Make sure the domain is written properly and the API service is running.

Summary of results

✓ Saves time by automating SSL certificate checks

✓ Sends alerts instantly if a certificate is expired

✓ Reduces risk of unnoticed certificate expiry

→ Keeps websites secure and trusted without manual work


Frequently Asked Questions

It gets SSL certificate details for the given domain using Uproc API.
It sends a message via the Telegram Bot API to a specified chat ID.
Yes, by modifying the domain setting to output multiple items and looping over them.
Replace the manual trigger node with a Cron trigger node in the workflow.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free