Skip to main content

Generate SSL/TLS certificate expiry reports with AWS ACM and AI for Slack & email

Workflow preview

Workflow preview
100%
Generate SSL/TLS certificate expiry reports with AWS ACM and AI for Slack & email preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Automated SSL/TLS Certificate Expiry Report for AWS Automatically generates a...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.awscertificatemanager, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.googledrive

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate SSL/TLS certificate expiry reports with AWS ACM and AI for Slack & email
Workflow name
Generate SSL/TLS certificate expiry reports with AWS ACM and AI for Slack & email

Automated SSL/TLS Certificate Expiry Report for AWS

> Automatically generates a weekly report of all AWS ACM certificates, including status, expiry dates, and renewal eligibility. The workflow formats the data into both Markdown (for PDF export to Slack) and HTML (for email summary), helping teams stay on top of certificate compliance and expiration risks.

Who’s it for

This workflow is designed for DevOps engineers, cloud administrators, and compliance teams who manage AWS infrastructure and need automated weekly visibility into the status of their SSL/TLS certificates in AWS Certificate Manager (ACM). It's ideal for teams that want to reduce the risk of expired certs, track renewal eligibility, and maintain reporting for audit or operational purposes.

How it works / What it does

This n8n workflow performs the following actions on a weekly schedule:

  1. Trigger: Automatically runs once a week using the Weekly schedule trigger.
  2. Fetch Certificates: Uses Get many certificates action from AWS Certificate Manager to retrieve all certificate records.
  3. Parse Data: Processes and reformats certificate data (dates, booleans, SANs, etc.) into a clean JSON object.
  4. Generate Reports:
    • πŸ“„ Markdown Report: Uses the Certificate Summary Markdown Agent (OpenAI) to generate a Markdown report for PDF export.
    • 🌐 HTML Report: Uses the Certificate Summary HTML Agent to generate a styled HTML report for email.
  5. Deliver Reports:
    • Converts Markdown to PDF and sends it to Slack as a file.
    • Sends HTML content as a formatted email.

How to set up

  1. Configure AWS Credentials in n8n to allow access to AWS ACM.

  2. Create a new workflow and use the following nodes in sequence:

    • Schedule Trigger: Weekly (e.g., every Monday at 08:00 UTC)
    • AWS ACM β†’ Get many certificates
    • Function Node β†’ Parse ACM Data: Converts and summarizes certificate metadata
    • OpenAI Chat Node (Markdown Agent) with a system/user prompt to generate Markdown
    • Configure Metadata β†’ Define file name and MIME type (.md)
    • Create document file β†’ Converts Markdown to document stream
    • Convert to PDF
    • Slack Node β†’ Upload the PDF to a channel
    • (Optional) Add a second OpenAI Chat Node for generating HTML and sending it via email
  3. Connect Output:

    • Markdown report β†’ Slack file upload
    • HTML report β†’ Email node with embedded HTML

Requirements

  • 🟩 n8n instance (self-hosted or cloud)
  • 🟦 AWS account with access to ACM
  • 🟨 OpenAI API key (for ChatGPT Agent)
  • πŸŸ₯ Slack webhook or OAuth credentials (for file upload)
  • πŸ“§ Email integration (e.g., SMTP or SendGrid)
  • πŸ“ Permissions to write documents (Google Drive / file node)

How to customize the workflow

  • Change report frequency: Adjust the Weekly schedule trigger to daily or monthly as needed.
  • Filter certificates:
    • Modify the function node to only include EXPIRED, IN_USE, or INELIGIBLE certs.
    • Add tags or domains to include/exclude.
  • Add visuals: Enhance the HTML version with colored rows, icons, or company branding.
  • Change delivery channels:
    • Replace Slack with Microsoft Teams, Discord, or Telegram.
    • Send Markdown as email attachment instead of PDF.
  • Integrate ticketing:
    • Create a JIRA/GitHub issue for each certificate that is EXPIRED or INELIGIBLE.

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 many certificates

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

Block 2 - Sticky Note

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

Block 3 - Sticky Note1

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

Block 4 - Sticky Note2

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

Block 5 - Sticky Note3

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

Block 6 - Sticky Note4

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

Block 7 - Sticky Note5

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

Block 8 - Sticky Note6

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

Block 9 - Sticky Note7

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

Block 10 - Weekly schedule trigger

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

Block 11 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 12 - Parse ACM Data

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

Block 13 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 14 - Create document file

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

Block 15 - Configure metadata

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

Block 16 - Convert to PDF

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

Block 17 - Send Weekly ACM Report PDF

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 18 - Send Weekly ACM Report Email

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

Block 19 - Certificate Summary Markdown Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 20 - Certificate Summary HTML Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 21 - Sticky Note8

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

Block 22 - Sticky Note9

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

Block 23 - Set Workflow Data

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

3. Summary Table

Workflow Generate SSL/TLS certificate expiry reports with AWS ACM and AI for Slack & email
Complexity advanced
Nodes 23
Categories AI Summarization, Multimodal AI
Author Trung Tran
Published 21 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7689/7689.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 Generate SSL/TLS certificate expiry reports with AWS ACM and AI for Slack & email do?

Automated SSL/TLS Certificate Expiry Report for AWS Automatically generates a...

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 AI Summarization, Multimodal AI use case.