AI邮件分诊与GPT-4警报系统及Telegram通知
高级
这是一个Support, AI, IT Ops领域的自动化工作流,包含 104 个节点。主要使用 If, Set, Gmail, Switch, Webhook 等节点,结合人工智能技术实现智能自动化。 AI邮件分诊与GPT-4警报系统及Telegram通知
前置要求
- •Google 账号和 Gmail API 凭证
- •HTTP Webhook 端点(n8n 会自动生成)
- •Airtable API Key
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
- •Google Gemini API Key
- •PostgreSQL 数据库连接信息
使用的节点 (104)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "57d646730df815579d1588ae25619502348e47cc8216fc4ce1e6ec474fffe025",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "8cc3e6c4-0941-4420-ba54-b485cae10314",
"name": "添加标签(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to add a label to an email. Requires message ID and label ID.",
"position": [
600,
2460
],
"webhookId": "51594c94-c5ce-41e0-9a00-e4070d20abaf",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "5fa02fbf-5c96-4770-abd6-809ee9fa5e8c",
"name": "标记为未读(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to mark an email as unread. Requires message ID.",
"position": [
760,
2460
],
"webhookId": "f52eb091-cbba-4cf6-b904-eff4649061b2",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "7845f03b-62c3-4a1c-9904-9c9bae60a1fc",
"name": "Telegram 触发器",
"type": "n8n-nodes-base.telegramTrigger",
"notes": "Triggers the workflow when a message is received on Telegram. Requires Telegram Bot API credentials.",
"position": [
-1000,
2380
],
"webhookId": "db48f750-18de-4383-a7b9-19efa88dfc7c",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "b43d32c1-6eb3-437a-a737-395d81e9b7ae",
"name": "在 Telegram 上回复",
"type": "n8n-nodes-base.telegram",
"notes": "Sends the final response back to the user on Telegram.",
"onError": "continueErrorOutput",
"position": [
1600,
2220
],
"webhookId": "7d5a1e3b-c4aa-446d-af80-112ce3a7a980",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "b1e29364-4766-40fa-a871-41619aff4fed",
"name": "移除标签(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to remove a label from an email. Requires message ID and label ID.",
"position": [
920,
2460
],
"webhookId": "282a4856-995c-4708-82f2-6cc8fbce4fd6",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "50dae1ef-1aa1-4064-a289-7bfb0d501dd8",
"name": "删除邮件(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to delete an email. Requires message ID.",
"position": [
440,
2620
],
"webhookId": "e4945e67-be6b-4bb6-a5ca-1b22987a9f62",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "1d54c418-452f-4dae-a6e1-63f81ce11b97",
"name": "标记为已读(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to mark an email as read. Requires message ID.",
"position": [
600,
2620
],
"webhookId": "9065449f-6809-45b5-875e-db259eb65a39",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "36a8d5d1-c670-464b-ba1a-d718a72f84df",
"name": "聚合输入",
"type": "n8n-nodes-base.aggregate",
"position": [
-560,
2380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "24cebb27-9fd0-43c5-92b7-1e8d3b426aa5",
"name": "是Telegram?",
"type": "n8n-nodes-base.if",
"position": [
1160,
2320
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "7692d5ff-42c7-4fc3-b3dd-1851b468a388",
"name": "设置 Webhook 响应",
"type": "n8n-nodes-base.set",
"position": [
1380,
2400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "d13cf6bb-eb91-4c3b-84e2-f5798396f8a3",
"name": "设置 Telegram 响应",
"type": "n8n-nodes-base.set",
"position": [
1380,
2220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2a36756a-e127-412a-be32-862a730002fe",
"name": "请求完成",
"type": "n8n-nodes-base.noOp",
"position": [
1820,
2120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "06c90a5c-9ca4-4bb2-b461-18e412343d6e",
"name": "工作流错误",
"type": "n8n-nodes-base.stopAndError",
"position": [
2040,
2320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "08a11219-f0af-4a40-91bb-5aec30002916",
"name": "返回错误响应",
"type": "n8n-nodes-base.telegram",
"notes": "Sends an error message back to a specific Telegram chat.",
"onError": "continueRegularOutput",
"position": [
1820,
2320
],
"webhookId": "0b4e00ab-163d-430c-b04b-fc3b6b43432e",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "af176a7d-46ed-4bf5-90e6-d3e54fdc5951",
"name": "代理错误处理程序",
"type": "n8n-nodes-base.stopAndError",
"position": [
1220,
2640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5c305f9c-43f7-4920-85cf-faa1fae0b855",
"name": "Google Gemini(全能分类器)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used for email classification.",
"position": [
-680,
1560
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "c98d289e-72ad-4055-b255-2b46c814b23b",
"name": "新邮件",
"type": "n8n-nodes-base.gmailTrigger",
"notes": "Triggers the workflow when a new email is received.",
"position": [
-1440,
1340
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "b7a56fc9-12cb-40f1-ada7-4891cd596062",
"name": "设置邮件详情",
"type": "n8n-nodes-base.set",
"position": [
-1220,
1340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a706b8bd-dbbf-4a93-a436-a22d9bdf586f",
"name": "添加促销标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Promotions' label to the email.",
"position": [
-400,
40
],
"webhookId": "001189b6-6432-410c-9bf2-6e0fcd65ca06",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "f1ee997e-a435-46e1-a26d-0d166cc6083b",
"name": "添加机会标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Opportunity' label to the email.\n*You need to create a Gmail label named 'Label_1' or change the ID here.*",
"position": [
-360,
1220
],
"webhookId": "c6355748-17a6-4b48-9d9d-2b04cb007ee2",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "9e5984e5-50f1-4f3f-af94-d92d3b195108",
"name": "添加需处理标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Action Required' label to the email.\n*You need to create a Gmail label named 'Label_FOR_ACTIONREQUIRED' or change the ID here.*",
"position": [
-360,
1620
],
"webhookId": "38eef7a5-cd0a-4b13-a3bb-636e4fe1e216",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "ed78a2f7-578f-4bb7-9a43-e6e09621742d",
"name": "添加运营管理标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Operations Admin' label to the email.\n*You need to create a Gmail label named 'Label_FOR_OPERATIONSADMIN' or change the ID here.*",
"position": [
-360,
1020
],
"webhookId": "dc89d3fd-e5d3-4849-b8b5-72ffae13c687",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "d80f6beb-adb1-4545-a018-cad9705f782c",
"name": "添加社交标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Social' label to the email.",
"position": [
-380,
340
],
"webhookId": "f0e11409-09c0-4d16-98e9-03cf211c6b56",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "891a2595-bce7-43d1-8920-99a1062a3a56",
"name": "添加新闻通讯标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Newsletter' label to the email.\n*You need to create a Gmail label named 'Label_2' or change the ID here.*",
"position": [
-380,
640
],
"webhookId": "1e9ed452-54ab-458f-a150-8c573a486502",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "bcd42c0c-97c4-41b2-9311-35e948e1cb34",
"name": "添加噪音/垃圾邮件标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Noise/Spam' label to the email.\n*You need to create a Gmail label named 'Label_FOR_NOISESPAM' or change the ID here.*",
"position": [
-400,
-260
],
"webhookId": "666db1e6-c1d0-4ed1-8021-a9d5a0d26daf",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "54bdaada-bf48-43d0-928d-0b061348fa2a",
"name": "添加未分类标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Uncategorized' label to the email.\n*You need to create a Gmail label named 'Label_FOR_UNCATEGORIZED' or change the ID here.*",
"position": [
-360,
1840
],
"webhookId": "ac0803a6-b6cc-459d-be7e-94f56c20ddf1",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "b2115151-c82e-43d1-b12c-c6041c6aa369",
"name": "添加客户标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Clients' label to the email.\n*You need to create a Gmail label named 'Label_FOR_CLIENTS' or change the ID here.*",
"position": [
-360,
1420
],
"webhookId": "9721853a-700a-4e7d-9868-e6887cb757db",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "f4d4cbe0-de80-4d75-811f-ac41a29ab73f",
"name": "Google Gemini(升级处理)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used to determine if human intervention is needed.",
"position": [
940,
1340
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "56d9e5d9-67be-4d20-a7b7-9468ea1fee38",
"name": "升级输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1260,
1360
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "dee5ca9d-b9cf-4359-a7e0-578b5f100e9f",
"name": "人工干预检查",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1000,
1040
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "1efe2d4c-a2ee-41da-93c4-6c4bd4dd1807",
"name": "Google Gemini(优先级)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used for email priority checking.",
"position": [
-40,
1800
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "a76230ea-804a-4c9b-9858-27317bb127d8",
"name": "优先级检查",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-60,
1440
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "f964d54b-a4cb-427d-bbf3-f2c804e2001c",
"name": "优先级输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
360,
1820
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "0f196e20-f1d2-4216-b81a-b84f07537833",
"name": "OpenAI 聊天模型(摘要)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"notes": "AI Model used to generate context and summary for high-priority emails.",
"position": [
1640,
1320
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "2ccc6d11-5145-4a5a-8b91-0e69a4e57c95",
"name": "摘要输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1940,
1340
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "00f5a282-16a2-4949-bae8-41be4846ea22",
"name": "上下文与摘要代理",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1680,
1040
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "ab90b254-9b2d-413b-a426-0bf7ccbb2664",
"name": "发送优先级提醒",
"type": "n8n-nodes-base.telegram",
"notes": "Sends a formatted high-priority alert message to a specific Telegram chat.",
"position": [
2140,
1200
],
"webhookId": "7bf9a55c-de15-4cb2-8406-523f79dd7a94",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "14f3fcdd-9908-4338-9476-00a4263afce9",
"name": "自动修复新闻通讯解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
240,
800
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a9cde5ea-750f-4a41-b9a2-8f250f36ce76",
"name": "新闻通讯输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
60,
780
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "29d537c2-3a61-4c36-8028-13cb85a1bd1c",
"name": "Google Gemini(新闻通讯)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used for newsletter summarization.",
"position": [
-140,
800
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "a5a871ec-2353-4c92-bb66-8995f4d06e67",
"name": "新闻通讯摘要器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
280,
640
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "879d6608-1eed-4a9a-a6c0-da8b79aabb20",
"name": "优先级自动修复解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
80,
1640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f4a65096-4b7f-4bbb-8321-b7e83991460f",
"name": "升级自动修复解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
1080,
1220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d77a64af-c083-4183-96af-9a02bc4e7d5e",
"name": "摘要自动修复解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
1760,
1220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dcb8e154-7459-4579-b7ab-dedabf984b93",
"name": "优先级切换",
"type": "n8n-nodes-base.switch",
"position": [
300,
1440
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "ab0b5ab3-add6-4ca2-b848-7c76963e56e9",
"name": "添加高优先级标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'High Priority' label.\n*You need to create a Gmail label named 'Label_3' or change the ID here.*",
"position": [
720,
1180
],
"webhookId": "a05ae459-6b25-4399-a363-93bef504499f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "01fd8bbf-ee06-45a8-b28e-cb1d96dc0325",
"name": "添加中优先级标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Medium Priority' label.\n*You need to create a Gmail label named 'Label_4' or change the ID here.*",
"position": [
700,
1680
],
"webhookId": "a31b6d81-52cb-46fe-be2d-bd8f55c5a801",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "b12d7e4d-355a-4db5-aabb-0a36232c4e9b",
"name": "添加低优先级标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Low Priority' label.\n*You need to create a Gmail label named 'Label_5' or change the ID here.*",
"position": [
700,
1860
],
"webhookId": "a315fa6e-ebdd-467c-a4fe-ea0c71657623",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "caa19a1a-249d-407a-8ca0-6ed0cf197e52",
"name": "添加处理中标签",
"type": "n8n-nodes-base.gmail",
"notes": "Applies a temporary label to indicate the email is being processed.\n*You need to create a Gmail label named 'Label_6' or change the ID here.*",
"position": [
-1000,
1340
],
"webhookId": "fb545040-2b92-4f77-bfb4-beea781902a9",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "61d2e0a1-9d5a-4b3a-a31d-7080308b61b9",
"name": "需要提醒?",
"type": "n8n-nodes-base.if",
"position": [
1460,
1200
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "668757d0-aa84-46c8-99e1-e5bdfd79c13b",
"name": "移除处理中(噪音/垃圾邮件)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
-80,
-260
],
"webhookId": "f547002f-08f8-4615-be30-89e061149803",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "c198fda5-34a9-4559-a30a-41c5e3c1fa7f",
"name": "发送摘要到 Telegram",
"type": "n8n-nodes-base.telegram",
"notes": "Sends the context and summary of a high-priority email to a specific Telegram chat.",
"position": [
1560,
640
],
"webhookId": "74864bf7-70a5-4310-b000-9fef7d2c2c69",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "4857593c-aeb9-40d1-b4f0-663514a44531",
"name": "全能分类器",
"type": "@n8n/n8n-nodes-langchain.textClassifier",
"notes": "Classifies the email into one of the predefined categories.",
"position": [
-780,
1340
],
"parameters": {},
"executeOnce": true,
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "7d326dfa-93b2-48df-80bc-2dedbdd0fc88",
"name": "移除处理中(促销)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
-80,
40
],
"webhookId": "3d51bbfb-c9e8-4204-b0ac-b30c00f45c56",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "c4607243-3b3b-4517-8814-ce3ed2d25360",
"name": "移除处理中(社交)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
-60,
340
],
"webhookId": "40c1e317-a509-4901-bbb4-50be9d5e4123",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "efe336ba-94d2-45cd-b777-46efe1c8f76f",
"name": "移除处理中(新闻通讯)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
660,
640
],
"webhookId": "4ad84580-173f-429e-8c97-c6cb987cc762",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "157f194a-3e38-40b3-a107-69d7ee6ee3b4",
"name": "添加已处理标签(新闻通讯)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
1000,
640
],
"webhookId": "eab51593-9add-473c-8197-21c07ec5e1e7",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "6af9a427-7597-4d7e-9f2c-39b70d6ed9b7",
"name": "添加已处理标签(社交)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
280,
340
],
"webhookId": "a8434d0d-136d-4b5b-b396-21b7225b5336",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "2180bf43-e06b-46d4-b9a4-8518e199a2d4",
"name": "添加已处理标签(促销)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
280,
40
],
"webhookId": "fb63b534-257f-47a2-80c0-4f4341ea4118",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "4041520c-bda7-4b1b-9536-61c2530263c7",
"name": "添加已处理标签(噪音/垃圾邮件)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
220,
-260
],
"webhookId": "8496d54f-45ff-4941-a09d-cced0cd9da4a",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "30b51729-e089-4150-9240-79eb462feb7f",
"name": "删除噪音/垃圾邮件",
"type": "n8n-nodes-base.gmail",
"notes": "Permanently deletes emails classified as Noise/Spam.",
"position": [
700,
-260
],
"webhookId": "0f011493-df77-4305-90db-8e67b6d24a96",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "e6fc2d1a-2b4a-43f7-95f3-5550e46cf2bb",
"name": "基础LLM链",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-140,
640
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "50aef6bb-4caf-4380-8c65-e29870b211c1",
"name": "移除处理中标签(中/低优先级)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
1400,
1760
],
"webhookId": "de3c1493-617f-45db-9e7f-71773aefc8a7",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "445c9b7f-7929-4ad1-8b5b-a6db46765fcc",
"name": "添加已处理标签(中/低优先级)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
1080,
1760
],
"webhookId": "39a8f534-7ba1-405f-88c3-5c0a3c9137ff",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "133fed4a-750f-4eb5-ae2a-e39048d3314a",
"name": "移除处理中标签(高优先级)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
2580,
1200
],
"webhookId": "f16b8f30-810b-45bb-8309-61dff344ef4b",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "c4738b02-ecb1-48c3-a8cc-f017a1579172",
"name": "添加已处理标签(高优先级)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
2360,
1200
],
"webhookId": "57374300-9f28-4dc8-9654-5e78b8e8d08c",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "a090c275-f6fa-4f81-b353-e58b36a95acc",
"name": "噪音/垃圾邮件后合并",
"type": "n8n-nodes-base.noOp",
"position": [
980,
-260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d0951d62-93fc-4bf2-b8d2-8df663a8cb81",
"name": "促销后合并",
"type": "n8n-nodes-base.noOp",
"position": [
620,
40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0340dc1a-4222-4328-af11-8e1e66146fd8",
"name": "社交后合并",
"type": "n8n-nodes-base.noOp",
"position": [
620,
340
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b0c1feae-9307-4a3e-8e8c-98cc9c2cd073",
"name": "新闻通讯后合并",
"type": "n8n-nodes-base.noOp",
"position": [
1900,
640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ac4758b-2a1e-4da1-bb75-6b1e63c55273",
"name": "高优先级后合并",
"type": "n8n-nodes-base.noOp",
"position": [
2800,
1200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9d5a5a45-1d45-4916-b6c6-0e974696344c",
"name": "中/低优先级后合并",
"type": "n8n-nodes-base.noOp",
"position": [
1660,
1760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "82af8343-d247-4fdf-8664-b10d3e9f0aab",
"name": "OpenAI 聊天模型(代理)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"notes": "Primary AI Chat Model used by the Ultimate Email Agent.",
"position": [
-80,
2460
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "b65fbbc3-7a82-424a-b2a0-edb3c28e4230",
"name": "Webhook 触发器",
"type": "n8n-nodes-base.webhook",
"notes": "Triggers the workflow via a webhook URL. Useful for integrating with other services.",
"position": [
-1000,
2180
],
"webhookId": "c559d636-d532-4575-8df5-b4cf220190c0",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2
},
{
"id": "dfb94d26-e435-4bfe-9a8e-be45d6b1aa36",
"name": "设置 Webhook 请求",
"type": "n8n-nodes-base.set",
"position": [
-780,
2180
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "88437f49-9e3d-4698-9055-c29d9ede543c",
"name": "工作流触发器",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"notes": "Triggers the workflow from another workflow.",
"position": [
-1000,
2580
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.1
},
{
"id": "38c14be8-860f-4127-b937-94970ee16a8f",
"name": "设置 Telegram 请求",
"type": "n8n-nodes-base.set",
"position": [
-780,
2380
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c60584a9-99fe-466a-9e38-93fcfd37b35e",
"name": "设置工作流请求",
"type": "n8n-nodes-base.set",
"position": [
-780,
2580
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f1a2d628-7bf8-40d7-9190-169f088d1747",
"name": "Postgres 记忆",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"notes": "Stores chat history for the AI Agent to maintain context.",
"position": [
-80,
2620
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.3
},
{
"id": "6a49e6e5-92e0-48d5-8993-2e2235f59c2d",
"name": "工作流备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1080,
2060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8ea3a497-b2a4-4ac3-a431-8d53a17676b5",
"name": "设置代理输入",
"type": "n8n-nodes-base.set",
"notes": "Prepares the input data structure for the AI Agent.",
"position": [
-340,
2380
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "b7b53e20-0444-44f7-9697-e93bd7fdf1a5",
"name": "AI 代理部分",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
2060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "13d0c794-587b-421a-8f2f-11565269f77f",
"name": "响应与错误部分",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
2060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8febce31-7068-4097-9688-b636e93d0488",
"name": "错误处理详情",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
2580
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "71a7cf77-5acd-476f-b7d5-f271964a29dc",
"name": "邮件接收备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1520,
1240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "89ac10f4-7e53-4172-aa27-774d040c2850",
"name": "噪音/垃圾邮件处理备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "122fd89d-5c43-419a-b5a1-92cd9ba496f1",
"name": "促销处理备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "82c0a24f-eb40-46c7-975c-4d65fedacfd7",
"name": "社交处理备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "14d56f8c-edbb-4397-9bc7-5a539fc0099c",
"name": "新闻通讯处理备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "02ada1d4-8581-4d3b-9d11-74b07c9eb605",
"name": "添加摘要到 Airtable",
"type": "n8n-nodes-base.airtable",
"notes": "Logs newsletter summaries to a specified Airtable base and table.",
"position": [
1220,
640
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "2f3ba673-406b-454e-99e2-ace258abb1b0",
"name": "优先级分类备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
580,
1560
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d6d086e4-f5c4-4add-ae55-f5936668dbd1",
"name": "邮件分类备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b353ff8e-6e4e-43e2-8191-92d9e69ba7e2",
"name": "高优先级处理备注",
"type": "n8n-nodes-base.stickyNote",
"position": [
580,
900
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "61e4219d-577a-496d-a24f-c4b779f6b33e",
"name": "调用子工作流",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"notes": "Allows the AI Agent to trigger another workflow, likely for sending messages or handling complex tasks.",
"position": [
920,
2620
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.2
},
{
"id": "bc5d0518-ccd1-41e1-b67a-3e5ec27a1075",
"name": "创建草稿(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to create a draft email. Requires recipient, subject, and HTML message body.",
"position": [
120,
2460
],
"webhookId": "d13b7c73-3ccb-470c-a877-002b056c39db",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "5258365d-08a7-43c9-8889-16a97ebe88c3",
"name": "发送邮件(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to send an email. Requires recipient, subject, and HTML message body.",
"position": [
120,
2620
],
"webhookId": "cdac55d9-893c-47db-8472-aebf82682a1b",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "e21c69ce-99ce-47e8-99e9-d6bb166a9f0c",
"name": "获取邮件(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to fetch emails. Can specify limit and simplify output.",
"position": [
280,
2620
],
"webhookId": "25a5b5b4-f725-4f61-be3d-76a4ff6d8d1b",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "70cc1f33-9596-49de-b791-6f667160554e",
"name": "邮件回复(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to reply to an email. Requires the original message ID and the reply message body.",
"position": [
280,
2460
],
"webhookId": "9e87fb42-b0b1-4d38-b9f5-5536edf71b5f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "49e5c216-cc92-4c12-b7ea-ec466e0ec48a",
"name": "获取标签(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to fetch available Gmail labels. Essential for labeling operations.",
"position": [
440,
2460
],
"webhookId": "e301b1e7-9fb9-4e92-8866-b5375fdf40e8",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "ef4d4bfc-b003-4f8d-8f99-d78b8860116c",
"name": "添加标签(工具)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to add a label to an email. Requires message ID and label ID.",
"position": [
760,
2620
],
"webhookId": "079724e8-6300-4bd9-a079-c9c80242708f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "df4c49cb-1211-41bf-972a-ef62560f163b",
"name": "主邮件协调器",
"type": "@n8n/n8n-nodes-langchain.agent",
"notes": "The core AI Agent that processes requests and orchestrates email actions using defined tools.",
"onError": "continueErrorOutput",
"position": [
360,
2240
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.6
},
{
"id": "bfd9e858-3354-4f43-850d-651258fd1cb3",
"name": "取消订阅",
"type": "n8n-nodes-base.httpRequest",
"position": [
440,
-260
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "6e168d4e-750b-4f59-b995-44527e5c681c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-420,
920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "185b8e80-5e10-4396-bdca-337e19c30b08",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
960
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"New Email": {
"main": [
[
{
"node": "Set Email Details",
"type": "main",
"index": 0
}
]
]
},
"IsTelegram?": {
"main": [
[
{
"node": "Set Telegram Response",
"type": "main",
"index": 0
}
],
[
{
"node": "Set Webhook Response",
"type": "main",
"index": 0
}
]
]
},
"Unsubscribe": {
"main": [
[
{
"node": "Delete Noise/Spam Email",
"type": "main",
"index": 0
}
]
]
},
"OmniClassifier": {
"main": [
[
{
"node": "Add Noise/Spam Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Promotional Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Social Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Newsletter Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Operations Admin Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Opportunity Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Client Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Action Required Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Uncategorized Label",
"type": "main",
"index": 0
}
]
]
},
"Priority Check": {
"main": [
[
{
"node": "Priority Switch",
"type": "main",
"index": 0
}
]
]
},
"Aggregate Input": {
"main": [
[
{
"node": "Set Agent Input",
"type": "main",
"index": 0
}
]
]
},
"Alert Required?": {
"main": [
[
{
"node": "Context & Summary Agent",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Processed Label (High)",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Newsletter Summarizer",
"type": "main",
"index": 0
}
]
]
},
"Postgres Memory": {
"ai_memory": [
[
{
"node": "Master Email Coordinator",
"type": "ai_memory",
"index": 0
}
]
]
},
"Priority Switch": {
"main": [
[
{
"node": "Add High Priority Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Medium Priority Label",
"type": "main",
"index": 0
}
],
[
{
"node": "Add Low Priority Label",
"type": "main",
"index": 0
}
]
]
},
"Set Agent Input": {
"main": [
[
{
"node": "Master Email Coordinator",
"type": "main",
"index": 0
}
]
]
},
"Webhook Trigger": {
"main": [
[
{
"node": "Set Webhook Request",
"type": "main",
"index": 0
}
]
]
},
"Add Client Label": {
"main": [
[
{
"node": "Priority Check",
"type": "main",
"index": 0
}
]
]
},
"Add Label (TooI)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Add Label (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Add Social Label": {
"main": [
[
{
"node": "Remove Processing (Social)",
"type": "main",
"index": 0
}
]
]
},
"Mark Read (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Set Telegram Request",
"type": "main",
"index": 0
}
]
]
},
"Workflow Trigger": {
"main": [
[
{
"node": "Set Workflow Request",
"type": "main",
"index": 0
}
]
]
},
"Call Sub-Workflow": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Emails (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Labels (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Send Email (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Set Email Details": {
"main": [
[
{
"node": "Add Processing Label",
"type": "main",
"index": 0
}
]
]
},
"Email Reply (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Mark Unread (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Respond with Error": {
"main": [
[
{
"node": "Workflow Error",
"type": "main",
"index": 0
}
]
]
},
"Delete Email (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Remove Label (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Respond on Telegram": {
"main": [
[
{
"node": "Request Complete",
"type": "main",
"index": 0
},
{
"node": "Respond with Error",
"type": "main",
"index": 0
}
]
]
},
"Send Priority Alert": {
"main": [
[
{
"node": "Add Processed Label (High)",
"type": "main",
"index": 0
}
]
]
},
"Set Webhook Request": {
"main": [
[
{
"node": "Aggregate Input",
"type": "main",
"index": 0
}
]
]
},
"Add Newsletter Label": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Add Noise/Spam Label": {
"main": [
[
{
"node": "Remove Processing (Noise/Spam)",
"type": "main",
"index": 0
}
]
]
},
"Add Processing Label": {
"main": [
[
{
"node": "OmniClassifier",
"type": "main",
"index": 0
}
]
]
},
"Create Draft (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Set Telegram Request": {
"main": [
[
{
"node": "Aggregate Input",
"type": "main",
"index": 0
}
]
]
},
"Set Workflow Request": {
"main": [
[
{
"node": "Aggregate Input",
"type": "main",
"index": 0
}
]
]
},
"Add Opportunity Label": {
"main": [
[
{
"node": "Priority Check",
"type": "main",
"index": 0
}
]
]
},
"Add Promotional Label": {
"main": [
[
{
"node": "Remove Processing (Promotional)",
"type": "main",
"index": 0
}
]
]
},
"Newsletter Summarizer": {
"main": [
[
{
"node": "Remove Processing (Newsletter)",
"type": "main",
"index": 0
}
]
]
},
"Set Telegram Response": {
"main": [
[
{
"node": "Respond on Telegram",
"type": "main",
"index": 0
}
]
]
},
"Summary Output Parser": {
"ai_outputParser": [
[
{
"node": "Summary Autofixing Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Add Low Priority Label": {
"main": [
[
{
"node": "Add Processed Label (Medium/Low)",
"type": "main",
"index": 0
}
]
]
},
"Priority Output Parser": {
"ai_outputParser": [
[
{
"node": "Priority Autofixing Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Add High Priority Label": {
"main": [
[
{
"node": "Human Intervention Check",
"type": "main",
"index": 0
}
]
]
},
"Add Summary to Airtable": {
"main": [
[
{
"node": "Send Summary to Telegram",
"type": "main",
"index": 0
}
]
]
},
"Add Uncategorized Label": {
"main": [
[
{
"node": "Priority Check",
"type": "main",
"index": 0
}
]
]
},
"Context & Summary Agent": {
"main": [
[
{
"node": "Send Priority Alert",
"type": "main",
"index": 0
}
]
]
},
"Delete Noise/Spam Email": {
"main": [
[
{
"node": "Merge After Noise/Spam",
"type": "main",
"index": 0
}
]
]
},
"Escalation Output Parser": {
"ai_outputParser": [
[
{
"node": "Escalate Autofixing Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini (Priority)": {
"ai_languageModel": [
[
{
"node": "Priority Autofixing Parser",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Priority Check",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Human Intervention Check": {
"main": [
[
{
"node": "Alert Required?",
"type": "main",
"index": 0
}
]
]
},
"Master Email Coordinator": {
"main": [
[
{
"node": "IsTelegram?",
"type": "main",
"index": 0
}
],
[
{
"node": "Agent Error Handler",
"type": "main",
"index": 0
}
]
]
},
"Newsletter Output Parser": {
"ai_outputParser": [
[
{
"node": "Auto-fixing Newsletter Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Send Summary to Telegram": {
"main": [
[
{
"node": "Merge After Newsletters",
"type": "main",
"index": 0
}
]
]
},
"Add Action Required Label": {
"main": [
[
{
"node": "Priority Check",
"type": "main",
"index": 0
}
]
]
},
"Add Medium Priority Label": {
"main": [
[
{
"node": "Add Processed Label (Medium/Low)",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model (Agent)": {
"ai_languageModel": [
[
{
"node": "Master Email Coordinator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Summary Autofixing Parser": {
"ai_outputParser": [
[
{
"node": "Context & Summary Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Add Operations Admin Label": {
"main": [
[
{
"node": "Priority Check",
"type": "main",
"index": 0
}
]
]
},
"Add Processed Label (High)": {
"main": [
[
{
"node": "Remove Processing Label (High)",
"type": "main",
"index": 0
}
]
]
},
"Escalate Autofixing Parser": {
"ai_outputParser": [
[
{
"node": "Human Intervention Check",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini (Escalation)": {
"ai_languageModel": [
[
{
"node": "Human Intervention Check",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Escalate Autofixing Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Gemini (Newsletter)": {
"ai_languageModel": [
[
{
"node": "Newsletter Summarizer",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Auto-fixing Newsletter Parser",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Priority Autofixing Parser": {
"ai_outputParser": [
[
{
"node": "Priority Check",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Remove Processing (Social)": {
"main": [
[
{
"node": "Add Processed Label (Social)",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model (Summary)": {
"ai_languageModel": [
[
{
"node": "Context & Summary Agent",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Summary Autofixing Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Add Processed Label (Social)": {
"main": [
[
{
"node": "Merge After Social",
"type": "main",
"index": 0
}
]
]
},
"Auto-fixing Newsletter Parser": {
"ai_outputParser": [
[
{
"node": "Newsletter Summarizer",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini (OmniClassifier)": {
"ai_languageModel": [
[
{
"node": "OmniClassifier",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Remove Processing (Newsletter)": {
"main": [
[
{
"node": "Add Processed Label (Newsletter)",
"type": "main",
"index": 0
}
]
]
},
"Remove Processing (Noise/Spam)": {
"main": [
[
{
"node": "Add Processed Label (Noise/Spam)",
"type": "main",
"index": 0
}
]
]
},
"Remove Processing Label (High)": {
"main": [
[
{
"node": "Merge After High Priority",
"type": "main",
"index": 0
}
]
]
},
"Remove Processing (Promotional)": {
"main": [
[
{
"node": "Add Processed Label (Promotional)",
"type": "main",
"index": 0
}
]
]
},
"Add Processed Label (Medium/Low)": {
"main": [
[
{
"node": "Remove Processing Label (Medium/Low)",
"type": "main",
"index": 0
}
]
]
},
"Add Processed Label (Newsletter)": {
"main": [
[
{
"node": "Add Summary to Airtable",
"type": "main",
"index": 0
}
]
]
},
"Add Processed Label (Noise/Spam)": {
"main": [
[
{
"node": "Unsubscribe",
"type": "main",
"index": 0
}
]
]
},
"Add Processed Label (Promotional)": {
"main": [
[
{
"node": "Merge After Promotions",
"type": "main",
"index": 0
}
]
]
},
"Remove Processing Label (Medium/Low)": {
"main": [
[
{
"node": "Merge After Medium/Low Priority",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 客户支持, 人工智能, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
宠物店 4
🐶 宠物店预约 AI 代理
If
Set
Code
+41
187 节点Bruno Dias
人工智能
基于 GPT、LangChain 和智能路由的 AI 驱动客户服务自动化
AI驱动客户服务自动化,基于GPT、LangChain和智能路由
Set
Gmail
Merge
+19
46 节点Paul
客户支持
牙科预约
AI驱动的牙科预约系统,集成Telegram、Google日历和表格
If
Set
Switch
+18
53 节点Aziz B
LinkedIn和X病毒内容自动引擎
使用AI生成和发布自动创建LinkedIn和X的病毒内容
If
Set
Wait
+26
156 节点Diptamoy Barman
内容创作
交付汉堡店MVP
🤖 餐厅与配送自动化的 AI 驱动 WhatsApp 助手
If
Set
Code
+37
152 节点Bruno Dias