{
  "name": "Manage Google Calendar via Telegram and get daily AI briefings (OpenAI + Gemini)",
  "nodes": [
    {
      "id": "ef68173e-6bff-42ab-9729-6ee4947d4ef7",
      "name": "Receive Bot Messages",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -624,
        -96
      ]
    },
    {
      "id": "181e856b-f7d2-44b9-990d-0161b33845a7",
      "name": "AI Agent for Google Calendar",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        416,
        -96
      ]
    },
    {
      "id": "fd3db6e0-fda5-4b43-868f-007f4171838f",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        32,
        160
      ]
    },
    {
      "id": "15dacb7b-3c6f-4b51-b137-63eccdc204fd",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        144,
        160
      ]
    },
    {
      "id": "3be01909-94d8-4e68-8e4b-0a7f91ddec28",
      "name": "Create an event in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        400,
        128
      ]
    },
    {
      "id": "1a92252e-5500-4ae1-bdaa-20f8824f84a6",
      "name": "Get many events in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        576,
        144
      ]
    },
    {
      "id": "90ffc379-8691-4b4d-ad8a-c4f29ee76ac5",
      "name": "Delete an event in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        752,
        144
      ]
    },
    {
      "id": "c724ee7b-d331-4ec6-b2a8-a88a42ddade3",
      "name": "Update an event in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        912,
        144
      ]
    },
    {
      "id": "cd044b3f-2b6c-4f9f-8120-59b612e84535",
      "name": "Send a summary action message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1120,
        -96
      ]
    },
    {
      "id": "a8e3b4bc-ec39-4664-b77e-8369a1d31913",
      "name": "Voice Note or Text?",
      "type": "n8n-nodes-base.switch",
      "position": [
        -400,
        -96
      ]
    },
    {
      "id": "b80b2751-e60e-43c3-ac28-e156e924741c",
      "name": "Transcribe a recording",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        48,
        -256
      ]
    },
    {
      "id": "ddbf3d7f-fe65-4116-98ac-876676b5c5be",
      "name": "Scheduled Everyday 8 AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -592,
        640
      ]
    },
    {
      "id": "061a9164-ce27-4a3a-837e-3aa9ec138d72",
      "name": "Retrive all meeting/event that you have",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        -384,
        640
      ]
    },
    {
      "id": "d885429d-6095-4fdc-be42-a5249cac713d",
      "name": "Daily Analytics Engine",
      "type": "n8n-nodes-base.code",
      "position": [
        -128,
        640
      ]
    },
    {
      "id": "956ac590-4e8f-4515-837f-9873ceef90db",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1344,
        -432
      ],
      "parameters": {
        "width": 640,
        "height": 880,
        "content": "## AI Calendar Assistant + Daily Executive Briefing\n\n###  This workflow turns your Google Calendar into an intelligent scheduling system powered by Telegram and AI. You can create, update, delete, or "
      }
    },
    {
      "id": "12afaf9a-7447-4fe1-8cc9-4dbd92c093ae",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        -368
      ],
      "parameters": {
        "width": 352,
        "height": 352,
        "content": "## AI Scheduling Layer\n\nHandles Telegram input, transcription, AI intent parsing, and Google Calendar execution.\n"
      }
    },
    {
      "id": "82ed31ec-a833-4408-b5ea-64f7b1e2869a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        -416
      ],
      "parameters": {
        "width": 352,
        "height": 256,
        "content": "## Voice Processing\n\nRetrieves Telegram voice notes and transcribes them before AI interpretation.\n"
      }
    },
    {
      "id": "8fef7301-e37e-4621-9c15-ed41ae63fab7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        304
      ],
      "parameters": {
        "width": 656,
        "height": null,
        "content": "## Google Calendar Actions\n\nCreates, updates, retrieves, and deletes events with validation.\n"
      }
    },
    {
      "id": "008508c2-544a-44f8-ab8c-f642ddf5ba88",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        496
      ],
      "parameters": {
        "width": 896,
        "height": null,
        "content": "## Daily Executive Briefing\n\nScheduled analysis of today’s events with deep work and overload detection.\n"
      }
    },
    {
      "id": "a24091b2-73ba-4213-9932-322264ea6509",
      "name": "Send Summary over Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        112,
        640
      ]
    },
    {
      "id": "504a254e-d671-4f65-866c-7fb76fe11547",
      "name": "Transform Audio to mp3 format",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -176,
        -256
      ]
    }
  ],
  "connections": {
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Voice Note or Text?": {
      "main": [
        [
          {
            "node": "Transform Audio to mp3 format",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Bot Messages": {
      "main": [
        [
          {
            "node": "Voice Note or Text?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Analytics Engine": {
      "main": [
        [
          {
            "node": "Send Summary over Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe a recording": {
      "main": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scheduled Everyday 8 AM": {
      "main": [
        [
          {
            "node": "Retrive all meeting/event that you have",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent for Google Calendar": {
      "main": [
        [
          {
            "node": "Send a summary action message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform Audio to mp3 format": {
      "main": [
        [
          {
            "node": "Transcribe a recording",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create an event in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete an event in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many events in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update an event in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent for Google Calendar",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Retrive all meeting/event that you have": {
      "main": [
        [
          {
            "node": "Daily Analytics Engine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}