Financial data Q&A chatbot with Google Finance, SerpAPI, and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 5 nodes and runs from “SerpAPI Finance Search” (no trigger node, so run it manually or call it from another workflow). Along the way it connects OpenAI Chat Model. It also calls serpapi.com over HTTP.
How it runs
Trigger: From “SerpAPI Finance Search” (no trigger node, so run it manually or call it from another workflow).
- SerpAPI Finance Search (HTTP Request): calls serpapi.com
- Turn Objects to Text (Edit Fields (Set)): sets 1 field: data
- Chat with Google Finance (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
Services it uses
HTTP calls to: serpapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Replace YOURAPIKEY with your actual SerpApi key. 2️⃣ Set Up OpenAI Connection 1. Go to OpenAI Platform 2. Navigate to Billing and ensure your account has credits/funding 3. Copy your API Key into the OpenAI credentials in n8n --- 🧠 Workflow Breakdown 1. Chat…