{
  "name": "Multi-channel event countdown manager with Telegram, Slack and Email",
  "nodes": [
    {
      "id": "e7c4998c-f586-4515-ad98-1ca8cbef921b",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1552,
        224
      ]
    },
    {
      "id": "ed9cfada-fdeb-47dc-89a2-8e929aa137d9",
      "name": "Events Database",
      "type": "n8n-nodes-base.code",
      "position": [
        -1168,
        224
      ]
    },
    {
      "id": "5c4aca45-da92-42c3-aec2-57c057a3e655",
      "name": "Is Slack?",
      "type": "n8n-nodes-base.if",
      "position": [
        -720,
        160
      ]
    },
    {
      "id": "a6e0d25b-44eb-4df0-9280-699341e54fe0",
      "name": "Is Email?",
      "type": "n8n-nodes-base.if",
      "position": [
        -720,
        464
      ]
    },
    {
      "id": "b867e405-ec2e-4f02-8c90-c07072c9f337",
      "name": "Format Slack Message",
      "type": "n8n-nodes-base.code",
      "position": [
        -288,
        160
      ]
    },
    {
      "id": "2333d43d-0eaf-4b3b-bf57-df729be490c3",
      "name": "Send to Slack",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        80,
        160
      ]
    },
    {
      "id": "b67113b2-71f1-4afc-a7e1-f8d3b4907df6",
      "name": "Format Email",
      "type": "n8n-nodes-base.code",
      "position": [
        -304,
        496
      ]
    },
    {
      "id": "9fd55f0c-700e-49d5-9939-65de3b6e5357",
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        0,
        480
      ]
    },
    {
      "id": "86775bb8-ebdf-4a04-94bd-0272e6aab7ab",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1360,
        816
      ]
    },
    {
      "id": "8846c32d-95d8-4364-b5a3-49dcbe1cb9e0",
      "name": "Process Webhook Event",
      "type": "n8n-nodes-base.code",
      "position": [
        -1024,
        816
      ]
    },
    {
      "id": "c4a5c30f-7d8f-4bff-bcc6-bb0944a97e55",
      "name": "Webhook Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -704,
        816
      ]
    },
    {
      "id": "1323bb6e-d3bb-4a9a-8104-9f7b15a5fd9f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1664,
        96
      ],
      "parameters": {
        "width": 336,
        "height": 272,
        "content": "Schedule Trigger\n\n Triggers the workflow automatically on a defined schedule (e.g., daily at 9 AM).\n"
      }
    },
    {
      "id": "5a332217-251c-4643-9f4a-e45ddd0ca694",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        64
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "\n**Events Database \n\n Fetches upcoming events (like launches or birthdays) from a data source.** \n"
      }
    },
    {
      "id": "78088c1c-2a07-49bb-8c83-22cbdf09bae2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        32
      ],
      "parameters": {
        "width": 288,
        "height": 256,
        "content": "\n**Is Slack?\n\n Checks if the event’s notification channel is set to Slack.** to edit me. [Guide]"
      }
    },
    {
      "id": "07c91f46-5bdb-4645-b78f-eed08f04f30a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        16
      ],
      "parameters": {
        "width": 288,
        "height": 288,
        "content": "## Format Slack Message \n** Formats event details into a Slack message layout.** "
      }
    },
    {
      "id": "3e818512-d34b-4141-96aa-fe6a6e1c7227",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": 304,
        "content": "## Send to Slack – \n**Sends the formatted message to the target Slack channel.** "
      }
    },
    {
      "id": "45803040-d713-4a5e-bea1-1c2ec63158f8",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        320
      ],
      "parameters": {
        "width": null,
        "height": 288,
        "content": "## Is Email? \n**– Checks if the event’s notification channel is set to Email.** to edit me. "
      }
    },
    {
      "id": "b63a7d56-dd0a-4bea-aadd-ff007771dbc1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        400
      ],
      "parameters": {
        "width": null,
        "height": 224,
        "content": "##Format Email\n**Formats event details into an email-friendly message.** "
      }
    },
    {
      "id": "40015968-2490-4fdb-8b90-abcb12d03d35",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        384
      ],
      "parameters": {
        "width": null,
        "height": 240,
        "content": "Send Email – Sends the formatted email to the recipient list."
      }
    },
    {
      "id": "69d2e062-b579-44bf-bd45-ae92b8cc7c02",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1440,
        688
      ],
      "parameters": {
        "width": null,
        "height": 272,
        "content": "## Webhook Trigger\n** – Starts the workflow when an external system sends a POST request.** "
      }
    },
    {
      "id": "e112f333-ac81-4a1c-85d9-df61226582cb",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1104,
        672
      ],
      "parameters": {
        "width": null,
        "height": 288,
        "content": "## Process Webhook Event \n**– Parses and validates the incoming webhook data.** to edit me."
      }
    },
    {
      "id": "3de8ee76-3d19-4c0d-9c9d-b12bc721bc21",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -768,
        672
      ],
      "parameters": {
        "width": 320,
        "height": 288,
        "content": "## Webhook Response \n**– Sends a confirmation or status response back to the webhook sender.**"
      }
    }
  ],
  "connections": {
    "Is Email?": {
      "main": [
        [
          {
            "node": "Format Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Slack?": {
      "main": [
        [
          {
            "node": "Format Slack Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Email": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Events Database": {
      "main": [
        [
          {
            "node": "Is Slack?",
            "type": "main",
            "index": 0
          },
          {
            "node": "Is Email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Process Webhook Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Events Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Slack Message": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Webhook Event": {
      "main": [
        [
          {
            "node": "Webhook Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}