使用 GPT-4 为 Outlook 和 Slack 生成智能 Calendly 通知
中级
这是一个Personal Productivity, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 Set, Slack, Agent, CalendlyTrigger, MicrosoftOutlook 等节点。 使用 GPT-4 为 Outlook 和 Slack 生成智能 Calendly 通知
前置要求
- •Slack Bot Token 或 Webhook URL
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "97666a2e-e006-4dd4-bb52-844f67cf0f67",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
272,
624
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "57d266ad-fa73-4e7a-8630-200e6bdc0da0",
"name": "payload.email",
"type": "string",
"value": "={{ $json.payload.email }}"
},
{
"id": "01b92620-7ee3-4805-bee8-ac8a3e9971fd",
"name": "payload.questions_and_answers[0].answer",
"type": "string",
"value": "={{ $json.payload.questions_and_answers[0].answer }}"
},
{
"id": "3742a6c0-d214-4020-bab3-cdae2c7a297c",
"name": "payload.name",
"type": "string",
"value": "={{ $json.payload.name }}"
},
{
"id": "a195c86d-8f23-4787-8a44-15d9e15d2396",
"name": "payload.scheduled_event.start_time",
"type": "string",
"value": "={{ $json.payload.scheduled_event.start_time }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d0e2aff7-febd-4ccc-8a01-0ecbf86fc142",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
432,
864
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "4l6TDfLZVFS24g3X",
"name": "OpenAi account 4"
}
},
"typeVersion": 1.2
},
{
"id": "ec9e6d3d-e4ea-4500-82c0-a8d48a069f41",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
656,
832
],
"parameters": {
"jsonSchemaExample": "{\n\t\"email\": \"html email\",\n\t\"slack\": \"Slack Message\"\n}"
},
"typeVersion": 1.3
},
{
"id": "7ce1112f-7649-47f4-a9a2-5c829da7fd6c",
"name": "发送消息",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
848,
560
],
"webhookId": "2f801cc8-4cdf-4f29-a6af-a872d46cb7d7",
"parameters": {
"subject": "Calendly Details",
"bodyContent": "={{ $json.output.email }}",
"toRecipients": "={{ $('Edit Fields').item.json.payload.email }}",
"additionalFields": {
"bodyContentType": "html"
}
},
"credentials": {
"microsoftOutlookOAuth2Api": {
"id": "9z1nG9ReKLXU309r",
"name": "Microsoft Outlook account 4"
}
},
"typeVersion": 2
},
{
"id": "1f87bd9f-9127-4436-b6fe-1104dd47844c",
"name": "便签16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-272,
-320
],
"parameters": {
"width": 1680,
"content": "## 📬 需要帮助或想要自定义?"
},
"typeVersion": 1
},
{
"id": "75ddecca-3f1a-4e68-b1b4-c6d0b1a9288c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-272,
-128
],
"parameters": {
"color": 4,
"width": 1680,
"height": 1168,
"content": "### ⚙️ 分步设置说明"
},
"typeVersion": 1
},
{
"id": "af63afc3-8917-4399-a349-696a0477796d",
"name": "Calendly事件",
"type": "n8n-nodes-base.calendlyTrigger",
"position": [
32,
624
],
"webhookId": "30861dd4-1d11-4fe7-b7a5-764ed90390f7",
"parameters": {
"events": [
"invitee.created"
]
},
"credentials": {
"calendlyApi": {
"id": "CbZOvOQZrfqMlaAV",
"name": "Calendly account"
}
},
"typeVersion": 1
},
{
"id": "b1830f4e-27ae-465f-9e2b-2efaf38eba2f",
"name": "Slack消息",
"type": "n8n-nodes-base.slack",
"position": [
880,
768
],
"webhookId": "2cf50181-cf56-4b8f-9cec-4807fce00db4",
"parameters": {
"text": "={{ $('Email Generator').item.json.output.slack }}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "name",
"value": "#leads"
},
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"id": "xMo9MC2XXECx5Mqp",
"name": "Slack account 8"
}
},
"typeVersion": 2.3
},
{
"id": "74d9805a-97b7-4e86-ae50-b6a2af5b85be",
"name": "邮件生成器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
480,
624
],
"parameters": {
"text": "=Name: {{ $json.payload.name }} About: {{ $json.payload.questions_and_answers[0].answer }} Start Time: {{ $json.payload.scheduled_event.start_time }}",
"options": {
"systemMessage": "You are a helpful assistant. Write an email and a slack message notifying me that someone booked a calendly appt with me. Output the slack message in text. and the outlook message in html. \n\noutput like this. \n\n{\n\t\"email\": \"html email\",\n\t\"slack\": \"Slack Message\"\n}"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2.2
}
],
"pinData": {
"Calendly Event": [
{
"event": "invitee.created",
"payload": {
"uri": "https://api.calendly.com/scheduled_events/f283c53d-8fce-462d-8a51-6f15d4a1e7c0/invitees/7960259a-dd08-4d47-bedc-89158719358f",
"name": "Robert Breen",
"email": "robert.j.breen@gmail.com",
"event": "https://api.calendly.com/scheduled_events/f283c53d-8fce-462d-8a51-6f15d4a1e7c0",
"status": "active",
"no_show": null,
"payment": null,
"timezone": "America/New_York",
"tracking": {
"utm_term": null,
"utm_medium": null,
"utm_source": null,
"utm_content": null,
"utm_campaign": null,
"salesforce_uuid": null
},
"last_name": null,
"cancel_url": "https://calendly.com/cancellations/7960259a-dd08-4d47-bedc-89158719358f",
"created_at": "2025-08-11T14:20:12.656697Z",
"first_name": null,
"updated_at": "2025-08-11T14:20:12.656697Z",
"new_invitee": null,
"old_invitee": null,
"rescheduled": false,
"reconfirmation": null,
"reschedule_url": "https://calendly.com/reschedulings/7960259a-dd08-4d47-bedc-89158719358f",
"scheduled_event": {
"uri": "https://api.calendly.com/scheduled_events/f283c53d-8fce-462d-8a51-6f15d4a1e7c0",
"name": "30 Minute Meeting",
"status": "active",
"end_time": "2025-08-11T19:30:00.000000Z",
"location": {
"data": {
"id": 81095279315,
"extra": {
"intl_numbers_url": null
},
"password": "754637",
"settings": {
"global_dial_in_numbers": [
{
"type": "toll",
"number": "+1 305 224 1968",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 309 205 3325",
"country": "US",
"country_name": "US"
},
{
"city": "Chicago",
"type": "toll",
"number": "+1 312 626 6799",
"country": "US",
"country_name": "US"
},
{
"city": "New York",
"type": "toll",
"number": "+1 646 558 8656",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 646 931 3860",
"country": "US",
"country_name": "US"
},
{
"city": "Washington DC",
"type": "toll",
"number": "+1 301 715 8592",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 507 473 4847",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 564 217 2000",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 669 444 9171",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 689 278 1000",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 719 359 4580",
"country": "US",
"country_name": "US"
},
{
"city": "Denver",
"type": "toll",
"number": "+1 720 707 2699",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 253 205 0468",
"country": "US",
"country_name": "US"
},
{
"city": "Tacoma",
"type": "toll",
"number": "+1 253 215 8782",
"country": "US",
"country_name": "US"
},
{
"city": "Houston",
"type": "toll",
"number": "+1 346 248 7799",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 360 209 5623",
"country": "US",
"country_name": "US"
},
{
"type": "toll",
"number": "+1 386 347 5053",
"country": "US",
"country_name": "US"
}
]
}
},
"type": "zoom",
"status": "pushed",
"join_url": "https://us06web.zoom.us/j/81095279315?pwd=N4jKKlN0EF27yJHa9faMUk11I4Y8a8.1"
},
"created_at": "2025-08-11T14:20:12.635731Z",
"event_type": "https://api.calendly.com/event_types/442b1bfd-6d30-41cc-8504-5586d5a61f84",
"start_time": "2025-08-11T19:00:00.000000Z",
"updated_at": "2025-08-11T14:20:12.635731Z",
"event_guests": [],
"invitees_counter": {
"limit": 1,
"total": 1,
"active": 1
},
"event_memberships": [
{
"user": "https://api.calendly.com/users/9ee956f4-bad6-4cc9-b024-4d60580a8ce6",
"user_name": "Robert Breen",
"user_email": "rbreen@ynteractive.com"
}
],
"meeting_notes_html": null,
"meeting_notes_plain": null
},
"scheduling_method": null,
"invitee_scheduled_by": "https://api.calendly.com/users/9ee956f4-bad6-4cc9-b024-4d60580a8ce6",
"text_reminder_number": null,
"questions_and_answers": [
{
"answer": "need help with n8n",
"position": 0,
"question": "Please share anything that will help prepare for our meeting."
}
],
"routing_form_submission": null
},
"created_at": "2025-08-11T14:20:19.000000Z",
"created_by": "https://api.calendly.com/users/9ee956f4-bad6-4cc9-b024-4d60580a8ce6"
}
]
},
"connections": {
"Edit Fields": {
"main": [
[
{
"node": "Email Generator",
"type": "main",
"index": 0
}
]
]
},
"Calendly Event": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Send a message": {
"main": [
[]
]
},
"Email Generator": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
},
{
"node": "Slack Message",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Email Generator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Email Generator",
"type": "ai_outputParser",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 个人效率, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用GPT-4和Outlook为Calendly预约发送个性化跟进邮件
使用GPT-4和Outlook为Calendly预约发送个性化跟进邮件
Set
Agent
Calendly Trigger
+4
8 节点Robert Breen
客户培育
使用GPT-4o自动将Outlook邮件分类到颜色类别
使用GPT-4o自动将Outlook邮件分类到颜色类别
Set
Manual Trigger
Split In Batches
+5
13 节点Robert Breen
AI 摘要总结
播客笔记记录器
使用GPT和Gemini结合性能数据创建高转化率Meta广告脚本
Code
Filter
Aggregate
+5
11 节点Robert Breen
个人效率
基于 GPT-4o-mini、Outlook 邮件和 Twilio SMS 的 AI 网页表单回复器
集成 GPT-4o-mini、Outlook 邮件和 Twilio SMS 的 AI 网页表单自动回复系统
Wait
Twilio
Form Trigger
+5
10 节点Robert Breen
客户培育
博客内容多语言自动翻译
使用GPT-4o和Markdown自动将博客内容翻译为多种语言
Set
Merge
Split Out
+5
12 节点Robert Breen
内容创作
使用GPT-5 Nano多语言聊天机器人自动处理电商客户支持
使用GPT-5 Nano多语言聊天机器人自动处理电商客户支持
Set
Merge
Split Out
+6
13 节点Robert Breen
AI 聊天机器人
工作流信息
难度等级
中级
节点数量9
分类2
节点类型8
作者
Robert Breen
@rbreenProfessional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.
外部链接
在 n8n.io 查看 →
分享此工作流