What This Workflow Does
This automation solves the critical problem of unexpected SSL/TLS certificate expirations that can take websites offline and trigger browser security warnings. Manual tracking of certificate dates is error-prone and often gets overlooked in busy IT departments.
The workflow automatically checks certificate expiration dates across all your domains, calculates days remaining, and sends proactive Slack alerts to your team well before expiration. This prevents last-minute scrambles to renew certificates and avoids costly downtime that impacts customer trust and revenue.
How It Works
The 5-node n8n workflow provides complete certificate lifecycle monitoring without manual intervention:
1. Scheduled Trigger
A cron node runs the workflow on your chosen schedule (daily/weekly) to check all configured domains. The schedule balances monitoring urgency with system resource usage.
2. Domain List Retrieval
The workflow pulls your list of domains to monitor from a configured data source. This can be a simple spreadsheet, database, or hardcoded list in the workflow.
3. Certificate Check
For each domain, the workflow performs an SSL handshake to retrieve the certificate and extracts the expiration date. It calculates days remaining and flags any certificates approaching expiration.
4. Alert Logic
Conditional nodes determine which certificates require alerts based on your threshold (typically 30/14/7 days before expiration). Different urgency levels can trigger different notification channels.
5. Slack Notification
The workflow posts formatted messages to your designated Slack channel with domain details, expiration date, and days remaining. Critical alerts can @mention specific team members.
Who This Is For
This automation delivers maximum value for:
- Web agencies managing client sites
- Ecommerce businesses where downtime equals lost revenue
- IT teams responsible for multiple domains
- DevOps engineers managing cloud infrastructure
- Any business using Slack for team communication
Pro tip: Combine this with a renewal tracking system to create a complete certificate lifecycle management solution.
What You'll Need
- An n8n instance (cloud or self-hosted)
- Slack workspace with webhook permissions
- List of domains to monitor (can start with just 1-2)
- Basic understanding of SSL certificates
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure your domain list in the HTTP Request node
- Set up Slack webhook connection
- Adjust alert thresholds as needed
- Test with a non-critical domain first
- Schedule the workflow to run automatically
Key Benefits
Prevent costly downtime by eliminating expired certificate incidents that typically take sites offline for hours during remediation.
Save 5+ hours monthly compared to manual certificate tracking across multiple domains and teams.
Improve security posture with systematic monitoring that ensures no certificate gets overlooked.
Centralize visibility through Slack notifications that keep entire teams informed without email clutter.
Scale effortlessly as your domain portfolio grows - the workflow handles 1 or 100 domains with equal reliability.