{
  "name": "Stacey – your Telegram AI assistant (powered by MCP, Gemini & Google tools)",
  "nodes": [
    {
      "id": "b22ddb39-0c3c-49af-ae4d-8524686036aa",
      "name": "Content Creator Agent",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        40,
        260
      ]
    },
    {
      "id": "325a1722-31a0-4ede-8813-3e2d5eab345f",
      "name": "Tavily",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        160,
        260
      ]
    },
    {
      "id": "43ee4601-500b-4ca0-a090-cf28f837a234",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8f752efb-d29a-401f-a7ad-e724698b494d",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        400
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "21dec0e5-5a18-4cd4-b069-b86c9c21a497",
      "name": "Set 'Text'",
      "type": "n8n-nodes-base.set",
      "position": [
        700,
        640
      ]
    },
    {
      "id": "be3cf381-9d66-4a8e-a6f8-6df126e42152",
      "name": "Download File",
      "type": "n8n-nodes-base.telegram",
      "position": [
        480,
        500
      ]
    },
    {
      "id": "a5993876-e4f9-49e5-9822-273056d55d1b",
      "name": "Transcribe",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        700,
        460
      ]
    },
    {
      "id": "32d1b628-942d-4719-8344-aac6172c387d",
      "name": "Telegram Trigger1",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        40,
        600
      ]
    },
    {
      "id": "7e8dfe0d-1b0f-410b-9d0b-cfcec168ac97",
      "name": "Response1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1500,
        460
      ]
    },
    {
      "id": "1ed74eae-93a5-4a0a-899d-2599ee6fbe51",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        980,
        460
      ]
    },
    {
      "id": "b5bf7db3-e9c2-4083-ad18-91c36c0824b5",
      "name": "MCP Client",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        1220,
        640
      ]
    },
    {
      "id": "8fef85d6-4aa1-4e25-a76e-415609fc9b0e",
      "name": "MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        920,
        40
      ]
    },
    {
      "id": "bb927115-eb61-4d99-8433-31f8cd8bcf65",
      "name": "Create Event with Attendee",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        400,
        260
      ]
    },
    {
      "id": "0330df04-7284-49dc-8b70-e94efeb9f5f7",
      "name": "Create Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        520,
        260
      ]
    },
    {
      "id": "df8d151d-d4b4-46e2-a1be-69a563f944b3",
      "name": "Get Events",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        640,
        260
      ]
    },
    {
      "id": "410f9de0-ddb0-49a8-850c-cef6b1461b0b",
      "name": "Delete Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        760,
        260
      ]
    },
    {
      "id": "59754072-d683-4389-8bdc-657d01074e1f",
      "name": "Update Event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        880,
        260
      ]
    },
    {
      "id": "f336a865-6d1b-4d53-b474-420d258f5d66",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1000,
        260
      ]
    },
    {
      "id": "33462765-50bf-47de-a88b-996dba3fe7cd",
      "name": "Get Emails",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1240,
        260
      ]
    },
    {
      "id": "7c09927a-7bb4-429b-a4d0-2ee680617b45",
      "name": "Create Draft",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1360,
        260
      ]
    },
    {
      "id": "06e1ace2-589c-41f8-8aaa-8934cc24fac3",
      "name": "Email Reply",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1120,
        260
      ]
    },
    {
      "id": "d15d5aad-3713-41f4-8c7b-a8613f1e5029",
      "name": "Get Labels",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1480,
        260
      ]
    },
    {
      "id": "b8fef7b3-ed77-40d2-a222-0bcc5040efb5",
      "name": "Label Emails",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1600,
        260
      ]
    },
    {
      "id": "d7610a01-da36-49d7-af1b-393b8e34f55d",
      "name": "Mark Unread",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1720,
        260
      ]
    },
    {
      "id": "5a8e0012-5a4e-4908-b9f5-cdbd66e16273",
      "name": "update contact data",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1840,
        260
      ]
    },
    {
      "id": "4130fd5b-d542-4ea5-aff5-c5e639b2da73",
      "name": "search contact data",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1960,
        260
      ]
    },
    {
      "id": "bb6b9750-2521-4d32-bbdf-ad1e68acb396",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        400
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "24072924-1e70-4a86-833c-f644a1084a7a",
      "name": "Gemini model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        900,
        640
      ]
    },
    {
      "id": "97ad86c2-e526-4255-a5aa-f9adfb4e00f2",
      "name": "User Context",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1040,
        640
      ]
    },
    {
      "id": "7d88a266-fe43-4c1c-b5ec-0ac4278f73d1",
      "name": "response parser",
      "type": "n8n-nodes-base.code",
      "position": [
        1320,
        460
      ]
    },
    {
      "id": "e342b2ed-542a-44c4-a350-d14621b6c390",
      "name": "Switch input",
      "type": "n8n-nodes-base.switch",
      "position": [
        260,
        600
      ]
    },
    {
      "id": "e4c0e51c-ebd3-42e8-8337-9740d47b19df",
      "name": "Calculate Maths",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        280,
        260
      ]
    }
  ],
  "connections": {
    "Tavily": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "response parser",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Emails": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Events": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Labels": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Email": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set 'Text'": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Reply": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Mark Unread": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Draft": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Event": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Event": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gemini model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Label Emails": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Switch input": {
      "main": [
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set 'Text'",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Event": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "User Context": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Transcribe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Maths": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "response parser": {
      "main": [
        [
          {
            "node": "Response1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger1": {
      "main": [
        [
          {
            "node": "Switch input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "search contact data": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "update contact data": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Content Creator Agent": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Event with Attendee": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}