{
  "name": "Personal assistant for calendar & tasks with GPT-4o-mini and Telegram",
  "nodes": [
    {
      "id": "77a797b9-df8f-4891-9147-84e39f2732e5",
      "name": "MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -816,
        496
      ]
    },
    {
      "id": "90f295aa-56ed-4006-be11-2ef0db62093f",
      "name": "Create an Event in Google Calendar with 1 Attendee",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -1200,
        704
      ]
    },
    {
      "id": "d7203cd8-7940-4435-9b20-25ef06f0ad8c",
      "name": "Create an Event in Google Calendar with 2 Attendees",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -1024,
        784
      ]
    },
    {
      "id": "1ec06ce1-827f-4de7-bed0-fbfec4bda155",
      "name": "Delete an event Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -176,
        752
      ]
    },
    {
      "id": "eb687e4a-cb99-4be1-aef5-0444bd7c8435",
      "name": "Create a weekly recurrent event Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -800,
        832
      ]
    },
    {
      "id": "99d60bdb-bbbf-42cd-88a4-26d7f84960be",
      "name": "complete_task",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        304,
        816
      ]
    },
    {
      "id": "707ed206-b176-42a9-aeeb-b6c8851ed994",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        464
      ],
      "parameters": {
        "width": 1540,
        "height": 512,
        "content": "## Google Tasks MCP Server\n1. Add your credentials\n"
      }
    },
    {
      "id": "e4a770b1-fc7e-4bc4-b411-b102cc855b27",
      "name": "update tasks",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        640,
        816
      ]
    },
    {
      "id": "a40dc545-41b5-4279-bbd0-4b12a7967351",
      "name": "create_task",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        0,
        816
      ]
    },
    {
      "id": "0b0ba749-b34b-4055-bdb6-fe288fb691fd",
      "name": "get_tasks",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        160,
        816
      ]
    },
    {
      "id": "25cf7872-9f5c-408f-92a3-252183f57004",
      "name": "delete task",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        784,
        816
      ]
    },
    {
      "id": "294d46a7-52d2-4baf-b1ae-06e66f67b586",
      "name": "move_task_position",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        976,
        816
      ]
    },
    {
      "id": "06347e3d-e1c8-4d87-b012-9bf996319845",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        752
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Custom tool\n\nUsing http tool for using other APIs which are not directly allowed via available tool nodes."
      }
    },
    {
      "id": "980bb218-849f-4a55-a6f3-a0339c0fe385",
      "name": "MCP Server Trigger1",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        336,
        592
      ]
    },
    {
      "id": "27cb0a1a-14d6-423c-a9be-03c85fe643f0",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -480,
        224
      ]
    },
    {
      "id": "3c95fe62-16be-4b40-80f5-14fa15b357b5",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -688,
        48
      ]
    },
    {
      "id": "cf76721c-6405-40d7-883f-511a3bda1eef",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -368,
        48
      ]
    },
    {
      "id": "9d5b629c-e698-432e-8f95-d1d342bb3fba",
      "name": "Google Tasks MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        -80,
        272
      ]
    },
    {
      "id": "52fc3692-4beb-43c0-bdb2-d8c5bdd11ed7",
      "name": "Google Calender MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        128,
        272
      ]
    },
    {
      "id": "e432a5d0-31ce-4d69-82c3-19d4ce158b8a",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -272,
        272
      ]
    },
    {
      "id": "bc1d8286-01e7-4fb5-bab1-ff6831234200",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1296,
        464
      ],
      "parameters": {
        "width": 1232,
        "height": 512,
        "content": "## Google Calendar MCP Server\n1. Add Google Calendar Credentials\n2. Select the Calendar from the list (your mail)"
      }
    },
    {
      "id": "f3e0a407-1318-4777-99c4-c16cc49afc84",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -144
      ],
      "parameters": {
        "width": 1376,
        "height": 576,
        "content": "## Personal Assistant\n1. Run all three workflows separately \n2. Add the MCP server SSE endpoints in the MCP client \n3. Setup telegram credentials\n"
      }
    },
    {
      "id": "e70ce1ce-3198-43b6-9a18-461a63427d5d",
      "name": "Send Error Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        320,
        48
      ]
    },
    {
      "id": "8fb00202-2598-4f17-99f7-9d3b7ad3abd5",
      "name": "Send Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        80,
        -48
      ]
    },
    {
      "id": "660211d8-8497-4b77-8742-75ceb6036048",
      "name": "Get_Events",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -464,
        832
      ]
    },
    {
      "id": "277fc9fe-f3b1-43a7-bde4-f8919765b814",
      "name": "GetAll_Events",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        -336,
        784
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_tasks": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get_Events": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "create_task": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "delete task": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Message": {
      "main": [
        [],
        [
          {
            "node": "Send Error Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update tasks": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "GetAll_Events": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "complete_task": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Tasks MCP": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "move_task_position": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calender MCP": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete an event Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a weekly recurrent event Event": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create an Event in Google Calendar with 1 Attendee": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create an Event in Google Calendar with 2 Attendees": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}