Fetch real-time stock quotes to Google Sheets with OpenAI, Octagon and GitHub

Go to Workflow
35 views
Built by Octagon Octagon
Created on June 05, 2026

Description

Octagon Stock Quote Skill → Google Sheets

Automate real-time stock quote enrichment in Google Sheets using n8n, OpenAI, and Octagon Agent. This workflow reads ticker symbols from a spreadsheet, fetches the live stock-quote Skill from GitHub, uses an OpenAI prompt-builder step to generate the best Octagon Agent query, executes the quote request through Octagon, then writes structured market data back into Google Sheets.

How this n8n workflow works

Fetches the live SKILL.md file from GitHub using the provided skills_url.
Reads ticker rows from Google Sheets.
Loops through each ticker symbol.
OpenAI acts as a prompt builder and creates a clean, ticker-specific Octagon Agent prompt.
Octagon Agent executes the real-time stock quote request.
A code node parses the Octagon response into structured fields.
Google Sheets is updated with quote data such as current price, change, volume, day range, 52-week range, market cap, exchange, date, and the full Octagon response.








Nodes Used (4)

Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenAI
@n8n/n8n-nodes-langchain.openAi