使用 Google Gemini 分类潜在客户情感
中级
这是一个AI, Marketing领域的自动化工作流,包含 11 个节点。主要使用 Set, Merge, Webhook, Supabase, WhatsApp 等节点,结合人工智能技术实现智能自动化。 使用 Google Gemini 分类潜在客户情感,并通过 Typeform 和 Supabase 发送 WhatsApp 回复
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Supabase URL 和 API Key
- •Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "47132c409ea4cfc382a6c48656c8a35b5da4c1fa7ef892882b424c42ae8a05b2",
"templateCredsSetupCompleted": true
},
"name": "潜在客户情感分类器",
"tags": [],
"nodes": [
{
"id": "e74de2ca-d3e1-499b-893c-972bb6bd9ad0",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
760,
580
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "01b4b86b-8798-405e-93c9-5881f3d27d20",
"name": "接收新潜在客户 (Typeform)",
"type": "n8n-nodes-base.webhook",
"position": [
340,
360
],
"webhookId": "20426827-714d-4a48-ab87-4a3216665bde",
"parameters": {
"path": "lead-webhook",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 2
},
{
"id": "b4007cc1-6332-42d3-a7d1-12db9bc35fec",
"name": "准备潜在客户数据",
"type": "n8n-nodes-base.set",
"position": [
560,
360
],
"parameters": {
"options": {}
},
"typeVersion": 3.4
},
{
"id": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
"name": "情感分类 (Gemini 或其他 AI 模型)",
"type": "@n8n/n8n-nodes-langchain.sentimentAnalysis",
"position": [
780,
360
],
"parameters": {
"options": {},
"inputText": "={{$json[\"message\"] || $json[\"mensagem\"] || $json[\"resposta\"]}}\n"
},
"typeVersion": 1
},
{
"id": "1322317f-fbc6-4a9d-a764-f6dc68b7a02b",
"name": "存储高意向潜在客户",
"type": "n8n-nodes-base.supabase",
"position": [
1156,
160
],
"parameters": {},
"credentials": {
"supabaseApi": {
"id": "",
"name": ""
}
},
"typeVersion": 1
},
{
"id": "856a57e9-4d21-4a7c-9dd4-90d5df595468",
"name": "存储中性潜在客户",
"type": "n8n-nodes-base.supabase",
"position": [
1156,
360
],
"parameters": {},
"credentials": {
"supabaseApi": {
"id": "",
"name": ""
}
},
"typeVersion": 1
},
{
"id": "1d3ab942-66f3-4aff-a46e-7cc040e7f6db",
"name": "存储低意向潜在客户",
"type": "n8n-nodes-base.supabase",
"position": [
1156,
560
],
"parameters": {},
"credentials": {
"supabaseApi": {
"id": "",
"name": ""
}
},
"typeVersion": 1
},
{
"id": "20839991-6176-4485-98fe-1d188ac552f1",
"name": "合并潜在客户数据",
"type": "n8n-nodes-base.merge",
"position": [
1376,
360
],
"parameters": {
"numberInputs": 3
},
"typeVersion": 3.1
},
{
"id": "fa4ac251-30a5-4ab4-8bd3-54036b810648",
"name": "发送 WhatsApp 消息",
"type": "n8n-nodes-base.whatsApp",
"position": [
1596,
360
],
"webhookId": "b18f6b54-22e1-4989-bbf8-301c1be7d566",
"parameters": {
"operation": "send",
"additionalFields": {}
},
"typeVersion": 1
},
{
"id": "1c49034d-c7fe-4f1f-acab-01a1efe0f474",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
140
],
"parameters": {
"width": 480,
"height": 600,
"content": "## 潜在客户情感分类器 – 使用 AI 对传入潜在客户进行分类并通过 WhatsApp 回复"
},
"typeVersion": 1
},
{
"id": "e8d20736-9419-445e-ab25-dd63a7605cf2",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
680,
720
],
"parameters": {
"content": "## 提示建议"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "",
"connections": {
"1322317f-fbc6-4a9d-a764-f6dc68b7a02b": {
"main": [
[
{
"node": "20839991-6176-4485-98fe-1d188ac552f1",
"type": "main",
"index": 0
}
]
]
},
"1d3ab942-66f3-4aff-a46e-7cc040e7f6db": {
"main": [
[
{
"node": "20839991-6176-4485-98fe-1d188ac552f1",
"type": "main",
"index": 2
}
]
]
},
"20839991-6176-4485-98fe-1d188ac552f1": {
"main": [
[
{
"node": "fa4ac251-30a5-4ab4-8bd3-54036b810648",
"type": "main",
"index": 0
}
]
]
},
"b4007cc1-6332-42d3-a7d1-12db9bc35fec": {
"main": [
[
{
"node": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
"type": "main",
"index": 0
}
]
]
},
"856a57e9-4d21-4a7c-9dd4-90d5df595468": {
"main": [
[
{
"node": "20839991-6176-4485-98fe-1d188ac552f1",
"type": "main",
"index": 1
}
]
]
},
"e74de2ca-d3e1-499b-893c-972bb6bd9ad0": {
"ai_languageModel": [
[
{
"node": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"01b4b86b-8798-405e-93c9-5881f3d27d20": {
"main": [
[
{
"node": "b4007cc1-6332-42d3-a7d1-12db9bc35fec",
"type": "main",
"index": 0
}
]
]
},
"d274436b-f5f6-4c13-948d-f1e2f822e85c": {
"main": [
[
{
"node": "1322317f-fbc6-4a9d-a764-f6dc68b7a02b",
"type": "main",
"index": 0
}
],
[
{
"node": "856a57e9-4d21-4a7c-9dd4-90d5df595468",
"type": "main",
"index": 0
}
],
[
{
"node": "1d3ab942-66f3-4aff-a46e-7cc040e7f6db",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 GPT-4o-mini 和 Supabase 存储创建 AI 驱动的
使用 GPT-4o-mini 和 Supabase 存储创建 AI 驱动的 WhatsApp 测验机器人
If
Merge
Webhook
+
If
Merge
Webhook
15 节点Danielle Gomes
其他
ERPNext AI候选人筛选自动化
ERPNext的AI驱动候选人筛选自动化
If
Set
Code
+
If
Set
Code
39 节点Amjid Ali
财务
AI智能体用于会议实时洞察
AI智能体用于会议实时洞察
If
Set
Webhook
+
If
Set
Webhook
19 节点Mark Shcherbakov
销售
基于AI的社交媒体内容生成与发布
基于AI的社交媒体内容生成与发布
Set
Code
Form
+
Set
Code
Form
26 节点Amjid Ali
人工智能
使用GPT-4情感分析在Notion中分析与标记用户反馈
使用GPT-4情感分析在Notion中分析与标记用户反馈
Set
Code
Merge
+
Set
Code
Merge
31 节点Agent Studio
销售
使用AI处理LinkedIn的RSS
使用Gemini AI和RSS源自动化LinkedIn新闻发布
If
Set
Code
+
If
Set
Code
43 节点Club de Inteligencia Artificial Politécnico CIAP
人工智能
工作流信息
难度等级
中级
节点数量11
分类2
节点类型8
作者
Danielle Gomes
@daniellegomesProduct Designer | n8n Automation | Practical AI Solutions I turn ideas into smart digital experiences focused on efficiency and personalization. Specialized in building solutions that combine design, n8n workflows, and AI to scale products, optimize processes, and maximize impact.
外部链接
在 n8n.io 查看 →
分享此工作流