Skip to main content

Monitor SSL certificate expiry with Google Sheets and email alerts

Workflow preview

Workflow preview
100%
Monitor SSL certificate expiry with Google Sheets and email alerts preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

SSL Certificate Monitoring & Expiry Alert with Spreadsheet [FREE APIs] What This Workflow Does This n8n template automatically monitors SSL certificates of websites listed in a Google Sheet an...

Best for

  • SecOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches, n8n-nodes-base.googlesheets, n8n-nodes-base.scheduletrigger, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.emailsend

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Agus Narestha.

Original n8n.io source

1.1 Workflow description

Title
Monitor SSL certificate expiry with Google Sheets and email alerts
Workflow name
Monitor SSL certificate expiry with Google Sheets and email alerts

🔒 SSL Certificate Monitoring & Expiry Alert with Spreadsheet [FREE APIs]

✅ What This Workflow Does

This n8n template automatically monitors SSL certificates of websites listed in a Google Sheet and sends email alerts if any are expiring within 14 days. It helps ensure you avoid downtime, security issues, and trust warnings due to expired certificates.


🧩 Key Features

  • 📅 Weekly Automation: Runs every Monday at 7:00 AM (configurable).
  • 📄 Google Sheets Integration: Fetches and updates data in a spreadsheet.
  • 🔍 SSL Check via API: Uses ssl-checker.io to get certificate details.
  • ⚠️ SSL Expiry Filter: Identifies certificates expiring within 14 days.
  • 📧 Email Alerts: Sends notifications for certificates close to expiration.

📂 Input Spreadsheet Format

Your Google Sheet should have the following columns:

No Name Link SSL Issued On SSL Expired On SSL Status
1 Example Site https://example.com 2024-07-01 2025-07-01 Valid
2 My Blog https://myblog.org 2024-07-05 2024-07-20 Expiring

Each row should include a valid website URL in the Link column.


🛠️ How It Works

  1. Scheduled Trigger

    • Executes weekly (Monday 7:00 AM).
  2. Fetch Website List

    • Reads all website entries from the Google Sheet.
  3. Check SSL Certificates

    • Uses ssl-checker.io API to retrieve certificate details for each website.
  4. Update Spreadsheet

    • Writes "Issued On" and "Expired On" fields back to the spreadsheet.
  5. Evaluate SSL Expiry

    • Filters for certificates expiring within 14 days.
  6. Check Condition

    • Determines whether to send alerts based on filtered results.
  7. Send Email Alert

    • Notifies via email if any certificates are expiring soon.

📬 Example Email Output

Subject: ⚠️ ALERT!! SSL EXPIRED

SSL certificates expiring soon:
- example.com (expires in 5 days)
- anotherdomain.net (expires in 3 days)

🧰 Setup Requirements

  • A Google Sheet with the correct columns and website links.
  • SMTP credentials to send alert emails.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get SSL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Loop

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 3 - Update SSL in Spreadsheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 4 - Trigger Every Monday

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 5 - SSL Not Good?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Get Website List

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 7 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Send Email Alert

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 16 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Monitor SSL certificate expiry with Google Sheets and email alerts
Complexity advanced
Nodes 16
Categories SecOps
Author Agus Narestha
Published 08 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5768/5768.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Monitor SSL certificate expiry with Google Sheets and email alerts do?

SSL Certificate Monitoring & Expiry Alert with Spreadsheet [FREE APIs] What This Workflow Does This n8n template automatically monitors SSL certificates of websites listed in a Google Sheet an...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps use case.