利用GPT-4o和SerpAPI识别用于购买的热门终端产品
高级
这是一个AI领域的自动化工作流,包含 26 个节点。主要使用 Merge, Aggregate, Agent, ChatTrigger, ToolSerpApi 等节点,结合人工智能技术实现智能自动化。 基于GPT-4o和SerpAPI的AI驱动产品研究与比较
前置要求
- •OpenAI API Key
使用的节点 (26)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "E83gUT3zpziY06CJ",
"meta": {
"instanceId": "d92ae4b43988b888be9e59a711908a679453e558f86530d2ed2c1c3491f22bf5"
},
"name": "利用 GPT-4o 和 SerpAPI 识别用于购买的热门终端产品",
"tags": [],
"nodes": [
{
"id": "947b3118-19f5-4f91-9fa2-11ec04f955fa",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-660,
1060
],
"webhookId": "61740614-aad1-4cb3-84a9-8090f67a4bcd",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "5c2efc66-bbdf-47d8-b6fe-223467aaf5d5",
"name": "OpenAI 聊天模型 1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-360,
1300
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "81ef7f2d-1bab-4891-86d1-24669e8acbcb",
"name": "窗口缓冲记忆1",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-220,
1300
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c5724fcc-1740-4efe-bd53-34f8f4746d20",
"name": "SerpAPI1",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
-100,
1300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3ddfa322-69d8-4f77-b1f2-ed38b41fa6c8",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
40,
1300
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "65cfae11-7e46-4722-9745-495207168b66",
"name": "合并1",
"type": "n8n-nodes-base.merge",
"position": [
1420,
1020
],
"parameters": {},
"typeVersion": 3
},
{
"id": "b6a2894c-fce5-46bd-8c1e-3cf7a470f274",
"name": "聚合1",
"type": "n8n-nodes-base.aggregate",
"position": [
1660,
1060
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dfcf324b-7726-4a2d-88f2-1b3d3ad13c10",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1880,
1240
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "373b43c5-0073-4d62-bb2d-0e7db8c90e27",
"name": "SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
900,
600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6bd27fb8-fbc6-46ca-ab6e-55de783dfce5",
"name": "SerpAPI3",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
900,
1240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1ff649d8-4486-492e-8585-40fae0577b3c",
"name": "SerpAPI4",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
900,
1600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7e43b85c-8b65-4ce1-8441-25a977f450af",
"name": "SerpAPI5",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
900,
1960
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dc0b29fc-ad70-4349-971a-c460c93c148e",
"name": "OpenAI 聊天模型 2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
620,
600
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "77f9fe28-e0dd-4dce-a963-0f5f0c983c20",
"name": "SerpAPI2",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
900,
920
],
"parameters": {},
"typeVersion": 1
},
{
"id": "026f54c0-15cf-4213-95e4-636f6db63bc0",
"name": "OpenAI聊天模型3",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
620,
920
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b4bf906b-eb7d-4859-bbac-faa286d52aae",
"name": "OpenAI聊天模型4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
620,
1240
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "991f273d-9c42-4bbd-9138-d4aacb940108",
"name": "OpenAI聊天模型5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
620,
1600
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "9044ad4c-7bed-4df4-a34f-5b102c247c00",
"name": "OpenAI聊天模型6",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
640,
1940
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a4c6a71f-4dcf-4a8f-ab8a-e68d6d12e6e3",
"name": "项目查找器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-220,
1060
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "382e28d2-3526-47f3-83db-3875403d2e27",
"name": "评审员 1",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
680,
420
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "bfd3ffa9-83af-4d5f-af82-54290b251412",
"name": "评审员 2",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
680,
740
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "51b222a9-e44b-46fe-95ac-d34eefeb2013",
"name": "评审员 3",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
700,
1060
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "2b23e388-0bec-42b1-8f78-147a7097bfe7",
"name": "评审员 4",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
700,
1400
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "a144739d-d7f1-48c1-9fcd-f9cfd6842d44",
"name": "评审员 5",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
700,
1760
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "ba725e88-621f-417b-bdb2-358cb0ec18d6",
"name": "编译器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1940,
1060
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "dab84cc6-d029-4238-9f6e-7b40eee00df8",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
320
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "f7002b47-7e2f-44a2-837c-8cb43e6e7a1f",
"connections": {
"Merge1": {
"main": [
[
{
"node": "Aggregate1",
"type": "main",
"index": 0
}
]
]
},
"SerpAPI": {
"ai_tool": [
[
{
"node": "Reviewer 1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Compiler": {
"main": [
[]
]
},
"SerpAPI1": {
"ai_tool": [
[
{
"node": "Item Finder",
"type": "ai_tool",
"index": 0
}
]
]
},
"SerpAPI2": {
"ai_tool": [
[
{
"node": "Reviewer 2",
"type": "ai_tool",
"index": 0
}
]
]
},
"SerpAPI3": {
"ai_tool": [
[
{
"node": "Reviewer 3",
"type": "ai_tool",
"index": 0
}
]
]
},
"SerpAPI4": {
"ai_tool": [
[
{
"node": "Reviewer 4",
"type": "ai_tool",
"index": 0
}
]
]
},
"SerpAPI5": {
"ai_tool": [
[
{
"node": "Reviewer 5",
"type": "ai_tool",
"index": 0
}
]
]
},
"Aggregate1": {
"main": [
[
{
"node": "Compiler",
"type": "main",
"index": 0
}
]
]
},
"Reviewer 1": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Reviewer 2": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"Reviewer 3": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 2
}
]
]
},
"Reviewer 4": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 3
}
]
]
},
"Reviewer 5": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 4
}
]
]
},
"Item Finder": {
"main": [
[
{
"node": "Reviewer 1",
"type": "main",
"index": 0
},
{
"node": "Reviewer 2",
"type": "main",
"index": 0
},
{
"node": "Reviewer 3",
"type": "main",
"index": 0
},
{
"node": "Reviewer 4",
"type": "main",
"index": 0
},
{
"node": "Reviewer 5",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Compiler",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Item Finder",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "Reviewer 1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model3": {
"ai_languageModel": [
[
{
"node": "Reviewer 2",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model4": {
"ai_languageModel": [
[
{
"node": "Reviewer 3",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model5": {
"ai_languageModel": [
[
{
"node": "Reviewer 4",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model6": {
"ai_languageModel": [
[
{
"node": "Reviewer 5",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Window Buffer Memory1": {
"ai_memory": [
[
{
"node": "Item Finder",
"type": "ai_memory",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Item Finder",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "Item Finder",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
基于GPT-4o和SerpAPI的AI驱动在线工具查找器
使用GPT-4o和SerpAPI研究查找并比较在线工具
Merge
Aggregate
Agent
+6
26 节点AiAgent
市场调研
在Braze中更新现有邮件模板
使用AI为Instagram、Facebook、LinkedIn和X自动化社交媒体内容
Set
Gmail
Merge
+22
73 节点LukaszB
设计
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
构建与销售AI自动化与智能体
构建与销售AI自动化与智能体
If
Set
Wait
+15
74 节点NICKYAI
其他
AI智能助手:与Supabase存储和Google Drive文件对话
AI智能助手:与Supabase存储和Google Drive文件对话
If
Set
Wait
+20
62 节点Mark Shcherbakov
工程
AI智能助手与Airtable对话及数据分析
AI智能助手与Airtable对话及数据分析
If
Set
Merge
+12
41 节点Mark Shcherbakov
工程
工作流信息
难度等级
高级
节点数量26
分类1
节点类型9
作者
AiAgent
@lifehacksAs a self-taught entrepreneur, I’m passionate about automating everyday tasks to simplify life. Every system I create is designed to enhance efficiency and free up valuable time. Once I perfect an automation that transforms my own routine, I’m excited to share it with you—so you can experience the same benefits.
外部链接
在 n8n.io 查看 →
分享此工作流