客户反馈收集与分析器(表单 → AI 摘要 → 邮件 + 社交媒体草稿)
中级
这是一个Support, AI领域的自动化工作流,包含 6 个节点。主要使用 Webhook, Function, Telegram, EmailSend, HttpRequest 等节点,结合人工智能技术实现智能自动化。 客户反馈收集与分析器(表单 → AI 摘要 → 邮件 + 社交媒体草稿)
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "mW6b4dMHkIDfnaIj",
"meta": {
"instanceId": "7b7fd5f72a378d0859f4d1cf8dd3c226094df4777ef6aca192ac32e815fe212a",
"templateCredsSetupCompleted": true
},
"name": "My workflow 4",
"tags": [],
"nodes": [
{
"id": "9ae28c07-bb44-4e64-b38c-a74a9de81b2e",
"name": "Receive Feedback",
"type": "n8n-nodes-base.webhook",
"position": [
-440,
540
],
"webhookId": "89e8d5ec-d442-41ea-9ff1-93a9df0b2aa1",
"parameters": {
"path": "client-feedback",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 1
},
{
"id": "770bc041-1846-4ac1-b8dc-61756686f906",
"name": "Prepare AI Prompt",
"type": "n8n-nodes-base.function",
"position": [
-240,
540
],
"parameters": {
"functionCode": "\nconst feedback = $json.feedback || \"No feedback provided.\";\nreturn [{\n json: {\n prompt: `Analyze this client feedback: \"${feedback}\"\\n\\n1. Summarize the positive points.\\n2. Suggest improvements.\\n3. Generate a short social media post based on the positive elements.`\n }\n}];\n"
},
"typeVersion": 1
},
{
"id": "0b3a469a-f6f4-4140-9c6f-fd7ba7689c5e",
"name": "Analyze with AI",
"type": "n8n-nodes-base.httpRequest",
"position": [
-40,
540
],
"parameters": {
"url": "https://api.deepseek.com/generate",
"options": {},
"authentication": "predefinedCredentialType",
"jsonParameters": true
},
"typeVersion": 2
},
{
"id": "bdbf3a85-e68f-4fe3-b0b4-d44578d11c31",
"name": "Format AI Output",
"type": "n8n-nodes-base.function",
"position": [
160,
540
],
"parameters": {
"functionCode": "\nconst output = $json.response || $json.choices?.[0]?.text || \"No AI output.\";\nconst splitIndex = output.indexOf(\"3.\");\nlet summary = output;\nlet post = \"No post generated.\";\n\nif (splitIndex !== -1) {\n summary = output.substring(0, splitIndex).trim();\n post = output.substring(splitIndex).replace(/^3\\./, \"\").trim();\n}\n\nreturn [{\n json: {\n report: summary,\n post: post\n }\n}];\n"
},
"typeVersion": 1
},
{
"id": "47093d4d-645b-4dc8-a5a4-1b35a649ac97",
"name": "Send Feedback Report",
"type": "n8n-nodes-base.emailSend",
"position": [
380,
500
],
"parameters": {
"text": "={{ $json[\"report\"] }}",
"options": {},
"subject": "Client Feedback Summary",
"toEmail": "team@email.com",
"fromEmail": "your@email.com"
},
"typeVersion": 1
},
{
"id": "e49a4898-00d9-4413-ac6d-87aafdfe6ff9",
"name": "Send Social Draft",
"type": "n8n-nodes-base.telegram",
"position": [
380,
660
],
"webhookId": "07598764-aee9-41ea-82c1-0ded0ac08b57",
"parameters": {
"text": "={{ $json[\"post\"] }}",
"chatId": "YOUR_TELEGRAM_CHAT_ID",
"additionalFields": {}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "54d175ec-080f-4d2d-9d83-60dd36c8f11b",
"connections": {
"0b3a469a-f6f4-4140-9c6f-fd7ba7689c5e": {
"main": [
[
{
"node": "bdbf3a85-e68f-4fe3-b0b4-d44578d11c31",
"type": "main",
"index": 0
}
]
]
},
"bdbf3a85-e68f-4fe3-b0b4-d44578d11c31": {
"main": [
[
{
"node": "47093d4d-645b-4dc8-a5a4-1b35a649ac97",
"type": "main",
"index": 0
},
{
"node": "e49a4898-00d9-4413-ac6d-87aafdfe6ff9",
"type": "main",
"index": 0
}
]
]
},
"9ae28c07-bb44-4e64-b38c-a74a9de81b2e": {
"main": [
[
{
"node": "770bc041-1846-4ac1-b8dc-61756686f906",
"type": "main",
"index": 0
}
]
]
},
"770bc041-1846-4ac1-b8dc-61756686f906": {
"main": [
[
{
"node": "0b3a469a-f6f4-4140-9c6f-fd7ba7689c5e",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客户支持, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI邮件分诊与GPT-4警报系统及Telegram通知
AI邮件分诊与GPT-4警报系统及Telegram通知
If
Set
Gmail
+
If
Set
Gmail
104 节点Peter Joslyn
客户支持
高级预约预订AI助手
使用GPT-4、VAPI.ai和GHL自动化AI电话预订与CRM更新
If
Webhook
Email Send
+
If
Webhook
Email Send
23 节点Sam Yassine
客户支持
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
If
Set
Code
+
If
Set
Code
40 节点Immanuel
人工智能
高级聊天机器人+RAG代理
基于OpenAI、Google Sheets、Glide和Supabase的AI驱动RAG问答聊天机器人
Set
Webhook
Google Drive
+
Set
Webhook
Google Drive
34 节点Sam Yassine
客户支持
使用Mintlify文档和Zendesk AI代理自动处理客户支持
使用Mintlify文档和Zendesk AI代理自动处理客户支持
Code
Switch
Webhook
+
Code
Switch
Webhook
32 节点Alex Gurinovich
客户支持
使用 RetellAI 构建电话代理用于外呼潜在客户资格认证和呼入电话处理 -视频
使用 RetellAI 电话代理、OpenAI GPT-4 和 Google Sheets 自动进行潜在客户资格认定
If
Wait
Gmail
+
If
Wait
Gmail
18 节点Dr. Firas
销售