8
n8n 中文网amn8n.com

Telegram AI 助手与 Gmail、Google 日历、Google Sheets

高级

这是一个Other, AI领域的自动化工作流,包含 17 个节点。主要使用 Telegram, GmailTool, Agent, TelegramTrigger, GoogleSheetsTool 等节点,结合人工智能技术实现智能自动化。 Telegram AI 助手集成 Gmail、Google 日历、Google Sheets 和 MCP 工具

前置要求
  • Telegram Bot Token
  • Google 账号和 Gmail API 凭证
  • Google Sheets API 凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "huYO1F7i4gBmKLV6",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "Telegram AI 助手与 Gmail、Google Calendar、Google Sheets",
  "tags": [],
  "nodes": [
    {
      "id": "ae2d7249-fd1c-434e-8a84-8d3cdb88b2b9",
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        0
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "1ee01ee2-9940-48a6-a3af-4550bbd95021",
      "name": "MCP 客户端",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        440,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "827ee703-f4d0-4c42-bc3a-47dc292866bf",
      "name": "MCP 服务器触发器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        660,
        140
      ],
      "webhookId": "17e4eb47-0a40-46bd-a013-9bd844c79491",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3deadc24-76d0-4ddf-954e-4dd811f0ef3c",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        520,
        460
      ],
      "webhookId": "8fdcbcce-8b08-484f-8198-d9f197e6beec",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "0f1178e2-f7bb-4127-a3c3-5c1f00c0c95e",
      "name": "Gmail1",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        620,
        460
      ],
      "webhookId": "ad715b5e-52c7-405a-a756-621a39ad1015",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "ca9d6ff3-e082-4583-ba2a-9c78ff6dee0a",
      "name": "Gmail2",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        720,
        460
      ],
      "webhookId": "ca587842-8a75-4f9a-a00a-40e4233e1da4",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "f416af64-036e-4d5b-addf-159f763bd1e3",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cf9ed6e3-a644-46fb-9fc2-a684595c48d5",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "aafc628e-577a-4478-bc2d-56676788f937",
      "name": "Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        900,
        460
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "1cdf4f20-3348-4635-992d-0ad64f7697e9",
      "name": "Google Calendar1",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1020,
        460
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "e3b9f739-d768-4a8b-8028-5d5f01be8c4b",
      "name": "Google Calendar2",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1120,
        440
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "67a5a7eb-f690-4c59-bccd-023bc3262899",
      "name": "Google Gemini 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        100,
        220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a02893db-bb2b-412a-b66a-700cfa846d1c",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        320,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "61c3bce9-fcd2-4711-a31e-d2e1d5fbc4c6",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a4395531-c404-4ea4-a0df-dc919a54cf17",
      "name": "联系人数据",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1100,
        180
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "a2059e87-e39f-4dab-a19a-4030ed04e269",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -20,
        0
      ],
      "webhookId": "e9d9dcb0-c0b8-47a5-b034-f6c63e73507f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "eba9deef-2dd0-4662-9b50-3c35c42fa549",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        580,
        0
      ],
      "webhookId": "06cc6fce-2eb7-4eb2-bab4-a7ed13e81854",
      "parameters": {},
      "typeVersion": 1.2
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ae83d16a-d907-482e-8793-e519f1228e14",
  "connections": {
    "Gmail": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail1": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail2": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "contact data": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar1": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar2": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 其他, 人工智能

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量17
分类2
节点类型11
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
David Olusola

David Olusola

@dae221

AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com

外部链接
在 n8n.io 查看

分享此工作流