GPT-5 RAG客户支持代理
中级
这是一个Support Chatbot, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Telegram, Agent, TelegramTrigger, LmChatOpenAi, EmbeddingsOpenAi 等节点。 使用GPT-5、Telegram和Pinecone构建客户支持RAG代理
前置要求
- •Telegram Bot Token
- •OpenAI API Key
- •Pinecone API Key
使用的节点 (11)
工作流预览
可视化展示节点连接关系,支持缩放和平移
无法加载工作流预览
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"templateCredsSetupCompleted": true
},
"name": "GPT-5 RAG 客户支持代理",
"tags": [],
"nodes": [
{
"name": "Telegram 触发器",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-340,
20
],
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"typeVersion": 1.2
},
{
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-100,
240
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-5"
},
"options": {}
},
"typeVersion": 1.2
},
{
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
80,
240
],
"parameters": {
"sessionKey": "={{ $json.message.chat.id }}",
"sessionIdType": "customKey",
"contextWindowLength": 15
},
"typeVersion": 1.3
},
{
"name": "Pinecone Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
200,
220
],
"parameters": {
"mode": "retrieve-as-tool",
"options": {},
"pineconeIndex": {
"__rl": true,
"mode": "list",
"value": "awm-n8n"
},
"toolDescription": "Customer FAQ Data & Policies"
},
"typeVersion": 1.3
},
{
"name": "OpenAI 嵌入",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
340,
380
],
"parameters": {
"options": {}
},
"typeVersion": 1.2
},
{
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
600,
20
],
"parameters": {
"text": "={{ $json.output }}",
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"typeVersion": 1.2
},
{
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
-140
],
"parameters": {
"width": 320,
"height": 700,
"content": "Telegram 客户支持触发器"
},
"typeVersion": 1
},
{
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
-140
],
"parameters": {
"color": 5,
"width": 660,
"height": 700,
"content": "GPT-5 AI RAG 代理与向量数据库(Pinecone)工具"
},
"typeVersion": 1
},
{
"name": "GPT-5 客户支持代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
20,
20
],
"parameters": {
"text": "={{ $json.message.text }}",
"options": {},
"promptType": "define"
},
"typeVersion": 2
},
{
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
540,
-140
],
"parameters": {
"color": 4,
"width": 300,
"height": 700,
"content": "Telegram 响应输出"
},
"typeVersion": 1
},
{
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1120,
-140
],
"parameters": {
"color": 6,
"width": 600,
"height": 960,
"content": "🧠 基于 RAG 的客户支持代理(GPT-5 + Telegram)"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "e5a5d5f7-38de-404d-a33d-4d341dec281b",
"connections": {
"Simple Memory": {
"ai_memory": [
[
{
"node": "GPT-5 Customer Support Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "GPT-5 Customer Support Agent",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "GPT-5 Customer Support Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Pinecone Vector Store": {
"ai_tool": [
[
{
"node": "GPT-5 Customer Support Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"GPT-5 Customer Support Agent": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客服机器人, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
法律助理代理
🧑⚖️ AI法律助理代理 — 基于AI的法律问答与文档检索
Telegram
Agent
Telegram Trigger
+5
11 节点Automate With Marc
人工智能
Slack项目更新RAG代理
使用GPT和Pinecone向量RAG上下文自动回复Slack消息
Slack
Slack Trigger
Agent
+5
11 节点Automate With Marc
AI RAG 检索增强
自动入站销售跟进
使用 GPT-5、Pinecone 和 Tavily 研究实现个性化销售自动跟进
Gmail
Form Trigger
Agent
+6
12 节点Automate With Marc
客户培育
组合式图像转视频助手
通过 Telegram、GPT-4.1 和 Seedance/Veo3 集成从图片生成视频
If
Wait
Telegram
+10
22 节点Automate With Marc
内容创作
基于AI的WhatsApp支持机器人(Google Sheets工单创建)
基于AI的WhatsApp支持机器人(Google Sheets工单创建)
Set
Xml
Code
+20
35 节点Zain Khan
客服机器人
Grok-4客户支持代理[RAG]
使用Grok-4、Google Docs和Telegram构建客户支持代理[RAG]
Telegram
Google Docs Tool
Agent
+4
10 节点Automate With Marc
客服机器人
工作流信息
难度等级
中级
节点数量11
分类2
节点类型8
作者
Automate With Marc
@marconiAutomating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc
外部链接
在 n8n.io 查看 →
分享此工作流