Fetch real-time stock quotes to Google Sheets with OpenAI, Octagon and GitHub
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI, Google Sheets and Octagon (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Stock Quote Task and Skill URL (Edit Fields (Set)): sets 2 fields: task, skills_url
- Fetch Stock Quote Skill from GitHub (HTTP Request): calls an HTTP API
- Read Stock Tickers from Sheets (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
- Loop Over Stock Tickers (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Stock Quote Prompt (OpenAI): uses OpenAI
- Execute Octagon Agent (Octagon Agents): uses Octagon Agents
- Parse Octagon Quote Response (Code): runs custom JavaScript code
- Update Stock Quote Rows in Sheets (Google Sheets): update
- Wait: waits 1 seconds
Services it uses
Other OpenAI + Google Sheets templates (2,011)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-octagon is verified or supports 3.0 (used in Execute Octagon Agent).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
@n8n/n8n-nodes-langchain.openAi - Octagon Agents
n8n-nodes-octagon.octagonAgents - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code
From the author
Quick overview Automates real-time stock quote enrichment in Google Sheets using n8n, OpenAI, and the Octagon Agent. Reads ticker symbols from a spreadsheet, fetches a live quote Skill from GitHub, and writes structured market data back to the sheet. How it…