使用OpenAI、Qdrant和CraftMyPDF生成AI精选销售报价
中级
这是一个Lead Nurturing, AI RAG领域的自动化工作流,包含 15 个节点。主要使用 Set, Code, EmailSend, FormTrigger, HttpRequest 等节点。 使用OpenAI、Qdrant和CraftMyPDF PDF交付生成AI精选销售报价
前置要求
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
- •Qdrant 服务器连接信息
- •Google Gemini API Key
使用的节点 (15)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "783d2046f405cc6ecb20ef185376ed1023323a3da628b9d8156b1fb75c75e037"
},
"nodes": [
{
"id": "6024e2ec-0a2d-4e0a-9e90-9c20da7bf6c1",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3c4cf768-02eb-4a2f-830d-389581d94476",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e360e245-7dfb-4b50-b8ab-9929ba1b53f6",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1360,
480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "58eba77d-a3f2-47c4-98be-c2947c4506c1",
"name": "表单:请求报价",
"type": "n8n-nodes-base.formTrigger",
"position": [
32,
288
],
"webhookId": "FORM-QUOTE-ID",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "51f3b457-56fb-41dd-921c-89f3c87e4e07",
"name": "设置:准备智能体上下文",
"type": "n8n-nodes-base.set",
"position": [
416,
288
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "84cd898b-994e-4258-a511-c0a524701832",
"name": "OpenAI 聊天模型(智能体)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
704,
496
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "217a67b4-cc63-46cd-be00-d9ce8331b76a",
"name": "销售报价智能体",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
784,
288
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "7596c355-4174-48bb-b612-af217a99f699",
"name": "Qdrant 向量存储(产品)",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
816,
672
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e1f3367a-7b76-43a2-9fb8-becec399dd6d",
"name": "OpenAI 嵌入(产品)",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
816,
816
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "0c4ee604-6b4d-4468-9ff0-7865b6581422",
"name": "PRODUCTS_QDRANT",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"position": [
976,
496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8ab0eaf6-6fac-406e-a030-f83fdead366b",
"name": "代码:为 CraftMyPDF 映射",
"type": "n8n-nodes-base.code",
"position": [
1280,
288
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5035d222-3685-4b71-aa62-8f73e888ac75",
"name": "创建 PDF",
"type": "n8n-nodes-craftmypdf.craftMyPdf",
"position": [
1584,
288
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c145f87f-38d0-4178-a180-4b94bdfdc1a4",
"name": "获取 PDF 文件",
"type": "n8n-nodes-base.httpRequest",
"position": [
1856,
288
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "71a385b1-ddd2-4ee3-92cb-3b03a1b4ca6a",
"name": "邮件:发送报价",
"type": "n8n-nodes-base.emailSend",
"position": [
2096,
288
],
"webhookId": "8934d5d2-fe1f-4b79-9445-c794acf61d3d",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "433c3e34-d5b0-4429-9bb9-98f4884ebab4",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1120,
688
],
"parameters": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Create a PDF": {
"main": [
[
{
"node": "Get PDF file",
"type": "main",
"index": 0
}
]
]
},
"Get PDF file": {
"main": [
[
{
"node": "Email: Send Quote",
"type": "main",
"index": 0
}
]
]
},
"PRODUCTS_QDRANT": {
"ai_tool": [
[
{
"node": "Sales Quote Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Sales Quote Agent": {
"main": [
[
{
"node": "Code: Map for CraftMyPDF",
"type": "main",
"index": 0
}
]
]
},
"Form: Request a Quote": {
"main": [
[
{
"node": "Set: Prepare Agent Context",
"type": "main",
"index": 0
}
]
]
},
"Code: Map for CraftMyPDF": {
"main": [
[
{
"node": "Create a PDF",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "PRODUCTS_QDRANT",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model (Agent)": {
"ai_languageModel": [
[
{
"node": "Sales Quote Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Set: Prepare Agent Context": {
"main": [
[
{
"node": "Sales Quote Agent",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI (Products)": {
"ai_embedding": [
[
{
"node": "Qdrant Vector Store (Products)",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Qdrant Vector Store (Products)": {
"ai_vectorStore": [
[
{
"node": "PRODUCTS_QDRANT",
"type": "ai_vectorStore",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客户培育, AI RAG 检索增强
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
基于 GPT-4、Stripe 和 CRM 集成的 WooCommerce 对话式销售代理
基于 GPT-4、Stripe 和 CRM 集成的 WooCommerce 对话式销售代理
Set
Google Drive
Http Request
+16
27 节点Cong Nguyen
AI 聊天机器人
重新排序 #1
使用Apify、GPT-4o和WhatsApp自动化销售冷呼叫管道
Set
Code
Webhook
+18
48 节点Khairul Muhtadin
客户培育
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
使用Gmail、GPT-4和向量知识库的自动化客户支持系统
使用Gmail、GPT-4和向量知识库的自动化客户支持系统
If
Set
Code
+15
32 节点Khair Ahammed
AI RAG 检索增强
演示邮件分享
通过AI、Telegram机器人和网站爬取创建个性化邮件外联
If
Set
Xml
+20
58 节点Michael A Putra
客户培育
我的工作流
使用Google Drive和GPT-4o通过向量搜索创建知识库聊天机器人
Set
Code
Webhook
+12
26 节点Gofive
客服机器人
工作流信息
难度等级
中级
节点数量15
分类2
节点类型13
作者
Cong Nguyen
@cong-nguyenI’m a developer specialized in building web and mobile applications with AI integration and intelligent automation. With a solid background in data science, I help businesses build smarter digital solutions using cutting-edge technologies.
外部链接
在 n8n.io 查看 →
分享此工作流