个人助理 MCP 服务器
高级
这是一个Other, AI, IT Ops领域的自动化工作流,包含 20 个节点。主要使用 GmailTool, Agent, GoogleSheetsTool, GoogleCalendarTool, McpTrigger 等节点,结合人工智能技术实现智能自动化。 使用MCP构建集成Google Gemini、Gmail和日历的个人助理
前置要求
- •Google 账号和 Gmail API 凭证
- •Google Sheets API 凭证
- •Google Gemini API Key
使用的节点 (20)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "KhUd3rHKtZAImiXZ",
"meta": {
"instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
"templateCredsSetupCompleted": true
},
"name": "个人助理 MCP 服务器",
"tags": [],
"nodes": [
{
"id": "f27f3d00-8019-401f-a1c4-5c9754ca5d7e",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-220,
-60
],
"webhookId": "989c3a79-5a0c-4ca1-a542-55e060816121",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "49e4bd69-141f-47ae-bb97-f03a92e56131",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-80,
140
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.5-pro-preview-05-06"
},
"credentials": {
"googlePalmApi": {
"id": "MF12DwQJWL1egyiN",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "aaa58803-52ad-439b-8876-05a84fc63eaf",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
120,
140
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "5c49309e-054c-4097-b8c3-1bf0b10539ec",
"name": "MCP 服务器触发器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
20,
340
],
"webhookId": "b37ab045-0b99-4d57-af44-6ae1e9ac6381",
"parameters": {
"path": "b37ab045-0b99-4d57-af44-6ae1e9ac6381"
},
"typeVersion": 1
},
{
"id": "24e5ee35-c53c-4e82-9d79-d48d9220d7ac",
"name": "MCP 客户端",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
480,
140
],
"parameters": {
"sseEndpoint": "<set-your-url-here>"
},
"typeVersion": 1
},
{
"id": "24d7de59-9db2-43e8-ad2a-923bbfc9877b",
"name": "创建事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
820,
380
],
"parameters": {
"calendar": {
"__rl": true,
"mode": "list",
"value": "hello@1node.ai",
"cachedResultName": "hello@1node.ai"
},
"additionalFields": {}
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "UfvyikkM1kt4EcMl",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
},
{
"id": "54a2e041-8c5c-40bb-ae6b-1494b8a5a198",
"name": "更新事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
580,
720
],
"parameters": {
"eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": "hello@1node.ai",
"cachedResultName": "hello@1node.ai"
},
"operation": "update",
"updateFields": {}
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "UfvyikkM1kt4EcMl",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
},
{
"id": "7bebda2e-711f-478b-8ba3-36306b1ffb49",
"name": "起草邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
260,
780
],
"webhookId": "4e76cb3d-4239-4030-a23a-544029535f70",
"parameters": {
"message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', `Sign off as \"Your name, company name\"`, 'string') }}",
"options": {},
"subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}",
"resource": "draft"
},
"credentials": {
"gmailOAuth2": {
"id": "q3P6IybvNdDiPZ52",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "26538db2-f3af-47a8-b97e-2afa7d9ea05d",
"name": "个人助理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
40,
-60
],
"parameters": {
"options": {}
},
"typeVersion": 1.9
},
{
"id": "04c5d14f-a80d-4113-b3ff-a6ee1ab3917e",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
280
],
"parameters": {
"color": 5,
"width": 560,
"height": 620,
"content": "# 日历节点"
},
"typeVersion": 1
},
{
"id": "0de610d2-20bf-4fd4-b93e-60b082d22e56",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
700
],
"parameters": {
"color": 3,
"width": 460,
"height": 500,
"content": "# 邮件节点"
},
"typeVersion": 1
},
{
"id": "e084e23e-473b-4798-a39c-00529ef9e827",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
360
],
"parameters": {
"color": 4,
"width": 660,
"height": 480,
"content": "# CRM 节点"
},
"typeVersion": 1
},
{
"id": "dc9dcee5-35ec-4ea3-8c67-21c277705dec",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-220
],
"parameters": {
"width": 480,
"height": 480,
"content": "## MCP 客户端"
},
"typeVersion": 1
},
{
"id": "1764e9cd-7fc1-46e7-bc97-33d4b81d5141",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
280
],
"parameters": {
"color": 5,
"width": 400,
"height": 620,
"content": ""
},
"typeVersion": 1
},
{
"id": "b4dda81f-fa22-43ec-a841-7b924b8884e8",
"name": "添加新行",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
-340,
440
],
"parameters": {
"columns": {
"value": {},
"schema": [],
"mappingMode": "autoMapInputData",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8/edit?usp=drivesdk",
"cachedResultName": "Contacts"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "twZdLFsI3kTnqtpG",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "e3bc61e0-1d95-4554-b7ba-f76c3f105339",
"name": "查找行",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
-280,
580
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8/edit?usp=drivesdk",
"cachedResultName": "Contacts"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "twZdLFsI3kTnqtpG",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "461469da-c47a-486f-98c2-71fcc9abc235",
"name": "更新行",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
-180,
680
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "row_number",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "autoMapInputData",
"matchingColumns": [
"row_number"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JDoEkNqk1c_TrIht2n1XF-jmIWpk48DP3NUaNbhcFV8/edit?usp=drivesdk",
"cachedResultName": "Contacts"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "twZdLFsI3kTnqtpG",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "01c0ba70-c1b1-454f-9b4e-0727c8280ace",
"name": "查找邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
120,
780
],
"webhookId": "b36e3112-52b1-4e03-a2d3-74d5d4705891",
"parameters": {
"filters": {},
"operation": "getAll",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}"
},
"credentials": {
"gmailOAuth2": {
"id": "q3P6IybvNdDiPZ52",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "40efd312-032f-496b-8485-a6a49001aa75",
"name": "查找单个事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
760,
520
],
"parameters": {
"eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}",
"options": {},
"calendar": {
"__rl": true,
"mode": "list",
"value": "hello@1node.ai",
"cachedResultName": "hello@1node.ai"
},
"operation": "get"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "UfvyikkM1kt4EcMl",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
},
{
"id": "8ac5c33e-f4fb-4627-98d5-b66838db3037",
"name": "查找多个事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
680,
620
],
"parameters": {
"limit": 10,
"options": {},
"calendar": {
"__rl": true,
"mode": "list",
"value": "hello@1node.ai",
"cachedResultName": "hello@1node.ai"
},
"operation": "getAll"
},
"credentials": {
"googleCalendarOAuth2Api": {
"id": "UfvyikkM1kt4EcMl",
"name": "Google Calendar account"
}
},
"typeVersion": 1.3
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "99536a4c-8e1b-4b7e-9a2a-8baa404499fe",
"connections": {
"Find row": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"MCP Client": {
"ai_tool": [
[
{
"node": "Personal Assistant",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update row": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Add new row": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Draft email": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Find emails": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create event": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update event": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "Personal Assistant",
"type": "ai_memory",
"index": 0
}
]
]
},
"Find single event": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Find multiple events": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Personal Assistant",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "Personal Assistant",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 其他, 人工智能, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI 助手已更新
Stacey - 您的 Telegram AI 助手(基于 MCP、Gemini 和 Google 工具)
Set
Code
Switch
+15
32 节点David Olusola
其他
Telegram AI 助手与 Gmail、Google 日历、Google Sheets
Telegram AI 助手集成 Gmail、Google 日历、Google Sheets 和 MCP 工具
Telegram
Gmail Tool
Agent
+8
17 节点David Olusola
其他
使用Airtable构建MCP服务器
使用Airtable构建MCP服务器
Airtable Tool
Agent
Mcp Trigger
+5
13 节点Aitor | 1node.ai
构建模块
pipedrive mcp
使用Google Gemini AI进行自然语言Pipedrive CRM管理
Gmail
Pipedrive Tool
Agent
+6
32 节点Aitor | 1node.ai
销售
构建自定义n8n工作流MCP服务器
构建自定义n8n工作流MCP服务器
If
N8n
Set
+15
46 节点Jimleuk
其他
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
工作流信息
难度等级
高级
节点数量20
分类3
节点类型10
作者
Aitor | 1node.ai
@aitoralonsoHi, I’m Aitor, cofounder of 1node.ai. We help businesses integrate full-scale AI solutions that save time, cut costs, and increase revenue. Guaranteed. Need help building smarter workflows? Visit 1node.ai and let's connect.
外部链接
在 n8n.io 查看 →
分享此工作流