ca7ai Google日历子代理
中级
这是一个AI Chatbot, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 Agent, GoogleCalendarTool, LmChatOpenAi, ExecuteWorkflowTrigger, MemoryBufferWindow 等节点。 使用OpenAI助手管理Google日历事件(获取、创建、删除)
前置要求
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "41tGOnU3hN9zjJln",
"meta": {
"instanceId": "146ab8f1ce0cef4bd9c6b91db262ad7cd77638e200455d5838ba053a27e415bc",
"templateCredsSetupCompleted": true
},
"name": "ca7ai Google_Cal_sub_agent",
"tags": [],
"nodes": [
{
"id": "16324d82-a9bc-4073-9b4c-fd77a090dca1",
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-96,
0
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "text"
},
{
"name": "sessionid"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
112,
0
],
"parameters": {
"text": "={{ $json.text }}",
"options": {
"systemMessage": "=You are a calendar assistant who can easily manage events in a google calendar. \nYou must provide the start and end date.\n\nIf you need to create events in the calendar use the \"Get\" tool. To delete events in the calendar use \"Delete\", and to create events use the \"Create\" tool.\n\nthe current date and time is {{ $now}}\nAdditionally, you must provide the summary and other details for the calendar which your tool might need. "
},
"promptType": "define"
},
"typeVersion": 2.2
},
{
"id": "415dd782-7737-4167-b22d-b8f45adc0d2b",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-32,
208
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "fYx3byxTFkzmN2m2",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "cf9318a7-a3df-448e-8bed-4d2eb79da709",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
128,
208
],
"parameters": {
"sessionKey": "={{ $json.sessionid }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "c64f7db8-55e6-42da-afe9-9a4033620283",
"name": "Create",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
416,
160
],
"parameters": {
"end": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('End', ``, 'string') }}",
"start": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start', ``, 'string') }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": "test@gmail.com",
"cachedResultName": "test@gmail.com"
},
"additionalFields": {
"summary": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Summary', ``, 'string') }}"
},
"useDefaultReminders": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Use_Default_Reminders', ``, 'boolean') }}"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "BC96nICCCCF5g",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
},
{
"id": "df7a77d7-ed5e-4b22-ac32-06a634b5be04",
"name": "Get",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
272,
208
],
"parameters": {
"options": {},
"timeMax": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Before', ``, 'string') }}",
"timeMin": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('After', ``, 'string') }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": "test@gmail.com",
"cachedResultName": "test@gmail.com"
},
"operation": "getAll",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "BC96nICCCsCF5g",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
},
{
"id": "8c875363-d79a-47be-89c5-1ff43222c0ff",
"name": "Delete",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
368,
304
],
"parameters": {
"eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}",
"options": {},
"calendar": {
"__rl": true,
"mode": "list",
"value": "test@gmail.com",
"cachedResultName": "test@gmail.com"
},
"operation": "delete"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "BC96nIn2oirsCF5g",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
},
{
"id": "1ac31106-5ff0-422f-a921-7a7c653c61a6",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-592,
-16
],
"parameters": {
"color": 4,
"width": 304,
"height": 144,
"content": "**CHILD — CALENDAR TOOLS**\n\n**Get**: list events by date range\n**Create**: start + end + summary (required)\n**Delete**: requires eventId\nMemory keyed by `sessionid`"
},
"typeVersion": 1
},
{
"id": "91cd60cf-8893-4b1b-935d-accaca98d43a",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-592,
144
],
"parameters": {
"width": 304,
"content": "**SUB-AGENT LOGIC**\n\n**Inputs**: text, sessionid\nAgent chooses the right tool\nReturn concise confirmation back to Parent"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "8dbfb5d7-a1e1-4f2e-b50d-b9a2b2739f17",
"connections": {
"df7a77d7-ed5e-4b22-ac32-06a634b5be04": {
"ai_tool": [
[
{
"node": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"type": "ai_tool",
"index": 0
}
]
]
},
"c64f7db8-55e6-42da-afe9-9a4033620283": {
"ai_tool": [
[
{
"node": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"type": "ai_tool",
"index": 0
}
]
]
},
"8c875363-d79a-47be-89c5-1ff43222c0ff": {
"ai_tool": [
[
{
"node": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"type": "ai_tool",
"index": 0
}
]
]
},
"cf9318a7-a3df-448e-8bed-4d2eb79da709": {
"ai_memory": [
[
{
"node": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"type": "ai_memory",
"index": 0
}
]
]
},
"415dd782-7737-4167-b22d-b8f45adc0d2b": {
"ai_languageModel": [
[
{
"node": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"16324d82-a9bc-4073-9b4c-fd77a090dca1": {
"main": [
[
{
"node": "874f3806-88e5-4402-a4fd-e4a3898c82b5",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - AI 聊天机器人, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Google日历管理工作流
使用GPT-4o虚拟助手(编排器)管理Google日历事件
Agent
Chat Trigger
Lm Chat Open Ai
+
Agent
Chat Trigger
Lm Chat Open Ai
7 节点Calistus Christian
AI 聊天机器人
💥 使用ChatGPT-5构建您的第一个AI代理
使用GPT-5、Google日历和表格创建知识库与日程安排AI助手
Gmail Tool
Agent
Google Sheets Tool
+
Gmail Tool
Agent
Google Sheets Tool
14 节点Dr. Firas
杂项
WhatsApp 文本助手
使用 OpenAI、日历和邮件集成创建 WhatsApp 客户支持机器人
Set
Twilio
Gmail Tool
+
Set
Twilio
Gmail Tool
27 节点Nabin Bhandari
杂项
使用 Google 日历和表格创建 AI 驱动的虚拟接待员
使用 Google 日历和表格创建 AI 驱动的虚拟接待员
Google Sheets
Agent
Google Sheets Tool
+
Google Sheets
Agent
Google Sheets Tool
12 节点Risper
杂项
会议预约助手
会议管理助手
Telegram
Gmail Tool
Date Time Tool
+
Telegram
Gmail Tool
Date Time Tool
13 节点Rakin Jakaria
AI 聊天机器人
使用Google路线API自动添加出行时间块到日历
使用Google路线API自动添加出行时间块到日历
Set
Http Request
Agent
+
Set
Http Request
Agent
21 节点Kevin Armbruster
个人效率
工作流信息
难度等级
中级
节点数量9
分类2
节点类型6
作者
Calistus Christian
@ca7aiAutomation strategist and AI workflow architect creating intelligent, agent-driven processes that streamline operations. I build advanced n8n solutions integrating AI, cloud services, and real-time data orchestration for scalable impact. Explore my free workflows to get started. Premium, custom-built solutions are also available. Connect with me on LinkedIn for tailored automation expertise.
外部链接
在 n8n.io 查看 →
分享此工作流