What This Workflow Does
SSL certificate expiration is a silent killer of website availability and security. When certificates expire unexpectedly, visitors encounter browser warnings, search rankings drop, and e-commerce transactions halt. This automation solves that problem by providing continuous, proactive monitoring of all your SSL certificates.
The workflow automatically checks certificate expiration dates, validates SSL configuration security, monitors for vulnerabilities, and sends alerts to your Discord channel when certificates approach expiration. All results are logged in Notion for compliance documentation and historical analysis. This eliminates manual checking, prevents costly downtime, and ensures your websites maintain optimal security posture.
How It Works
1. Scheduled Certificate Checking
The workflow runs on a daily schedule, pulling your domain list from a configured data source. Each domain undergoes comprehensive SSL analysis including expiration date, issuer validation, cipher strength, and protocol support.
2. Dual Verification System
For maximum accuracy, the system performs dual verification using both internal SSL assessment scripts and external SSL checking APIs. This cross-validation ensures you receive reliable data, not false positives that waste engineering time.
3. Intelligent Alert Processing
When certificates are found to be expiring within your configured threshold (default 30 days), the workflow triggers Discord alerts with color-coded severity levels. Critical issues receive immediate attention while informational notices are logged for awareness.
4. Centralized Documentation
Every check result is recorded in Notion with timestamps, certificate details, and action status. This creates a searchable audit trail for compliance requirements and provides historical data for certificate lifecycle management.
Who This Is For
This automation is essential for DevOps engineers managing multiple websites, IT administrators responsible for corporate security compliance, digital agencies maintaining client portfolios, and security teams implementing proactive monitoring strategies. If you manage more than 5 domains or have experienced SSL-related downtime, this workflow will save you significant time and risk.
What You'll Need
- n8n instance (cloud or self-hosted) with workflow execution capabilities
- Discord workspace with webhook permissions for sending alerts
- Notion account with API access and a database for logging results
- List of domains to monitor (can be stored in Notion, Google Sheets, or any connected data source)
- SSL checking API key (optional, for enhanced verification features)
Pro tip: Start with your most critical production domains first, then expand to staging and development environments. Configure different alert thresholds based on environment criticality.
Quick Setup Guide
- Download and import the template JSON file into your n8n instance
- Configure your domain source by connecting to Notion, Google Sheets, or your preferred data store
- Set up Discord webhook in your server and paste the URL into the workflow
- Connect Notion integration and specify the database for logging results
- Adjust alert thresholds based on your risk tolerance (30 days is standard for production)
- Test with a single domain to verify alerts and logging work correctly
- Schedule the workflow to run daily during off-peak hours
Key Benefits
Prevent revenue-killing downtime by receiving alerts weeks before certificates expire, giving your team ample time for renewal without rushing or mistakes.
Eliminate 10+ hours of monthly manual work previously spent checking certificates across multiple domains, dashboards, and tools.
Maintain compliance documentation automatically with timestamped records of every certificate check, essential for security audits and certifications.
Improve team collaboration by centralizing alerts in Discord where DevOps and security teams already communicate daily.
Scale effortlessly as your domain portfolio grows—the automation handles 5 domains or 500 with the same reliability and consistency.