AI多源代理:GPT-4、Perplexity搜索、Supabase和Google Sheets
中级
这是一个Internal Wiki, Multimodal AI领域的自动化工作流,包含 14 个节点。主要使用 PerplexityTool, Agent, GoogleSheetsTool, McpTrigger, ChatTrigger 等节点。 AI多源代理:集成GPT-4、Perplexity搜索、Supabase和Google Sheets
前置要求
- •Google Sheets API 凭证
- •OpenAI API Key
- •PostgreSQL 数据库连接信息
- •Supabase URL 和 API Key
使用的节点 (14)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "e7ccf4281d5afb175c79c02db95b45f15d5b53862cb6bc357c5e5bc26567f35c",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "a6b69852-3d04-4885-9f6e-3b44eec58528",
"name": "Embeddings OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
1200,
32
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "29009aa2-f21f-4041-9cdb-1d6f930467fd",
"name": "Cohere重新排序器",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
1408,
32
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c9b16787-76e1-49b7-806d-0db77f04047c",
"name": "知识 MCP",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
800,
-624
],
"webhookId": "5b72ab89-a90f-49db-a7c1-3c80da66c9e7",
"parameters": {},
"typeVersion": 2
},
{
"id": "e5748362-069e-4be1-a8f1-a1f7ea80d055",
"name": "表格数据",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
928,
-240
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "303c57ef-2cd6-4453-b700-d5c4d8799e7d",
"name": "实时网络搜索",
"type": "n8n-nodes-base.perplexityTool",
"position": [
480,
-272
],
"parameters": {},
"typeVersion": 1
},
{
"id": "584bd8fd-89c3-4fcc-ac9e-7389bbe8aab3",
"name": "向量化个人数据",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
1248,
-224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "6412b54e-9e25-42b7-bb66-4bfb55fdaf6a",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-64,
-576
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "acc78170-a2ff-4383-942b-a9dc7b222c8c",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-336,
-576
],
"webhookId": "ea8bce3e-2a29-44b9-9bbf-6a9d828d1285",
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c16d7852-b656-4983-8a97-39454be0f6e4",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-368,
-352
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "879f382c-c28a-409b-b968-7504c574245b",
"name": "Postgres 聊天记忆",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
-224,
-352
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "bc676a80-94e2-46c8-95b2-9496dac1c36a",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
464,
-640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e0d1d807-2cf0-4492-9267-5dbaf794cfea",
"name": "MCP 客户端知识",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
480,
-464
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "8e16d4ae-1fff-4399-8dfa-ca8940994729",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cf770569-b3b8-465e-8840-b8e7c49b6737",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-672
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Tabular data": {
"ai_tool": [
[
{
"node": "Knowledge MCP",
"type": "ai_tool",
"index": 0
}
]
]
},
"Reranker Cohere": {
"ai_reranker": [
[
{
"node": "Vectorized personal data",
"type": "ai_reranker",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Vectorized personal data",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"MCP Client knowledge": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Postgres Chat Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Real time web search": {
"ai_tool": [
[
{
"node": "Knowledge MCP",
"type": "ai_tool",
"index": 0
}
]
]
},
"Vectorized personal data": {
"ai_tool": [
[
{
"node": "Knowledge MCP",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内部知识库, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用GPT-5、知识检索和文档上下文自动化HighLevel CRM
通过GPT-5、知识检索和文档上下文自动化HighLevel CRM
Set
Gmail
Slack
+25
55 节点Paul
客户关系管理
构建集成Claude、RAG、Perplexity和Drive的全源知识助手
构建集成Claude、RAG、Perplexity和Drive的全源知识助手
Set
Switch
Google Drive
+21
38 节点Paul
内部知识库
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
Set
Gmail
Slack
+35
80 节点Paul
文档提取
通过RAG与文档对话:从Google Drive到GPT-5,使用Supabase向量数据库
通过RAG与文档对话:从Google Drive到GPT-5,使用Supabase向量数据库
Set
Gmail
Slack
+19
30 节点Paul
内部知识库
AI驱动的HighLevel CRM自动化
基于AI的HighLevel CRM自动化,集成GPT和MCP进行联系人与任务管理
High Level Tool
Agent
Mcp Trigger
+4
21 节点Paul
客户关系管理
基于 Danelfin、TwelveData 和 Alpha Vantage 的 AI 股票分析
集成 Danelfin、TwelveData 和 Alpha Vantage 的 AI 股票分析系统
Set
Code
Gmail
+23
74 节点Paul
加密货币交易
工作流信息
难度等级
中级
节点数量14
分类2
节点类型12
作者
Paul
@diagoplAutomation expert & n8n power user. I build advanced workflows combining AI, outbound, and business logic. Grab my templates or reach out for custom builds.
外部链接
在 n8n.io 查看 →
分享此工作流