{
  "name": "Daily calendar summary notifications via Telegram from Google Calendar",
  "nodes": [
    {
      "id": "a79f7817-b3e8-417c-b176-eb507d9c7b69",
      "name": "Count event",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        0
      ]
    },
    {
      "id": "3daa99b4-dc92-47eb-a9a2-a749ca5fa215",
      "name": "7am trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "11e1cff6-439b-4cae-8d1c-a48e7a8bed90",
      "name": "If condition",
      "type": "n8n-nodes-base.if",
      "position": [
        624,
        0
      ]
    },
    {
      "id": "711a4b13-a376-4f54-b458-f97a832e4fe1",
      "name": "Message code",
      "type": "n8n-nodes-base.code",
      "position": [
        832,
        -96
      ]
    },
    {
      "id": "b6b693b3-c599-49e2-b4cd-7781ef0c97c0",
      "name": "Message no meeting today",
      "type": "n8n-nodes-base.telegram",
      "position": [
        928,
        176
      ]
    },
    {
      "id": "774ce326-9fd9-4136-8882-e68167c23c13",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -496
      ],
      "parameters": {
        "width": 416,
        "height": 848,
        "content": "## 1.Workflow trigger and Google Calendar\n\nThe workflow is **triggered automatically** each morning at 7am.\n\nThen the second node will **analyse your Google Calendar** of the day looking for any event"
      }
    },
    {
      "id": "d2319706-cda9-45a0-860e-d3b1f330d3f0",
      "name": "Check google Calendar",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        208,
        0
      ]
    },
    {
      "id": "79952d85-8136-40b4-976a-409ecb103230",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        -496
      ],
      "parameters": {
        "width": 368,
        "height": 848,
        "content": "## 2.Count event code and Branch\n\nThe first node will **count the number of event items** scheduled and **return a number**. Even if there is no event, a number (0 in this case) would be returned.\n\nTh"
      }
    },
    {
      "id": "bbc556dc-619a-4bc1-9fdb-6c0f3a44576e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        -496
      ],
      "parameters": {
        "width": 560,
        "height": 848,
        "content": "## 3. Send the telegram message\n\nIn the **True branch** ✅, the code node, will create the message and gather all the informations wanted about the events and meeting. So a full sum um will be sent in "
      }
    },
    {
      "id": "1e479d9c-0d57-469c-8631-195a879fb351",
      "name": "Send sum up message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1040,
        -96
      ]
    },
    {
      "id": "2d7ba810-f3d8-4e33-940f-516ea9b93a71",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -496
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Required\n\n- Telegram Bot and its API\n- Google account\n- Google Calendar API"
      }
    }
  ],
  "connections": {
    "7am trigger": {
      "main": [
        [
          {
            "node": "Check google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Count event": {
      "main": [
        [
          {
            "node": "If condition",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If condition": {
      "main": [
        [
          {
            "node": "Message code",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Message no meeting today",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message code": {
      "main": [
        [
          {
            "node": "Send sum up message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check google Calendar": {
      "main": [
        [
          {
            "node": "Count event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}