AI Agents - 实时研究
中级
这是一个Market Research, AI Chatbot领域的自动化工作流,包含 9 个节点。主要使用 Agent, ToolSerpApi, LmChatOpenAi, ManualChatTrigger, LmChatGoogleGemini 等节点。 使用 Gemini AI 和 SerpAPI 搜索的自动化实时网络研究
前置要求
- •OpenAI API Key
- •Google Gemini API Key
使用的节点 (9)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "H2W1Jyu1gKhpQk52",
"meta": {
"instanceId": "ed6d846a2fce1f660ede2e7da800724cca01dc3d0685524a3c917881b7cfcfe9",
"templateCredsSetupCompleted": true
},
"name": "AI Agents - 实时研究",
"tags": [],
"nodes": [
{
"id": "a2b142d1-90ea-42ae-9907-8bc5c4241221",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.manualChatTrigger",
"position": [
-200,
0
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "358ad390-f42b-411a-8c09-43ddfc406896",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
160,
380
],
"parameters": {
"model": "gpt-4",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "qULV9xA6eq3tfpye",
"name": "OpenAi - nhu.le"
}
},
"typeVersion": 1
},
{
"id": "9dce7253-4994-47f5-a8db-dd7b64f28eb4",
"name": "窗口缓冲记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
320,
220
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "7cf5d7f7-b52b-4512-ba66-7377963b8ce2",
"name": "SerpAPI - 研究",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
500,
220
],
"parameters": {
"options": {}
},
"credentials": {
"serpApi": {
"id": "2ZhdogyvgJsETC97",
"name": "SerpAPI - toan.ngo"
}
},
"typeVersion": 1
},
{
"id": "a590584e-ff8e-4db7-b793-cd0c43dab1b0",
"name": "AI Agents - 实时研究",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
260,
0
],
"parameters": {
"options": {}
},
"typeVersion": 1.6
},
{
"id": "aaa5e82d-a0ff-4541-936d-2ddcefe447ac",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
-300
],
"parameters": {
"color": 4,
"width": 360,
"height": 820,
"content": "## 1. 当收到聊天消息时启动"
},
"typeVersion": 1
},
{
"id": "77bea2dc-9e15-4cbf-8865-945778138559",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1120,
-300
],
"parameters": {
"width": 740,
"height": 1420,
"content": "## [n8n 自动化] 实时研究 AI Agent - 试试看!"
},
"typeVersion": 1
},
{
"id": "b53905ce-0343-4713-9267-6f9b280a5be8",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
-300
],
"parameters": {
"color": 4,
"width": 660,
"height": 820,
"content": "## 2. 处理请求并返回响应"
},
"typeVersion": 1
},
{
"id": "b3e0c845-deaa-4147-940b-92efb4ef9475",
"name": "Google Gemini聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
160,
220
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash"
},
"credentials": {
"googlePalmApi": {
"id": "AlDwotqhFT4EfJXQ",
"name": "Google Gemini(PaLM) Api - toan.ngo"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "404f0c7d-c796-40c6-b0e6-7944f1223081",
"connections": {
"OpenAI Chat Model": {
"ai_languageModel": [
[]
]
},
"SerpAPI - Research": {
"ai_tool": [
[
{
"node": "AI Agents - Real Time Research",
"type": "ai_tool",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "AI Agents - Real Time Research",
"type": "ai_memory",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agents - Real Time Research",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agents - Real Time Research",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 市场调研, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
基于GPT-4o和SerpAPI的AI驱动在线工具查找器
使用GPT-4o和SerpAPI研究查找并比较在线工具
Merge
Aggregate
Agent
+6
26 节点AiAgent
市场调研
YouTube观众评论分析器
使用Gemini AI分析YouTube评论情感并保存到Google Sheets
If
Split Out
Http Request
+7
17 节点Agent Circle
市场调研
Telegram AI研究助手(GPT-4o mini + DeepSeek R1 + SerpAPI)
Telegram AI研究助手(GPT-4o mini + DeepSeek R1 + SerpAPI)
Telegram
Agent
Telegram Trigger
+5
13 节点Arlin Perez
个人效率
ServiceNow L1支持代理
基于GPT-4的ServiceNow聊天分流——事件与请求路由
Service Now
Http Request
Agent
+7
15 节点Tushar Mishra
AI 聊天机器人
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
Set
Switch
Whats App
+26
213 节点Electrabot
个人效率
WhatsApp/Telegram WooCommerce订单支持
通过Telegram和Gmail使用Gemini和GPT自动化WooCommerce客户支持
Set
Gmail
Merge
+10
25 节点AppStoneLab Technologies LLP
客服机器人
工作流信息
难度等级
中级
节点数量9
分类2
节点类型7
作者
Agent Circle
@agentcircleAgent Circle - A growing marketplace of AI agents, workflows, and toolkits — built to help teams automate smarter and scale faster
外部链接
在 n8n.io 查看 →
分享此工作流