AI驱动的GitHub机器人:使用GPT-4o、Pinecone和Discord警报自动分诊问题
中级
这是一个Engineering、AI领域的自动化工作流,包含 12 个节点。主要使用 Set、Webhook、Agent、RespondToWebhook、LmChatOpenAi 等节点,结合人工智能技术实现智能自动化。 AI驱动的GitHub机器人:使用GPT-4o、Pinecone和Discord警报自动分诊问题
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •OpenAI API Key
- •Pinecone API Key
使用的节点 (12 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "8931e7db592c2960ce253801ea290c1dc66e447734ce3d968310365665cefc80"
},
"nodes": [
{
"id": "caa04614-4d25-4946-bd71-72dfa42251f6",
"name": "4o、4o-mini 等1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-40,
-80
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "25e3bd45-113c-45cf-b40b-90c9c12e2222",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
-20
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
},
{
"id": "77c6eac4-a0d7-42ef-843f-5619ae0b449a",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-240,
-180
],
"webhookId": "a34e38ea-f5f5-42f8-9044-6a2f7c7de31a",
"parameters": {},
"typeVersion": 2
},
{
"id": "3d24fc0e-eef0-48c7-8437-94b298a8b887",
"name": "响应 Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
280,
-160
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "42f9b629-1428-44da-823f-4522b87a5e5d",
"name": "请修改这些!!!",
"type": "n8n-nodes-base.set",
"position": [
-240,
-20
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ad09148a-f2eb-446f-9c10-464cf52f4a00",
"name": "Github 问题提示",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-40,
-180
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "c8c699ae-970b-4ab6-b559-b07e770bc8a1",
"name": "代码向量读取",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
0,
40
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "e1b6251c-7c99-46a0-a5c3-fdc24a0cb391",
"name": "文档向量读取",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
0,
160
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "d1aa5807-f63a-48a5-9c03-b9e8b1f4a7d8",
"name": "使用 Text Embedding 3 LARGE",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
320,
100
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "3b7d96c3-ba75-46cc-a99b-4e3c37a3658d",
"name": "这些也可以根据需求修改",
"type": "n8n-nodes-base.set",
"position": [
-240,
160
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "bab488d5-787e-48e8-848d-cf23b7ec84f0",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
40
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
},
{
"id": "7e1c72e8-df34-4bc7-b088-dc6a4f09889f",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
460,
-200
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Webhook": {
"main": [
[
{
"node": "CHANGE THESE!!!",
"type": "main",
"index": 0
}
]
]
},
"CHANGE THESE!!!": {
"main": [
[
{
"node": "These too if you want",
"type": "main",
"index": 0
}
]
]
},
"Code Vector Read": {
"ai_tool": [
[
{
"node": "Github Issue Hints",
"type": "ai_tool",
"index": 0
}
]
]
},
"Docs Vector Read": {
"ai_tool": [
[
{
"node": "Github Issue Hints",
"type": "ai_tool",
"index": 0
}
]
]
},
"4o, 4o-mini, etc1": {
"ai_languageModel": [
[
{
"node": "Github Issue Hints",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Github Issue Hints": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"These too if you want": {
"main": [
[
{
"node": "Github Issue Hints",
"type": "main",
"index": 0
}
]
]
},
"Use Text Embedding 3 LARGE": {
"ai_embedding": [
[
{
"node": "Docs Vector Read",
"type": "ai_embedding",
"index": 0
},
{
"node": "Code Vector Read",
"type": "ai_embedding",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个中级难度的工作流,适用于Engineering、AI等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 Google Drive 和 Pinecone 向量数据库创建 AI 驱动的 WhatsApp 机器人
使用 Google Drive 和 Pinecone 向量数据库创建 AI 驱动的 WhatsApp 机器人
If
Set
Code
+12
23 节点Cecilia
Support
评估指标示例:分类
评估指标示例:分类
Set
Webhook
Evaluation
+6
13 节点David Roberts
Engineering
AI智能助手:与Supabase存储和Google Drive文件对话
AI智能助手:与Supabase存储和Google Drive文件对话
If
Set
Wait
+20
62 节点Mark Shcherbakov
Engineering
高级销售AI代理
AI销售代理:WhatsApp、FB、IG、OpenAI、Airtable、Supabase自动预约
If
Set
Switch
+18
58 节点Sam Yassine
Sales
高级聊天机器人+RAG代理
基于OpenAI、Google Sheets、Glide和Supabase的AI驱动RAG问答聊天机器人
Set
Webhook
Google Drive
+14
34 节点Sam Yassine
Support
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
Sales
工作流信息
难度等级
中级
节点数量12
分类2
节点类型8
作者
David Ashby
@cfomodzA hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord
外部链接
在 n8n.io 上查看 →
分享此工作流