使用GPT-4o-mini进行Pipedrive潜在客户自然语言问答
中级
这是一个AI RAG, Multimodal AI领域的自动化工作流,包含 8 个节点。主要使用 PipedriveTool, Agent, ChatTrigger, LmChatOpenAi 等节点。 使用GPT-4o-mini进行Pipedrive潜在客户自然语言问答
前置要求
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "3a42f460-754a-4d50-b5f7-4f550c9481d2",
"name": "OpenAI 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-80,
368
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "4l6TDfLZVFS24g3X",
"name": "OpenAi account 4"
}
},
"typeVersion": 1.2
},
{
"id": "74a26fd1-a743-4495-902b-1f22a753eb30",
"name": "Pipedrive 工具",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
480,
416
],
"parameters": {
"filters": {},
"resource": "lead",
"operation": "getAll",
"returnAll": true
},
"credentials": {
"pipedriveApi": {
"id": "Tk6DUhlSCIuPlg0c",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "bbb5baca-6411-4d41-8530-3aff0a228513",
"name": "与 Slack 聊天",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-256,
-48
],
"webhookId": "d38a0072-420b-4de8-86b6-03a8f9a6e254",
"parameters": {
"options": {}
},
"typeVersion": 1.3
},
{
"id": "0983fb7e-b445-4018-b104-2c3047483a0e",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-864,
-240
],
"parameters": {
"width": 400,
"height": 816,
"content": ""
},
"typeVersion": 1
},
{
"id": "37d66b1a-be0d-4d41-b334-357228086e3b",
"name": "便签51",
"type": "n8n-nodes-base.stickyNote",
"position": [
-416,
-240
],
"parameters": {
"color": 7,
"width": 1136,
"height": 816,
"content": "# 📊 Pipedrive 潜在客户聊天机器人 (n8n + OpenAI)"
},
"typeVersion": 1
},
{
"id": "97f075a0-1bdb-4846-a5f8-c026cba0d3b3",
"name": "Pipedrive 潜在客户聊天机器人",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
32,
-48
],
"parameters": {
"options": {
"systemMessage": "You are a helpful assistant.\nFor all questions, get the lead conversation history from the Pipedrive tool.\nDo not make anything up. Use only the data available in the Pipedrive conversation history tool to answer questions."
}
},
"typeVersion": 2.2
},
{
"id": "c9cf44b3-eb53-4dff-a33a-6ff8abf5a8b0",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
208
],
"parameters": {
"color": 3,
"width": 288,
"height": 304,
"content": "### 1️⃣ 设置 OpenAI 连接"
},
"typeVersion": 1
},
{
"id": "14df1699-db12-4e70-8590-aacad8bd97a1",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
368,
-16
],
"parameters": {
"color": 3,
"width": 288,
"height": 544,
"content": "### 2️⃣ 连接 Pipedrive"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Pipedrive Tool": {
"ai_tool": [
[
{
"node": "Pipedrive Leads Chatbot",
"type": "ai_tool",
"index": 0
}
]
]
},
"Chat with Slack": {
"main": [
[
{
"node": "Pipedrive Leads Chatbot",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Pipedrive Leads Chatbot",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - AI RAG 检索增强, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 OpenAI 通过自然语言查询 Slack 频道历史记录
使用 OpenAI 通过自然语言查询 Slack 频道历史记录
Slack Tool
Agent
Chat Trigger
+2
9 节点Robert Breen
AI RAG 检索增强
使用 GPT-4o 通过自然语言查询搜索 Outlook 邮件
使用 GPT-4o 通过自然语言查询搜索 Outlook 邮件
Merge
Aggregate
Agent
+6
17 节点Robert Breen
AI RAG 检索增强
AI网站聊天机器人 - GPT与Google表格CRM线索收集
集成GPT和Google表格的AI网站聊天机器人 - CRM线索收集系统
Code
Google Sheets
Agent
+7
14 节点Robert Breen
潜在客户开发
使用GPT-5 Nano多语言聊天机器人自动处理电商客户支持
使用GPT-5 Nano多语言聊天机器人自动处理电商客户支持
Set
Merge
Split Out
+6
13 节点Robert Breen
AI 聊天机器人
博客写作与编辑器
基于Google Sheets记忆的博客写作与编辑器 (GPT-4)
If
Code
Filter
+10
18 节点Robert Breen
内容创作
基于 GPT-5 Mini 的 Google Sheets 对话式数据分析
基于 GPT-5 Mini 的 Google Sheets 对话式数据分析
Agent
Google Sheets Tool
Chat Trigger
+3
10 节点Robert Breen
文档提取
工作流信息
难度等级
中级
节点数量8
分类2
节点类型5
作者
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 查看 →
分享此工作流