{
  "name": "Manage tasks & send scheduled reminders with Telegram Bot, Google Sheets & GPT-4o mini",
  "nodes": [
    {
      "id": "ddf05576-5bc2-4ca9-adb3-1ff2ecc26c97",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        400,
        0
      ]
    },
    {
      "id": "dcfbb5bb-1099-441f-ba76-b30bfc633c2e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        200,
        420
      ]
    },
    {
      "id": "80900854-32fd-4928-9050-fa6205250420",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "a3b8ff63-1309-47aa-a071-0ca69984043e",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        940,
        0
      ]
    },
    {
      "id": "b3bdeebe-6f04-44f9-b22a-97e8a1fcc9ee",
      "name": "Google Sheets7",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -60,
        780
      ]
    },
    {
      "id": "30b6de24-4c44-4355-aa62-ef5c7a6c6ae1",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        220,
        780
      ]
    },
    {
      "id": "5d2df6ed-fa75-4949-b74a-042addfabba5",
      "name": "Telegram3",
      "type": "n8n-nodes-base.telegram",
      "position": [
        760,
        780
      ]
    },
    {
      "id": "74cd2329-60be-4a5d-b283-f261f5cbf047",
      "name": "Google Sheets8",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        960,
        780
      ]
    },
    {
      "id": "63faedda-3f2c-423b-9f6a-100d4b1568d1",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        500,
        780
      ]
    },
    {
      "id": "5043e365-bba4-42e9-8ec0-a5a7425db5dd",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -160,
        1260
      ]
    },
    {
      "id": "6e9b5f63-703f-4e6c-93f4-e189e2cb95f5",
      "name": "Telegram4",
      "type": "n8n-nodes-base.telegram",
      "position": [
        620,
        1260
      ]
    },
    {
      "id": "095dfa8d-790b-49a1-bffe-b3662366c16f",
      "name": "AI Agent2",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        120,
        1260
      ]
    },
    {
      "id": "79f63a11-d6d2-4aaa-9de4-3a7d8fadfea2",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        120,
        1520
      ]
    },
    {
      "id": "0b600724-8dfa-437e-833d-fcbe590f6fb0",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        500,
        400
      ]
    },
    {
      "id": "9ae85bb4-38ba-434a-8ad4-89f7d3c510c9",
      "name": "Google Sheets1",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        720,
        400
      ]
    },
    {
      "id": "7d7915d3-c9d2-4416-a434-3f5d31663103",
      "name": "Google Sheets2",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        940,
        400
      ]
    },
    {
      "id": "eb983081-b414-4b58-88ed-129350576c11",
      "name": "Google Sheets5",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        280,
        1520
      ]
    },
    {
      "id": "28f1cc98-bdb1-4b71-a888-5b021b294b8e",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -300,
        780
      ]
    },
    {
      "id": "7e039d7c-859f-402a-96bd-8fb50af903c9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -20
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Telegram Start \nuser to send message ai agent to work google sheet read,append or update and delete the data in sheet\n"
      }
    },
    {
      "id": "541dd29c-9610-4f45-8429-0029f89e8c27",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Duplicate Not data to enter.\n"
      }
    },
    {
      "id": "02dd01a9-adec-460c-a5bc-a8b7d2b718c9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        1200
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Schedule"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Google Sheets7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent2": {
      "main": [
        [
          {
            "node": "Telegram4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram3": {
      "main": [
        [
          {
            "node": "Google Sheets8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets5": {
      "ai_tool": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets7": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets8": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Telegram3",
            "type": "main",
            "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
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "AI Agent2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}