WhatsApp群组摘要器 - 使用Evolution API
高级
这是一个AI领域的自动化工作流,包含 22 个节点。主要使用 If, Set, Code, Webhook, Aggregate 等节点,结合人工智能技术实现智能自动化。 💬 每日WhatsApp群组摘要 - 集成GPT-4o、Google表格和Evolution API
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •OpenAI API Key
使用的节点 (22)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "SDubQGkprqjYerIE",
"meta": {
"instanceId": "6a52f06a38696cfa8d3a5b70f84891fab02c428a5c2d448dcef39b1f17adf12b"
},
"name": "WhatsApp群组摘要器 - 使用Evolution API",
"tags": [],
"nodes": [
{
"id": "4181c863-ec89-4618-b286-4f76702ac33d",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-520,
1420
],
"webhookId": "64d33e69-8724-4bcc-a702-db77752efd31",
"parameters": {},
"typeVersion": 2
},
{
"id": "bd867f34-4666-4189-aeca-9213663caff5",
"name": "添加",
"type": "n8n-nodes-base.aggregate",
"position": [
-640,
1080
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1d5e1d72-12cf-4e0a-a25d-c6f6cca41e8d",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "674f9181-fb31-42ef-8856-b6e423850e30",
"name": "Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
80,
1080
],
"parameters": {},
"typeVersion": 3
},
{
"id": "971edbc7-547e-4477-aede-212852925446",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1200,
920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1abec1e4-e854-46f0-8752-903dbca41058",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-980,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d4715aa9-993a-4dcc-83f6-f6764d1b5d0c",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1200,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "87695d19-c4f3-4d80-b663-dec63bae91f8",
"name": "晚上11点开始",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1140,
1080
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "cdb192a5-2ff8-4aae-903c-93b0742924af",
"name": "定义群组",
"type": "n8n-nodes-base.set",
"position": [
-960,
1080
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ebf0fae4-8059-48b5-8dcc-cb0b1e32bcf6",
"name": "便签 9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "189460b4-1574-4a28-8b12-8fff4a068da6",
"name": "查看对话 + 过滤",
"type": "n8n-nodes-base.googleSheets",
"position": [
-780,
1080
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "6d08f36f-2adf-4e89-b99c-e7630db94731",
"name": "单一文本",
"type": "n8n-nodes-base.code",
"position": [
-500,
1080
],
"parameters": {},
"typeVersion": 2
},
{
"id": "0ecafdda-2e12-4f8f-9f7f-b509df5994dd",
"name": "聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-60,
960
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c4b36e0a-b605-4112-9fae-4e1ab62ec6c8",
"name": "摘要",
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"position": [
-360,
1080
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5d120ecb-47ec-456c-ba13-774d01e23aa8",
"name": "文本",
"type": "n8n-nodes-base.set",
"position": [
-60,
1080
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "85c6f156-3f20-46ba-b950-f0e11b718b0f",
"name": "Evolution群组搜索",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
-840,
1400
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2,
"waitBetweenTries": 5000
},
{
"id": "e69ccddb-e6da-4fec-af52-9f2baf4e28ec",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-560,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3423b840-2729-4ebb-9523-35c1af7c3431",
"name": "整理",
"type": "n8n-nodes-base.set",
"position": [
-340,
1400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "7d4c0918-018b-4724-b8f8-0d8bae3348ad",
"name": "验证群组",
"type": "n8n-nodes-base.if",
"position": [
-160,
1400
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "6e6c2b6b-319c-4ed8-b3e3-e43c70155e01",
"name": "保存对话",
"type": "n8n-nodes-base.googleSheets",
"position": [
80,
1360
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "311e2dd2-ad0e-45af-9fff-c3ae95c50bbe",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1200,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f1380e71-e70d-423b-a195-79f1395f569b",
"name": "便利贴5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-580,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {
"Webhook": [
{
"json": {
"body": {
"data": {
"key": {
"id": "148103FA0535AD9078BC24CE8C1E5C",
"fromMe": false,
"remoteJid": "group-ID@g.us",
"participant": "YOUR-NUMBER-PHONE@s.whatsapp.net"
},
"source": "android",
"status": "DELIVERY_ACK",
"message": {
"conversation": "Mensagem de testes",
"messageContextInfo": {
"messageSecret": "xxxX4YQA3CZYEMm6K7nuls83L8rfXr/exIrfHl9/ZBI="
}
},
"pushName": "Bruno Dias",
"instanceId": "78e239b6-a97c-4e61-bf41-xxxxxx",
"messageType": "conversation",
"messageTimestamp": 1737769222
},
"event": "messages.upsert",
"apikey": "XXX20FD881BD-43CC-9C0A-XXXXXX",
"sender": "YOUR-NUMBER-PHONE@s.whatsapp.net",
"instance": "envio",
"date_time": "2025-01-24T22:40:23.576Z",
"server_url": "https://evolution.your-url.com.br",
"destination": "https://webhook.your-webhook.com.br/webhook/summary/groups"
},
"query": {},
"params": {},
"headers": {
"host": "webhook.your-webhook.com.br",
"x-real-ip": "172.18.0.1",
"user-agent": "axios/1.7.7",
"content-type": "application/json",
"content-length": "831",
"accept-encoding": "gzip, compress, deflate, br",
"x-forwarded-for": "172.18.0.1",
"x-forwarded-host": "webhook.your-webhook.com.br",
"x-forwarded-port": "443",
"x-forwarded-proto": "https",
"x-forwarded-server": "228c602cf3cd"
},
"webhookUrl": "https://webhook.your-url.com.br/webhook/summary/groups",
"executionMode": "production"
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "008b7f77-8576-46db-b791-ef3ab2a0d3a6",
"connections": {
"Text": {
"main": [
[
{
"node": "Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Agregar": {
"main": [
[
{
"node": "Single Text",
"type": "main",
"index": 0
}
]
]
},
"Summary": {
"main": [
[
{
"node": "Text",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Organize",
"type": "main",
"index": 0
}
]
]
},
"Organize": {
"main": [
[
{
"node": "Validate Group",
"type": "main",
"index": 0
}
]
]
},
"ChatModel": {
"ai_languageModel": [
[
{
"node": "Summary",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Single Text": {
"main": [
[
{
"node": "Summary",
"type": "main",
"index": 0
}
]
]
},
"Define group": {
"main": [
[
{
"node": "View conversations + filter",
"type": "main",
"index": 0
}
]
]
},
"Starts at 11pm": {
"main": [
[
{
"node": "Define group",
"type": "main",
"index": 0
}
]
]
},
"Validate Group": {
"main": [
[
{
"node": "Save Conversations",
"type": "main",
"index": 0
}
]
]
},
"View conversations + filter": {
"main": [
[
{
"node": "Agregar",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
销售
AI 代理餐厅 [模板]
🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手
If
N8n
Set
+37
239 节点Amanda Benks
其他
宠物店 4
🐶 宠物店预约 AI 代理
If
Set
Code
+41
187 节点Bruno Dias
人工智能
🌍 AI WhatsApp翻译器 + 语音转录器与HubSpot集成
基于OpenAI Whisper和GPT-4的多语言WhatsApp翻译器,集成HubSpot
If
N8n
Set
+18
107 节点Amanda Benks
其他
使用AI、ElevenLabs和多平台发布创建和审批POV视频
使用AI、ElevenLabs和多平台发布创建和审批POV视频(TikTok/IG/YT)
If
Set
Code
+20
60 节点Immanuel
设计
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
工作流信息
难度等级
高级
节点数量22
分类1
节点类型12
作者
Amanda Benks
@amandaHi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3
外部链接
在 n8n.io 查看 →
分享此工作流