{
  "name": "Personal Google Calendar & reminder bot on Telegram using Gemini & Whisper",
  "nodes": [
    {
      "id": "send-typing",
      "name": "Send Typing Indicator",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1120,
        940
      ]
    },
    {
      "id": "send-response",
      "name": "Send AI Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2880,
        1040
      ]
    },
    {
      "id": "gemini-model",
      "name": "Google Gemini Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1760,
        840
      ]
    },
    {
      "id": "reminder-schedule",
      "name": "Reminder Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        720,
        560
      ]
    },
    {
      "id": "get-upcoming-events",
      "name": "Get Upcoming Events",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        900,
        560
      ]
    },
    {
      "id": "filter-duplicates",
      "name": "Filter Duplicate Reminders",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        1120,
        560
      ]
    },
    {
      "id": "reminder-agent",
      "name": "Reminder Message Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1320,
        560
      ]
    },
    {
      "id": "send-reminder",
      "name": "Send Reminder",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1620,
        560
      ]
    },
    {
      "id": "e43b9173-e102-4feb-b78a-40d7b43212ef",
      "name": "Calendar Manage!",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2440,
        1040
      ]
    },
    {
      "id": "8332bee6-8578-426b-81ad-7ebd8670a290",
      "name": "Delete event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        2400,
        1260
      ]
    },
    {
      "id": "41595444-1657-4d2f-9f7a-9497f51a3f11",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2280,
        1260
      ]
    },
    {
      "id": "70831a99-0707-40a3-ab97-864a5663fa16",
      "name": "Get events",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        2520,
        1260
      ]
    },
    {
      "id": "8530e92e-1c5e-46b3-bc42-eff1c9415aa2",
      "name": "Create Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        2640,
        1260
      ]
    },
    {
      "id": "776ba60a-b80a-476a-adce-96120c2ce2eb",
      "name": "Update Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        2760,
        1260
      ]
    },
    {
      "id": "18eb6e28-1b39-41b5-b7db-0bea6d7b1f06",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1400,
        1140
      ]
    },
    {
      "id": "597784d1-a40e-48e5-bdaa-b5db3561bd9c",
      "name": "📥 Download Voice",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1120,
        1140
      ]
    },
    {
      "id": "telegram-trigger",
      "name": "Start",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        680,
        1040
      ]
    },
    {
      "id": "4a6a7c60-1ed6-448a-9dab-046f895e3025",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1760,
        1040
      ]
    },
    {
      "id": "4313547f-b896-46a8-896c-ee268f137344",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        900,
        1040
      ]
    },
    {
      "id": "34ffeb49-a92d-408a-b5be-4c9e46215274",
      "name": "Typing 2",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2040,
        1040
      ]
    },
    {
      "id": "25e2f802-702f-49c5-b4ec-b7859b358ff1",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        1400,
        940
      ]
    },
    {
      "id": "827ba6e7-f308-4cba-beee-31e1c6055b5b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1680,
        760
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "317717f6-7223-4bd6-8cc5-4147e6836097",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        860
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6a85f881-9c27-488b-a21c-cd2efd6d0b51",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "856ed3d2-58f3-47c2-a63b-f876a1fff14a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "00f1e9f5-435d-4d99-84f9-29fd27740cc8",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2300,
        380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "90ffa13b-633c-46e6-92aa-3da633472c1d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Typing 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Send Typing Indicator",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "📥 Download Voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Typing 2": {
      "main": [
        [
          {
            "node": "Calendar Manage!",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get events": {
      "ai_tool": [
        [
          {
            "node": "Calendar Manage!",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Create Event": {
      "ai_tool": [
        [
          {
            "node": "Calendar Manage!",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete event": {
      "ai_tool": [
        [
          {
            "node": "Calendar Manage!",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Event": {
      "ai_tool": [
        [
          {
            "node": "Calendar Manage!",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Calendar Manage!",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Calendar Manage!": {
      "main": [
        [
          {
            "node": "Send AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reminder Schedule": {
      "main": [
        [
          {
            "node": "Get Upcoming Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Upcoming Events": {
      "main": [
        [
          {
            "node": "Filter Duplicate Reminders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Model": {
      "ai_languageModel": [
        [
          {
            "node": "Reminder Message Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Calendar Manage!",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "📥 Download Voice": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Typing Indicator": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reminder Message Agent": {
      "main": [
        [
          {
            "node": "Send Reminder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Duplicate Reminders": {
      "main": [
        [
          {
            "node": "Reminder Message Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}