Automated real-time web research with Gemini AI and SerpAPI search
Needs changesWhat this workflow does
This AI workflow has 6 nodes and runs on Manual Chat events. Along the way it connects OpenAI Chat Model, SerpApi (Google Search) and Google Gemini Chat Model.
How it runs
Trigger: On Manual Chat events.
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (SerpAPI - Research); memory: Window Buffer Memory
- OpenAI Chat Model: uses OpenAI Chat Model
Services it uses
Before you upgrade to n8n 3.0
3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Manual Chat Trigger in When chat message received: replace with Chat Trigger.
- SerpApi (Google Search) in SerpAPI - Research: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
- AI Agent v1 (old agent modes) in AI Agents - Real Time Research (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Manual Chat Trigger When chat message received | Chat Trigger |
| SerpApi (Google Search) SerpAPI - Research | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
| AI Agent v1 (old agent modes) AI Agents - Real Time Research (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (6)
- Manual Chat Trigger
@n8n/n8n-nodes-langchain.manualChatTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
This workflow demonstrates how to automate live information gathering, fact-checking, and trend analysis in response to any chat message - using a powerful AI agent, memory, and a real-time search tool. Use cases are many: This is perfect for researchers…