TG-Bot-AI-日历-v1-数据库-代理
高级
这是一个Personal Productivity, AI Chatbot领域的自动化工作流,包含 16 个节点。主要使用 If, Set, Switch, Telegram, Agent 等节点。 通过Telegram使用Gemini AI助手管理Google日历事件
前置要求
- •Telegram Bot Token
- •Google Gemini API Key
使用的节点 (16)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Axmjq8CRzbN89ft2",
"name": "TG-Bot-AI-日历-v1-数据库-代理",
"nodes": [
{
"id": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1180,
0
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "13802609-1b97-4aa9-87ad-1eb1b5419587",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1180,
-180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1d40b8bf-514a-47de-8115-67457d2db0db",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1340,
-180
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "062769a8-a93d-4d89-a329-97c50663975b",
"name": "获取日历事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1200,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "089fd978-86d6-40b3-bea5-881d7f5f3dcf",
"name": "创建日历事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1400,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "64719f66-d22b-4b36-86aa-bd7204966163",
"name": "更新日历事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1600,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "f4e98403-724b-4f0e-906d-d4f3ef758f90",
"name": "删除日历事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1800,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "91180525-d8d7-47dd-84a7-fb2822f138e2",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ad99297b-3e0a-496a-8725-7ea2041c5614",
"name": "是否开始?",
"type": "n8n-nodes-base.if",
"position": [
660,
0
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "8c3a62f7-d2dc-4913-b9c6-b2515474c1db",
"name": "欢迎消息",
"type": "n8n-nodes-base.telegram",
"position": [
660,
-200
],
"webhookId": "9c4dbbb3-5cbf-42c2-a131-c9ea378bfe3e",
"parameters": {},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "a72681cd-3a63-476d-bda7-961ef16f1b11",
"name": "变量 TG",
"type": "n8n-nodes-base.set",
"position": [
220,
0
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "39e5e51e-be0c-46d9-b401-7be065df6556",
"name": "初始化",
"type": "n8n-nodes-base.set",
"position": [
440,
0
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "750614f6-452f-49ef-aaa4-2d2ddb7b469e",
"name": "Telegram 触发器",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
0,
0
],
"webhookId": "b563a6a0-1072-4ede-a728-56a7e3ff7ff3",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4c455bf5-316f-4596-88ac-771c1ad0a644",
"name": "定义类型",
"type": "n8n-nodes-base.switch",
"position": [
900,
0
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "994e7511-14ea-4e7c-9791-f0147a367e0a",
"name": "发送答案",
"type": "n8n-nodes-base.telegram",
"position": [
1540,
0
],
"webhookId": "c391c4d5-9fca-4b77-b578-a2f0ddc02ac8",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "9b391475-22d5-4200-8536-1f6563fb7861",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-600,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "1991c4ec-0ab8-4c70-9f81-1f151f9b95b3",
"connections": {
"3073aa3c-ae24-4764-92b6-12d70f7910a1": {
"main": [
[
{
"node": "994e7511-14ea-4e7c-9791-f0147a367e0a",
"type": "main",
"index": 0
}
]
]
},
"ad99297b-3e0a-496a-8725-7ea2041c5614": {
"main": [
[
{
"node": "8c3a62f7-d2dc-4913-b9c6-b2515474c1db",
"type": "main",
"index": 0
}
],
[
{
"node": "4c455bf5-316f-4596-88ac-771c1ad0a644",
"type": "main",
"index": 0
}
]
]
},
"4c455bf5-316f-4596-88ac-771c1ad0a644": {
"main": [
[],
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "main",
"index": 0
}
],
[]
]
},
"a72681cd-3a63-476d-bda7-961ef16f1b11": {
"main": [
[
{
"node": "39e5e51e-be0c-46d9-b401-7be065df6556",
"type": "main",
"index": 0
}
]
]
},
"1d40b8bf-514a-47de-8115-67457d2db0db": {
"ai_memory": [
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "ai_memory",
"index": 0
}
]
]
},
"39e5e51e-be0c-46d9-b401-7be065df6556": {
"main": [
[
{
"node": "ad99297b-3e0a-496a-8725-7ea2041c5614",
"type": "main",
"index": 0
}
]
]
},
"8c3a62f7-d2dc-4913-b9c6-b2515474c1db": {
"main": [
[]
]
},
"750614f6-452f-49ef-aaa4-2d2ddb7b469e": {
"main": [
[
{
"node": "a72681cd-3a63-476d-bda7-961ef16f1b11",
"type": "main",
"index": 0
}
]
]
},
"062769a8-a93d-4d89-a329-97c50663975b": {
"ai_tool": [
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "ai_tool",
"index": 0
}
]
]
},
"089fd978-86d6-40b3-bea5-881d7f5f3dcf": {
"ai_tool": [
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "ai_tool",
"index": 0
}
]
]
},
"f4e98403-724b-4f0e-906d-d4f3ef758f90": {
"ai_tool": [
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "ai_tool",
"index": 0
}
]
]
},
"64719f66-d22b-4b36-86aa-bd7204966163": {
"ai_tool": [
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "ai_tool",
"index": 0
}
]
]
},
"13802609-1b97-4aa9-87ad-1eb1b5419587": {
"ai_languageModel": [
[
{
"node": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 个人效率, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用Gemini、语音和图像生成构建多模态Telegram AI助手
使用Gemini、语音和图像生成构建多模态Telegram AI助手
If
Set
Code
+
If
Set
Code
95 节点Iniyavan JC
个人效率
宠物美容发布与预约自动化
使用AI、Facebook和Telegram机器人自动化宠物美容发布与预约
If
Set
Switch
+
If
Set
Switch
36 节点Christian Moises
AI 聊天机器人
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
Set
Switch
Whats App
+
Set
Switch
Whats App
213 节点Electrabot
个人效率
通过 Telegram 使用 AI 语音通话的自动化房产与餐厅预订
通过 Telegram 使用 AI 语音通话的自动化房产与餐厅预订
Filter
Switch
Webhook
+
Filter
Switch
Webhook
28 节点Juan Carlos Cavero Gracia
个人效率
🍳 烹饪伴侣 — 30步工作流 (Telegram + Google Sheets + LLM)
使用AI驱动的Telegram机器人和Google Sheets数据库管理食谱
Switch
Function
Telegram
+
Switch
Function
Telegram
41 节点Issam AGGOUR
个人效率
Telegram支持交接自动化
使用GPT4和邮件提醒自动化Telegram支持从AI到人工的交接
If
Set
Switch
+
If
Set
Switch
40 节点Meelioo
客服机器人