Templates / Generate AI stock buy/no-buy signals using GPT‑4.1, Google Sheets and EODHD

Generate AI stock buy/no-buy signals using GPT‑4.1, Google Sheets and EODHD

Ready for 3.0

by Kevin Meneses ✓ · 509 views · created 2025-12-31 · Crypto Trading, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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”.

  1. Get row(s) in sheet (Google Sheets): uses Google Sheets
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Fetch stock fundamentals (EODHD) (HTTP Request): calls an HTTP API
  4. Fetch OHLC price data (EODHD) (HTTP Request): calls an HTTP API
  5. Merge: merges the data from its input branches
  6. Compute indicators and growth score (Code): runs custom JavaScript code
  7. Normalize OHLC data (Code): runs custom JavaScript code
  8. Generate AI stock analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  9. Code: runs custom JavaScript code
  10. Prepare data for Google Sheets (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

Google SheetsOpenAI Chat Model

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)

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 -…

Excerpt from Kevin Meneses 's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.