Generate AI stock buy/no-buy signals using GPT‑4.1, Google Sheets and EODHD
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and OpenAI Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch stock fundamentals (EODHD) (HTTP Request): calls an HTTP API
- Fetch OHLC price data (EODHD) (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Compute indicators and growth score (Code): runs custom JavaScript code
- Normalize OHLC data (Code): runs custom JavaScript code
- Generate AI stock analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Code: runs custom JavaScript code
- Prepare data for Google Sheets (Code): runs custom JavaScript code
…plus 1 more step. See the full node list below.
Services it uses
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 (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
What this workflow does This workflow automates end-to-end stock analysis using real market data and AI: - Reads a list of stock tickers from Google Sheets - Fetches fundamental data (valuation, growth, profitability) and OHLCV price data from EODHD APIs -…