Skip to main content

Automated SSL Certificate Monitoring and Renewal with Notion and Telegram

Workflow preview

Workflow preview
100%
Automated SSL Certificate Monitoring and Renewal with Notion and Telegram preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Automatically fetch existing domains from Notion's Database and verify the validity of SSL certificates through SSL Checker. If the validity period is less than 14 days, ...

Best for

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

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.notion, n8n-nodes-base.code, n8n-nodes-base.scheduletrigger, n8n-nodes-base.manualtrigger, n8n-nodes-base.wait, n8n-nodes-base.merge

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated SSL Certificate Monitoring and Renewal with Notion and Telegram
Workflow name
Automated SSL Certificate Monitoring and Renewal with Notion and Telegram

Automatically fetch existing domains from Notion's Database and verify the validity of SSL certificates through SSL-Checker. If the validity period is less than 14 days, send a Telegram message notification and trigger SSH remote automatic refresh. Successful refresh notification will be sent through Telegram. This can prevent problems with the server-side automatic refresh program, which may cause unexpected service interruptions.

Main use cases:

  • Notion store domain.
  • Telegram receives warning messages.
  • Remotely trigger Certbot to refresh SSL.

How it works:

  • Record who triggered this workflow, because if there is a credential that is about to expire, this workflow will be triggered repeatedly.
  • After getting all the domains from Notion, send an http request to SSL-Checker.
  • After getting all the SSL-Checker results, add the validity label. And use the IF node to check if there are any certificates that are about to expire.

Then there are two workflows:

  • If there is a certificate that is about to expire: send an SSH command to the remote control server to refresh the certificate, notify through Telegram, and call this workflow again to re-verify the validity of the SSL certificate.
  • If the validity period of SSL is normal: then refresh the data on Notion, and if a re-called workflow is detected, Telegram will be used to notify that the SSL has been updated.

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 - Check SSL

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

Block 2 - If

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

Block 3 - Get SSL Info

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

Block 4 - Refresh SSL Status

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

Block 5 - Update SSL Info

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

Block 6 - Merge Content

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

Block 7 - Weekly Trigger

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

Block 8 - When clicking ‘Execute workflow’

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

Block 9 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 10 - If3

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

Block 11 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 12 - If1

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

Block 13 - Execute Workflow

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

Block 14 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 15 - Set Click Triggered

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Set Weekly Triggered

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Set anotherWorkflow Triggered

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Select Who Triggered

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 19 - Renew Server Cert

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

Block 20 - Telegram

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

Block 21 - Telegram1

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

3. Summary Table

Workflow Automated SSL Certificate Monitoring and Renewal with Notion and Telegram
Complexity advanced
Nodes 21
Categories SecOps
Author Frank Chen
Published 16 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4973/4973.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 Automated SSL Certificate Monitoring and Renewal with Notion and Telegram do?

Automatically fetch existing domains from Notion's Database and verify the validity of SSL certificates through SSL Checker. If the validity period is less than 14 days, ...

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.