{
  "name": "Comprehensive SSL certificate monitoring with Discord alerts and Notion integration",
  "nodes": [
    {
      "id": "106c2b40-43f5-432d-9fdd-446e7309abc7",
      "name": "Check SSL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2300,
        580
      ]
    },
    {
      "id": "92e421ce-6f88-44d4-9018-8b39e9fad396",
      "name": "Expiry Alert",
      "type": "n8n-nodes-base.if",
      "position": [
        2660,
        580
      ]
    },
    {
      "id": "bafe935b-b283-428f-934a-49d03de5d38f",
      "name": "Daily Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1620,
        960
      ]
    },
    {
      "id": "873fc171-6b69-4e80-b81a-f14d68c885f4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        140
      ],
      "parameters": {
        "width": 920,
        "height": 1760,
        "content": "## 🔐 Advanced SSL Health Monitor\n### 👤 Who is this for?\n#### This workflow is designed for **DevOps engineers, IT administrators, and security professionals** who need comprehensive **SSL certificate "
      }
    },
    {
      "id": "b3cf7e3e-3d7b-484c-bd26-2d1aa996d020",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        780
      ],
      "parameters": {
        "width": null,
        "height": 380,
        "content": "### 🕒 Daily Trigger\nRuns the workflow every day at 10:00 AM.  \nAdjust the time or frequency as needed using cron or interval settings.\n"
      }
    },
    {
      "id": "d55ad3b8-6cf1-479c-9646-973ff2946964",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1860,
        780
      ],
      "parameters": {
        "width": null,
        "height": 380,
        "content": "### 📄 Fetch URLs\nReads website URLs from Notion.  \nMake sure the sheet has a column named `URL` containing the domains you want to monitor.\n"
      }
    },
    {
      "id": "fbb9752a-9231-4a3e-93ed-149770335f64",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2260,
        420
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "### 🔍 Check SSL\nQueries `ssl-checker.io` (free API) for SSL certificate data of each domain.  \nReturns valid_from, valid_till, days_left, and host info.\n"
      }
    },
    {
      "id": "b5018cec-3c2e-4824-9d57-87157fc28616",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2600,
        420
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "### ⚠️ Expiry Alert\nChecks if `days_left` is less than or equal to 7.  \nOnly domains that meet this condition will trigger an email alert.\n"
      }
    },
    {
      "id": "a9913ede-0f83-4352-bf31-3634b856c35e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2940,
        420
      ],
      "parameters": {
        "width": 260,
        "height": 320,
        "content": "### 📧 Send Discord alerts\nSends alerts whether there are problems"
      }
    },
    {
      "id": "819e2cb7-d1a4-4fdd-b62a-d2378161373a",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2280,
        1180
      ],
      "parameters": {
        "width": 520,
        "height": 320,
        "content": "### 🔍 Check SSL health score\nUse sysadmin-toolkit/scripts/ssl/ssl-health-assessment.js\n  \nReturns SSL overall grade, vulnerabilities and actions to take"
      }
    },
    {
      "id": "e5ef4591-f45c-4712-97b4-0d7a520c238d",
      "name": "SSH - Analyze system",
      "type": "n8n-nodes-base.ssh",
      "position": [
        2380,
        1340
      ]
    },
    {
      "id": "240f78ee-96ab-4f53-bb9c-c40e0f8d0961",
      "name": "Discord",
      "type": "n8n-nodes-base.discord",
      "position": [
        2980,
        1340
      ]
    },
    {
      "id": "edc63e4c-8a87-4fbb-ba61-195b3e587965",
      "name": "Discord1",
      "type": "n8n-nodes-base.discord",
      "position": [
        3000,
        560
      ]
    },
    {
      "id": "c58aad29-de35-46e1-b43a-dfcfac0cffc2",
      "name": "Fetch domains to check SSL",
      "type": "n8n-nodes-base.notion",
      "position": [
        1920,
        960
      ]
    },
    {
      "id": "b544b226-ceb6-439d-b350-4e77b39e2fde",
      "name": "Code - Format output",
      "type": "n8n-nodes-base.code",
      "position": [
        2620,
        1340
      ]
    },
    {
      "id": "8e86994c-5ebc-4600-80b1-ad187b17d125",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2900,
        1180
      ],
      "parameters": {
        "width": 260,
        "height": 320,
        "content": "### 📧 Send Discord alerts\nSends alerts whether there are problems"
      }
    }
  ],
  "connections": {
    "Check SSL": {
      "main": [
        [
          {
            "node": "Expiry Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Expiry Alert": {
      "main": [
        [
          {
            "node": "Discord1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "Fetch domains to check SSL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code - Format output": {
      "main": [
        [
          {
            "node": "Discord",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SSH - Analyze system": {
      "main": [
        [
          {
            "node": "Code - Format output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch domains to check SSL": {
      "main": [
        [
          {
            "node": "SSH - Analyze system",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check SSL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}