AI 助手已更新
高级
这是一个Other, AI领域的自动化工作流,包含 32 个节点。主要使用 Set, Code, Switch, Telegram, GmailTool 等节点,结合人工智能技术实现智能自动化。 Stacey - 您的 Telegram AI 助手(基于 MCP、Gemini 和 Google 工具)
前置要求
- •Telegram Bot Token
- •Google 账号和 Gmail API 凭证
- •OpenAI API Key
- •Google Sheets API 凭证
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
使用的节点 (32)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "pKTny0sUPMYdssGf",
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"name": "AI 助手已更新",
"tags": [],
"nodes": [
{
"id": "b22ddb39-0c3c-49af-ae4d-8524686036aa",
"name": "内容创作助手",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
40,
260
],
"parameters": {},
"typeVersion": 2
},
{
"id": "325a1722-31a0-4ede-8813-3e2d5eab345f",
"name": "Tavily",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
160,
260
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "43ee4601-500b-4ca0-a090-cf28f837a234",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8f752efb-d29a-401f-a7ad-e724698b494d",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
400,
400
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "21dec0e5-5a18-4cd4-b069-b86c9c21a497",
"name": "设置 '文本'",
"type": "n8n-nodes-base.set",
"position": [
700,
640
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "be3cf381-9d66-4a8e-a6f8-6df126e42152",
"name": "下载文件",
"type": "n8n-nodes-base.telegram",
"disabled": true,
"position": [
480,
500
],
"webhookId": "83bb7385-33f6-4105-8294-1a91c0ebbee5",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a5993876-e4f9-49e5-9822-273056d55d1b",
"name": "转录",
"type": "@n8n/n8n-nodes-langchain.openAi",
"disabled": true,
"position": [
700,
460
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "32d1b628-942d-4719-8344-aac6172c387d",
"name": "Telegram 触发器1",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
40,
600
],
"webhookId": "99eab1a0-569d-4f0f-a49e-578a02abfe63",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "7e8dfe0d-1b0f-410b-9d0b-cfcec168ac97",
"name": "响应1",
"type": "n8n-nodes-base.telegram",
"position": [
1500,
460
],
"webhookId": "5dced4b9-5066-4036-a4d4-14fc07edd53c",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "1ed74eae-93a5-4a0a-899d-2599ee6fbe51",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
980,
460
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "b5bf7db3-e9c2-4083-ad18-91c36c0824b5",
"name": "MCP 客户端",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
1220,
640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8fef85d6-4aa1-4e25-a76e-415609fc9b0e",
"name": "MCP 服务器触发器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
920,
40
],
"webhookId": "e7aeb13c-f884-4501-a0c9-0dbdf4b809eb",
"parameters": {},
"typeVersion": 1
},
{
"id": "bb927115-eb61-4d99-8433-31f8cd8bcf65",
"name": "创建带参与者的活动",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
400,
260
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "0330df04-7284-49dc-8b70-e94efeb9f5f7",
"name": "TikTok 搜索",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
520,
260
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "df8d151d-d4b4-46e2-a1be-69a563f944b3",
"name": "获取活动",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
640,
260
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "410f9de0-ddb0-49a8-850c-cef6b1461b0b",
"name": "删除活动",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
760,
260
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "59754072-d683-4389-8bdc-657d01074e1f",
"name": "更新活动",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
880,
260
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "f336a865-6d1b-4d53-b474-420d258f5d66",
"name": "发送邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
1000,
260
],
"webhookId": "86c8c4b1-13bb-4ebe-acb9-30e1d7082d55",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "33462765-50bf-47de-a88b-996dba3fe7cd",
"name": "获取邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
1240,
260
],
"webhookId": "af4b3298-9037-44b0-aa12-2acbfbb5e66f",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "7c09927a-7bb4-429b-a4d0-2ee680617b45",
"name": "创建事件",
"type": "n8n-nodes-base.gmailTool",
"position": [
1360,
260
],
"webhookId": "17016bce-d7d7-428a-a56c-f6ea122db8be",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "06e1ace2-589c-41f8-8aaa-8934cc24fac3",
"name": "创建草稿",
"type": "n8n-nodes-base.gmailTool",
"position": [
1120,
260
],
"webhookId": "114785e6-a859-432b-81b4-c490c1c35b1c",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "d15d5aad-3713-41f4-8c7b-a8613f1e5029",
"name": "邮件回复",
"type": "n8n-nodes-base.gmailTool",
"position": [
1480,
260
],
"webhookId": "9e08b59e-792d-4566-83f1-9263c9ad86ae",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "b8fef7b3-ed77-40d2-a222-0bcc5040efb5",
"name": "获取标签",
"type": "n8n-nodes-base.gmailTool",
"position": [
1600,
260
],
"webhookId": "0e951529-2e6d-40bf-ac40-fc0947e242e2",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "d7610a01-da36-49d7-af1b-393b8e34f55d",
"name": "标记邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
1720,
260
],
"webhookId": "a35af9d8-f67d-4ff9-803f-59ec6356e795",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "5a8e0012-5a4e-4908-b9f5-cdbd66e16273",
"name": "更新联系人数据",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
1840,
260
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "4130fd5b-d542-4ea5-aff5-c5e639b2da73",
"name": "搜索联系人数据",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
1960,
260
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "bb6b9750-2521-4d32-bbdf-ad1e68acb396",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
400
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "24072924-1e70-4a86-833c-f644a1084a7a",
"name": "Gemini 模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
900,
640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "97ad86c2-e526-4255-a5aa-f9adfb4e00f2",
"name": "用户上下文",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1040,
640
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "7d88a266-fe43-4c1c-b5ec-0ac4278f73d1",
"name": "响应解析器",
"type": "n8n-nodes-base.code",
"position": [
1320,
460
],
"parameters": {},
"typeVersion": 2
},
{
"id": "e342b2ed-542a-44c4-a350-d14621b6c390",
"name": "切换输入",
"type": "n8n-nodes-base.switch",
"position": [
260,
600
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "e4c0e51c-ebd3-42e8-8337-9740d47b19df",
"name": "数学计算",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
280,
260
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "1b3bde16-ec55-460b-88d6-e7dea0cb1c2f",
"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
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 其他, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Telegram AI 助手与 Gmail、Google 日历、Google Sheets
Telegram AI 助手集成 Gmail、Google 日历、Google Sheets 和 MCP 工具
Telegram
Gmail Tool
Agent
+8
17 节点David Olusola
其他
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
AI驱动的Telegram助手终极入门指南(PDF、Brave搜索和Google套件)
使用Gemini、RAG PDF搜索和Google套件构建多功能Telegram机器人
Set
Code
Wait
+26
79 节点Issam AGGOUR
人工智能
MyAIAgentTeam:邮件、会议、网页搜索、Notion、推文、RAG_PUBLIC
终极AI助手:自动化邮件、日历、网页搜索、Notion、RAG和X
Set
Switch
Telegram
+15
51 节点Tianyi
人工智能
语音支持工作流
AI语音教练与生成器:使用Telegram、OpenAI和Gemini
If
Set
Code
+9
22 节点NanaB
其他
牙科预约
AI驱动的牙科预约系统,集成Telegram、Google日历和表格
If
Set
Switch
+18
53 节点Aziz B
工作流信息
难度等级
高级
节点数量32
分类2
节点类型18
作者
David Olusola
@dae221I love building smart, efficient automations with n8n that help businesses save time and scale effortlessly. Turning complex workflows into simple solutions is where I have the most fun
外部链接
在 n8n.io 查看 →
分享此工作流