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": {
"AI Agent": {
"main": [
[
{
"node": "Send Answer",
"type": "main",
"index": 0
}
]
]
},
"Is start?": {
"main": [
[
{
"node": "Welcome message",
"type": "main",
"index": 0
}
],
[
{
"node": "Define Type",
"type": "main",
"index": 0
}
]
]
},
"Define Type": {
"main": [
[],
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
],
[]
]
},
"Variables TG": {
"main": [
[
{
"node": "Initialization",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Initialization": {
"main": [
[
{
"node": "Is start?",
"type": "main",
"index": 0
}
]
]
},
"Welcome message": {
"main": [
[]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Variables TG",
"type": "main",
"index": 0
}
]
]
},
"Get Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 个人效率, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
CA - 远程助手
基于 Telegram 的个人 Google 日历和提醒机器人,使用 Gemini 和 Whisper
Set
Merge
Switch
+11
27 节点Khaisa Studio
个人效率
个人 Telegram AI 助手机器人
语音与文本助手,集成Telegram、Gemini AI、日历、Gmail和Notion
If
Switch
Telegram
+9
17 节点Paul Abraham
个人效率
WhatsApp AI日历机器人 v1 数据库代理
WhatsApp预约安排,集成Google日历和Gemini AI
If
Set
Switch
+9
19 节点Andrew
客服机器人
💥 AI病毒视频生成:NanoBanana和VEO3,通过Blotato分享到社交平台 - 视频
AI个人助理:通过Telegram管理Google任务、日历、邮件和开支
Set
Filter
Switch
+15
52 节点minh
个人效率
使用Gemini、语音和图像生成构建多模态Telegram AI助手
使用Gemini、语音和图像生成构建多模态Telegram AI助手
If
Set
Code
+19
95 节点Iniyavan JC
个人效率
多模态费用追踪:Telegram、Gemini AI 与 Google Sheets
使用 Telegram、Gemini AI 和 Google Sheets 的多模态费用追踪系统
If
Set
Switch
+10
25 节点OwenLee
个人效率