{
  "name": "Manage Google Calendar events via Telegram with Gemini AI assistant",
  "nodes": [
    {
      "id": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1180,
        0
      ]
    },
    {
      "id": "13802609-1b97-4aa9-87ad-1eb1b5419587",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1180,
        -180
      ]
    },
    {
      "id": "1d40b8bf-514a-47de-8115-67457d2db0db",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1340,
        -180
      ]
    },
    {
      "id": "062769a8-a93d-4d89-a329-97c50663975b",
      "name": "Get Calendar Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1200,
        200
      ]
    },
    {
      "id": "089fd978-86d6-40b3-bea5-881d7f5f3dcf",
      "name": "Create Calendar Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1400,
        200
      ]
    },
    {
      "id": "64719f66-d22b-4b36-86aa-bd7204966163",
      "name": "Update Calendar Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1600,
        200
      ]
    },
    {
      "id": "f4e98403-724b-4f0e-906d-d4f3ef758f90",
      "name": "Delete Calendar Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1800,
        200
      ]
    },
    {
      "id": "91180525-d8d7-47dd-84a7-fb2822f138e2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        -220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ad99297b-3e0a-496a-8725-7ea2041c5614",
      "name": "Is start?",
      "type": "n8n-nodes-base.if",
      "position": [
        660,
        0
      ]
    },
    {
      "id": "8c3a62f7-d2dc-4913-b9c6-b2515474c1db",
      "name": "Welcome message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        660,
        -200
      ]
    },
    {
      "id": "a72681cd-3a63-476d-bda7-961ef16f1b11",
      "name": "Variables TG",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "39e5e51e-be0c-46d9-b401-7be065df6556",
      "name": "Initialization",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        0
      ]
    },
    {
      "id": "750614f6-452f-49ef-aaa4-2d2ddb7b469e",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "4c455bf5-316f-4596-88ac-771c1ad0a644",
      "name": "Define Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        900,
        0
      ]
    },
    {
      "id": "994e7511-14ea-4e7c-9791-f0147a367e0a",
      "name": "Send Answer",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1540,
        0
      ]
    },
    {
      "id": "9b391475-22d5-4200-8536-1f6563fb7861",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        -220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send Answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is start?": {
      "main": [
        [
          {
            "node": "Welcome message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Define Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Type": {
      "main": [
        [],
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Variables TG": {
      "main": [
        [
          {
            "node": "Initialization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Initialization": {
      "main": [
        [
          {
            "node": "Is start?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Welcome message": {
      "main": [
        []
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Variables TG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Calendar Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Calendar Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Calendar Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Calendar Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}