AI Chatbot Agent:使用 InfraNodus 图 RAG 知识的专家小组
中级
这是一个Support, AI领域的自动化工作流,包含 14 个节点。主要使用 Agent, HttpRequestTool, ChatTrigger, LmChatOpenAi, MemoryBufferWindow 等节点,结合人工智能技术实现智能自动化。 采用InfraNodus GraphRAG知识图谱技术的专家小组AI聊天机器人代理
前置要求
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "bHZEpS3GDpUNmmRD",
"meta": {
"instanceId": "2a26454b0172ffcb8d70ba77c235b1209f92cd71bf06c79ba609c7173b416d68",
"templateCredsSetupCompleted": true
},
"name": "AI Chatbot Agent:使用 InfraNodus 图 RAG 知识的专家小组",
"tags": [
{
"id": "66wgFoDi9Xjl74M3",
"name": "Support",
"createdAt": "2025-05-21T17:06:32.355Z",
"updatedAt": "2025-05-21T17:06:32.355Z"
},
{
"id": "9QurS5Kb1CkCYrnG",
"name": "Product",
"createdAt": "2025-05-21T17:06:29.704Z",
"updatedAt": "2025-05-21T17:06:29.704Z"
},
{
"id": "IzYV3Gv55x1h73cK",
"name": "Ideation",
"createdAt": "2025-05-20T14:53:20.662Z",
"updatedAt": "2025-05-20T14:53:20.662Z"
},
{
"id": "aECLdyckoPZ29skg",
"name": "Writing",
"createdAt": "2025-05-20T14:53:23.085Z",
"updatedAt": "2025-05-20T14:53:23.085Z"
},
{
"id": "ciIq4giMNXaJiyiQ",
"name": "Thinking Tools",
"createdAt": "2025-05-20T14:53:17.515Z",
"updatedAt": "2025-05-20T14:53:17.515Z"
},
{
"id": "hCzs9EJfBuD0RxuX",
"name": "Other",
"createdAt": "2025-05-21T17:06:34.674Z",
"updatedAt": "2025-05-21T17:06:34.674Z"
},
{
"id": "sJk9cUvmMU8FkJXv",
"name": "AI",
"createdAt": "2025-05-20T13:16:15.636Z",
"updatedAt": "2025-05-20T13:16:15.636Z"
}
],
"nodes": [
{
"id": "41bf047a-eba0-4a7c-ac46-3a5da9826180",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
400,
280
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "9fb76eda-0a98-4260-a6dd-d1a24d721bfa",
"name": "当接收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
0,
0
],
"webhookId": "8925672f-55c8-4c09-b0d9-ba8e87af8807",
"parameters": {
"public": true,
"options": {
"title": "EightOS Polysingularity Consilium",
"subtitle": "Let's find a solution to any issue you have",
"loadPreviousSession": "manually"
},
"initialMessages": "Get an advice based on EightOS and Polysingularity frameworks. Ask your question and I will provide a response based on InfraNodus GraphRAG analysis of those discourses."
},
"typeVersion": 1.1
},
{
"id": "cedf6471-af63-4ffe-aca3-f8f81530fcc6",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
-440
],
"parameters": {
"color": 6,
"width": 460,
"height": 400,
"content": "## 具备专家功能的 AI Chatbot Agent"
},
"typeVersion": 1
},
{
"id": "dfbcdf98-a86b-4cd9-b3b2-98a5b94f3d13",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
260
],
"parameters": {
"width": 200,
"height": 540,
"content": ""
},
"typeVersion": 1
},
{
"id": "bcd44abe-7719-4b67-b8d7-d9887ca08a02",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1060,
260
],
"parameters": {
"width": 200,
"height": 540,
"content": ""
},
"typeVersion": 1
},
{
"id": "c2736799-4921-438c-8b73-b935b1b7df6f",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
340,
260
],
"parameters": {
"width": 200,
"height": 540,
"content": ""
},
"typeVersion": 1
},
{
"id": "f20c53f4-4498-4585-8c6b-d7c90bd0619e",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
400,
-220
],
"parameters": {
"width": 460,
"height": 360,
"content": "## 2. AI 代理"
},
"typeVersion": 1
},
{
"id": "c7d27990-45b2-457d-be9c-c6171dda2da5",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-20
],
"parameters": {
"width": 220,
"height": 540,
"content": ""
},
"typeVersion": 1
},
{
"id": "0273eee6-0eca-4360-ab6c-224eedf221ec",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
900,
-220
],
"parameters": {
"width": 220,
"height": 360,
"content": "## 3. 聊天响应"
},
"typeVersion": 1
},
{
"id": "9c97ab56-80a6-48af-9d61-f3fb92fc60e7",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
440,
20
],
"parameters": {
"options": {
"systemMessage": "Always use either EightOS or Polysingularity tool before sending a response to the model. You have to use at least one of them, the one that think is more suitable. Or both if both can provide some help. \nIf you used both tools and received responses from both of them, combine them in one response making sure you merge both perspectives. Ask for specific, actionable advice."
}
},
"typeVersion": 1.9
},
{
"id": "f09d74c1-b197-436a-90a5-253749fcbb8c",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
200,
280
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "gpt-4o"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "07wFa8Wa4mMRCHAj",
"name": "OpenAi account 2"
}
},
"typeVersion": 1.2
},
{
"id": "d6c1a430-1900-4c32-a799-a29798b45c7e",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
620,
260
],
"parameters": {
"width": 200,
"height": 540,
"content": ""
},
"typeVersion": 1
},
{
"id": "d9c40421-f5ef-4f50-bd81-c398c86c5b65",
"name": "EightOS 专家",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
680,
300
],
"parameters": {
"url": "https://infranodus.com/api/v1/graphAndAdvice?doNotSave=true&addStats=true&optimize=develop&includeStatements=true&includeGraphSummary=true&includeGraph=false",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "name",
"value": "panarchy_eightos"
},
{
"name": "requestMode",
"value": "response"
},
{
"name": "prompt",
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters2_Value', `User query to send to the expert`, 'string') }}"
},
{
"name": "aiTopics",
"value": "true"
}
]
},
"genericAuthType": "httpBearerAuth",
"toolDescription": "You are an EightOS specialist who is well-versed in the questions of variability, movement, physical development, adaptivity, resilience. \n\nThe main topics of your expertise are:\n<MainTopics> \n1. Dynamic States: state dynamic fractal change hrv recovery movement regeneration \n2. Idea Scale: focus idea scale small specific gap bring sensitive \n3. Ecological Variability: variability stage thinking panarchy schema infranodus bias system \n4. Breath Count: breath give count time result concrete silence effort \n5. Knowledge Structure: structure highly graph influence knowledge ai text network \n6. Biased Discourse: stay discourse long steer objective short term shifting \n</MainTopics>"
},
"credentials": {
"httpBearerAuth": {
"id": "6lSuuSDajZrvI2GM",
"name": "InfraNodus API Key"
}
},
"typeVersion": 4.2
},
{
"id": "e58946be-1a4c-4991-86b2-3e51a0241548",
"name": "Polysingularity 专家",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
900,
300
],
"parameters": {
"url": "https://infranodus.com/api/v1/graphAndAdvice?doNotSave=true&addStats=true&optimize=develop&includeStatements=true&includeGraphSummary=true&includeGraph=false",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "name",
"value": "polysingularity_overview"
},
{
"name": "requestMode",
"value": "response"
},
{
"name": "prompt",
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters2_Value', `User query to send to the expert`, 'string') }}"
},
{
"name": "aiTopics",
"value": "true"
}
]
},
"genericAuthType": "httpBearerAuth",
"toolDescription": "You are an expert in Polysingularity. You provide responses in the field of multiplicity, networks, seeing multiple points etc. \n\nThe main topics of your expertise are:\n<MainTopics> \n1. Community Dynamics: multiple moment time change state position specific community \n2. Cognitive Practice: polysingularity practice singularity cognitive world social polysingular mind \n3. Network Perception: network make affordance choice perceive constant environmental constantly \n4. Interaction Capacity: capacity human interaction situation node possibility concept describe \n5. Space Creation: condition space form shifting emerge attractor life center \n6. Equation Analysis: find risk fully committed equation sentence rule finding \n7. Process Multiplicity: process multiplicity exist dynamic behavior part show define \n8. Idea Connectivity: ensure diversity metastable idea encounter order connectivity unfold \n9. Directed Evolution: evolution distinct directed kind \n</MainTopics>"
},
"credentials": {
"httpBearerAuth": {
"id": "6lSuuSDajZrvI2GM",
"name": "InfraNodus API Key"
}
},
"typeVersion": 4.2
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "8848095b-7ee0-4ab8-bc16-f807f963fb20",
"connections": {
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"EightOS Expert": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Polysingularity Expert": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客户支持, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用GraphRAG与PDF/MD/文本文件对话(无需向量存储)
使用GraphRAG与PDF/MD/文本文件对话(无需向量存储)
Set
Switch
Google Drive
+10
20 节点InfraNodus
客户支持
集成ElevenLabs和InfraNodus图RAG知识的AI语音聊天助手
构建集成ElevenLabs和InfraNodus知识专家的语音AI聊天机器人
Webhook
Agent
Http Request Tool
+4
19 节点InfraNodus
销售
基于 InfraNodus GraphRAG 知识库的 Telegram AI 聊天机器人代理
集成 InfraNodus GraphRAG 知识库的 Telegram AI 聊天机器人代理
Telegram
Agent
Http Request Tool
+4
21 节点InfraNodus
客户支持
具有Graph RAG知识本体的推理专家
使用GraphRAG和知识本体为AI代理创建自定义推理模式
Agent
Http Request Tool
Chat Trigger
+3
8 节点InfraNodus
工程
基于AI的MIS代理
基于AI的管理信息系统代理
If
Set
Code
+29
129 节点Kumar Shivam
客户支持
基于GPT-4o的餐厅订单聊天机器人(POS集成)
基于GPT-4o的餐厅订单聊天机器人,支持POS系统集成
If
Code
Google Sheets
+10
19 节点Kumar Shivam
销售
工作流信息
难度等级
中级
节点数量14
分类2
节点类型6
作者
InfraNodus
@infranodusI'm Dmitry, the founder of InfraNodus — an AI text network analysis tool. I'm passionate about networks and data visualization and its ability to reveal what everyone else is missing and to highlight different perspectives. I'm sharing the n8n templates that make use of this unique capability of InfraNodus for multiple scenarios.
外部链接
在 n8n.io 查看 →
分享此工作流