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
Automate SSL alerts with n8n and Google Sheets

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

Learn how to Build this Workflow with AI:

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.


Automate SSL alerts with n8n and Google Sheets

Visit through Desktop to Interact with the Workflow.

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 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.