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
Automate SSL expiry alerts with n8n and Telegram

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

Learn how to Build this Workflow with AI:

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


Automate SSL expiry alerts with n8n and Telegram

Visit through Desktop to Interact with the Workflow.

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.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.