Automated SSL Expiry Alert System with n8n & Google Sheets

This n8n workflow automates SSL certificate expiry monitoring by fetching URLs from Google Sheets, checking their SSL status via SSL-Checker.io, updating the sheet with results, and sending targeted email and Telegram alerts for certificates that are invalid or near expiry.
Google Sheets
Schedule Trigger
HTTP Request
+5
Workflow Identifier: 2201
NODES in Use: Google Sheets, Schedule Trigger, HTTP Request, Switch, Gmail, Telegram, Ntfy, Sticky Note

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 workflow automatically checks SSL certificate expiry for many website URLs weekly.
It gets the URLs from Google Sheets and checks them with the SSL-Checker.io API.
It then updates the sheet with SSL status and sends email and Telegram alerts based on severity.
This saves time and prevents missed certificate expiration problems.

The workflow helps keep websites safe by alerting in time for certificate renewal.
It divides SSL results into invalid, warning, notice, and info categories.


Tools and services used

  • Google Sheets: Stores the list of URLs and updated SSL info.
  • SSL-Checker.io API: Retrieves SSL certificate status and expiry data.
  • n8n Automation Platform: Runs scheduled workflow with connected nodes.
  • Gmail: Sends alert emails to stakeholders.
  • Telegram Bot API: Sends instant messaging alerts (optional).

Inputs, processing steps, and outputs

Inputs

  • Weekly trigger from Schedule Trigger node.
  • List of website URLs from Google Sheets document.

Processing steps

  • Fetch the URLs using a Google Sheets node configured with correct spreadsheet and sheet.
  • For each URL, send a GET request via HTTP Request node to SSL-Checker.io API.
  • Clean URL formats by removing http(s):// and trailing slashes before API call.
  • Receive SSL certificate data including validity, expiry date, and days left.
  • Update the original Google Sheet with new SSL data using another Google Sheets node, matching rows by ID.
  • Use Switch node to classify certificates into four categories: invalid, warning (≤30 days), notice (≤60 days), and info (others).
  • Route alerts accordingly: send emails via Gmail nodes with custom subjects and messages per category.
  • Optionally, send instant Telegram alerts for invalid certificates through Telegram node.

Outputs

  • Updated Google Sheet showing current SSL certificate status for each URL.
  • Email alerts for invalid, warning, notice, and info levels.
  • Telegram alerts for critical (invalid) certificates, if configured.

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

Step 1: Import the workflow

  1. Open the n8n editor.
  2. Click the Download button on this page to get the workflow file.
  3. In n8n, select Import from File and choose the downloaded workflow.

Step 2: Add credentials and update configuration

  1. Add Google Sheets credentials with access to your sheets.
  2. Add Gmail OAuth2 credentials authorized to send emails.
  3. Add SSL-Checker.io API key if needed.
  4. Optionally, add Telegram Bot API credentials for instant alerts.
  5. Edit Google Sheets node to set your spreadsheet ID and sheet names if different.
  6. Change Gmail nodes email recipients if needed.

Step 3: Test the workflow

  1. Run the workflow manually to check if all nodes work correctly.
  2. Fix any errors such as authorization or URL issues.

Step 4: Activate the workflow

  1. After successful test, toggle the workflow active switch.
  2. The Schedule Trigger starts the weekly checks automatically.
  3. Monitor executions in the n8n dashboard for any failures.

If needed, use self-host n8n for running n8n on a server securely.


Common workflow issues and edge cases

  • HTTP 400 or empty SSL-Checker.io API response: Usually caused by URLs still having http/https or trailing slashes. Using JavaScript replace in the HTTP node is critical.
  • Google Sheets update failures: Check sheet and document IDs and permissions. OAuth2 credentials must allow editing.
  • Gmail emails not sent: Verify Gmail API enabled and OAuth tokens valid. Reauthorize if needed.
  • API limits exceeded: Monitor SSL-Checker.io and Gmail API usage quotas. Consider reducing frequency or splitting batches.

Customization ideas

  • Change Switch node thresholds for days_left to adjust warning timing.
  • Add SMS alerts with Twilio node for wider notifications.
  • Modify the Schedule Trigger to run daily or monthly.
  • Update Gmail recipients in all Gmail nodes.
  • Expand SSL API request to gather more certificate info and store in Google Sheets.

Summary

✓ Automatically checks SSL certificates weekly for multiple URLs.
✓ Updates Google Sheets with detailed SSL status.
✓ Sends categorized Gmail and Telegram alerts based on certificate health.
✓ Saves time and prevents website downtime from expired certificates.
✓ Easy to set up by importing and configuring in n8n editor.


Frequently Asked Questions

Yes. Replace the SSL-Checker.io API URL in the HTTP Request node. Update the workflow nodes to match any new API response format.
Yes. Sending emails uses your Gmail account’s sending limits. For normal volumes, this is usually sufficient without extra cost.
Yes. It uses OAuth2 credentials. Keep the n8n instance secure and handle credentials carefully.
It can scale but watch Google Sheets row limits and API rate limits. For large numbers, consider batching or advanced data storage.

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