准备 Outlook 会议到 Teams
中级
这是一个Personal Productivity领域的自动化工作流,包含 8 个节点。主要使用 Code, MicrosoftTeams, ScheduleTrigger, MicrosoftOutlook 等节点。 将Outlook日历摘要自动发送到Microsoft Teams
前置要求
- •无特殊前置要求,导入即可使用
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "L4F6EnHYmVEq7SSW",
"meta": {
"instanceId": "ccf4e500c5536799e0925f03390f0fd338e2b5a5bc862f6a57b5552acfdf3861",
"templateCredsSetupCompleted": true
},
"name": "准备 Outlook 会议到 Teams",
"tags": [],
"nodes": [
{
"id": "1a3eb8b0-1507-4c7f-9644-8779ab20a157",
"name": "获取日历事件",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
820,
660
],
"webhookId": "b5035907-a365-4c4c-a109-011aaa75fd52",
"parameters": {
"filters": {
"custom": "={{ $json.filter }}"
},
"resource": "event"
},
"credentials": {
"microsoftOutlookOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "9afa8efa-2154-4584-8476-52039358e03f",
"name": "为“今天”值创建筛选器",
"type": "n8n-nodes-base.code",
"position": [
640,
660
],
"parameters": {
"jsCode": "const now = new Date();\n\n// Get start of today (UTC)\nconst start = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate()));\nconst end = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate() + 1));\n\nconst startISO = start.toISOString(); // e.g. 2025-05-27T00:00:00.000Z\nconst endISO = end.toISOString();\n\nconst filter = `start/dateTime ge '${startISO}' and start/dateTime lt '${endISO}'`;\n\nreturn [{\n json: {\n filter,\n startISO,\n endISO\n }\n}];\n"
},
"typeVersion": 2
},
{
"id": "1eb47e59-e8d0-4f26-b647-8351d76d877a",
"name": "每天午夜定时执行",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
420,
660
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "17e80693-1187-4ccf-a4d6-1f08416421d4",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
460
],
"parameters": {
"color": 7,
"width": 1380,
"height": 480,
"content": "## 自动将您的每日日程发送到 Teams"
},
"typeVersion": 1
},
{
"id": "76ffe5c8-e99a-46c3-9576-2aaf6687e57e",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1660,
420
],
"parameters": {
"width": 600,
"height": 600,
"content": "## 最终输出"
},
"typeVersion": 1
},
{
"id": "b2e1ec44-99c1-4476-82a8-53e27e270470",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-600,
80
],
"parameters": {
"width": 700,
"height": 1240,
"content": "## 将您的 Outlook 日历每日摘要发送到 MS Teams"
},
"typeVersion": 1
},
{
"id": "5026f97a-712b-4c2a-87d4-ed0f84a7074a",
"name": "创建聊天消息",
"type": "n8n-nodes-base.microsoftTeams",
"position": [
1200,
660
],
"webhookId": "30c7eb6a-4c9e-404a-b8b9-1acaf6694253",
"parameters": {
"chatId": {
"__rl": true,
"mode": "list",
"value": "19:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@unq.gbl.spaces",
"cachedResultUrl": "https://teams.microsoft.com/l/chat/19%3Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%40unq.gbl.spaces/0?tenantId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"cachedResultName": "FirstName LastName (exampleChat)"
},
"message": "={{ $json.htmlMessage }}",
"options": {},
"resource": "chatMessage"
},
"credentials": {
"microsoftTeamsOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 2
},
{
"id": "a589e740-17df-4bce-a8d8-79e97e17261d",
"name": "HTML 格式",
"type": "n8n-nodes-base.code",
"position": [
1000,
660
],
"parameters": {
"jsCode": "return items.map(item => {\n const start = item.json.start?.dateTime || \"N/A\";\n const subject = item.json.subject || \"No subject\";\n const preview = item.json.bodyPreview || \"\";\n\n return {\n json: {\n htmlMessage: `\n <b>📅 Meeting Time:</b> ${start}<br>\n <b>📝 Subject:</b> ${subject}<br>\n <b>📄 Summary:</b><br>\n ${preview}\n `\n }\n };\n});\n"
},
"typeVersion": 2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "c7fb9c1c-c830-4bb1-ac44-520b35accf0d",
"connections": {
"HTML format": {
"main": [
[
{
"node": "Create chat message",
"type": "main",
"index": 0
}
]
]
},
"Microsoft Outlook": {
"main": [
[
{
"node": "HTML format",
"type": "main",
"index": 0
}
]
]
},
"Schedule every midnight": {
"main": [
[
{
"node": "Create filter for \"TODAY\" value",
"type": "main",
"index": 0
}
]
]
},
"Create filter for \"TODAY\" value": {
"main": [
[
{
"node": "Microsoft Outlook",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 个人效率
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Nicereply反馈路由器直接到MS Teams您的团队
自动化Nicereply反馈路由到MS Teams,按团队和情感分类
If
Set
Code
+8
21 节点Easy8.ai
工单管理
自动同步Easy Redmine任务到Microsoft To-Do
自动同步Easy Redmine任务到Microsoft To-Do
Code
Split Out
Microsoft To Do
+3
11 节点Easy8.ai
杂项
每日Easy Redmine任务摘要发送至Microsoft Teams频道
Easy Redmine与Microsoft Teams工作流模板
Set
Split Out
Microsoft Teams
+4
9 节点Easy8.ai
项目管理
基于Mistral AI的邮件转任务自动化(Gmail/Outlook转Google Tasks/Microsoft To Do)
基于Mistral AI的邮件转任务自动化(Gmail/Outlook转Google Tasks/Microsoft To Do)
Code
Gmail
Merge
+11
35 节点Jordan Hoyle
个人效率
发送定时n8n发布说明通知到Gmail
基于AI的n8n发布说明摘要通知(通过Gmail与GPT-5-Mini)
Set
Code
Html
+7
16 节点Jeff Huera
个人效率
专注时间
在繁忙日程中自动在Google日历中屏蔽专注时间
If
Code
Item Lists
+3
11 节点Moe Ahad
个人效率
工作流信息
难度等级
中级
节点数量8
分类1
节点类型5
作者
Easy8.ai
@easy8aiWe guide B2B companies to use AI agents & automations with ease. Powered by Easy Software & n8n.
外部链接
在 n8n.io 查看 →
分享此工作流