Monitor SSL certificate expiry dates with Google Sheets & Slack alerts

Go to Workflow
166 views
Built by CustomJS CustomJS
Created on June 07, 2026

Description



This n8n workflow illustrates how to monitor and track SSL certificate expiration dates for any domain using the SSL Checker node from customJS. It automatically updates a Google Sheet with the number of days left until expiry and sends a Slack notification when certificates are about to expire.

What this workflow does

Input** a list of domains from Google Sheets.
Check** each domainโ€™s SSL certificate details, including expiration date and days left.
Update** the Google Sheet with the latest SSL expiry information.
Notify** via Slack if any certificate is expiring soon (e.g., less than 8 days).

Requirements

CustomJS API key** for SSL checking.
Google Sheets API credentials** for reading/updating domain data.
Slack API credentials** (optional, for notifications).

Workflow Steps

Schedule Trigger
โฐ Starts the workflow automatically (weekly by default, configurable).

Google Sheets (Read Rows)
๐Ÿ“„ Retrieves the list of domains from your Google Sheet.

CustomJS - Check SSL
๐Ÿ” Fetches SSL certificate details for each domain.
Returns JSON output with fields such as expires and daysLeft.

Google Sheets (Update Rows)
๐Ÿ“ Updates the sheet with the current number of days left until certificate expiry.

Check Days Left Threshold (formerly "If" node)
โš ๏ธ Evaluates whether the certificate expires within the threshold (e.g., < 8 days).

Slack Node
๐Ÿ’ฌ Sends a notification message if a certificate is close to expiration.

Example Slack alert message:

โฐ Reminder: SSL certificate of www.example.com
will expire in 7 days.
SSL Checker node JSON output

{
"output": {
"domain": "example.com",
"valid": true,
"expires": "2025-12-31T23:59:59.000Z",
"issuer": "Let's Encrypt",
"daysLeft": 5
}
}

Nodes Used (2)

Google Sheets
n8n-nodes-base.googleSheets
Slack
n8n-nodes-base.slack