Skip to main content

Fetch live commodity quotes with Octagon, OpenAI (GPT-5.4 Mini) and Google Sheets

Workflow preview

Workflow preview
100%
Fetch live commodity quotes with Octagon, OpenAI (GPT-5.4 Mini) and Google Sheets preview
Open on n8n.io

1. Workflow Overview

Quick overview Automatically fetches live commodity quotes (gold, silver, crude oil, natural gas, and more) using an Octagon AI Agent, then writes prices, changes, ranges, volume, and moving averag...

Best for

  • Crypto Trading automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.filter, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.openai, n8n-nodes-octagon.octagonagents, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Octagon.

Original n8n.io source

1.1 Workflow description

Title
Fetch live commodity quotes with Octagon, OpenAI (GPT-5.4 Mini) and Google Sheets
Workflow name
Fetch live commodity quotes with Octagon, OpenAI (GPT-5.4 Mini) and Google Sheets

Quick overview

Automatically fetches live commodity quotes (gold, silver, crude oil, natural gas, and more) using an Octagon AI Agent, then writes prices, changes, ranges, volume, and moving averages back to a Google Sheet.

How it works

  1. Reads commodity symbols (GCUSD, SIUSD, CLUSD, NGUSD, etc.) from a Google Sheet.
  2. Fetches the live commodities-quote Skill from GitHub and builds an Octagon Agent prompt for each symbol.
  3. Calls the Octagon Agent for real-time quotes and parses the response.
  4. Writes the price, change, ranges, volume, and moving averages back to the sheet.

Setup

  1. Set aside about 5 minutes to complete the configuration.
  2. Connect your Google Sheets, OpenAI, and Octagon credentials.
  3. Point the Sheets nodes at your commodities sheet, making sure it has a Symbol or Ticker column.
  4. Ensure date ranges are in the Sheet.
  5. Review the sticky notes inside the workflow for detailed configuration notes.

Requirements

  • Google Sheets account and credentials
  • OpenAI credentials (GPT-5.4 Mini)
  • Octagon Agent credentials
  • A Google Sheet with a Symbol or Ticker column

Customization

  • Add or remove commodity symbols in the sheet to track different markets
  • Adjust which data fields (price, change, ranges, volume, moving averages) get written back

Additional info

This template replaces an older description format. Detailed configuration notes live in the sticky notes inside the workflow.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Manual Workflow Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 8 - Set Commodities Task and Skill URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Filter Valid Commodity Symbols

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 10 - Loop Over Commodity Symbols

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - Create Commodities Quote Prompt

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2.1

Block 12 - Execute Octagon Agent

Type / Role
n8n-nodes-octagon.octagonAgents - octagonAgents
Config choices
Version 1

Block 13 - Update Commodities in Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 14 - Wait 1 Second

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 15 - Read Commodity Symbols in Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 16 - Fetch Commodities Skill from GitHub

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - Parse Commodities Quote Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Fetch live commodity quotes with Octagon, OpenAI (GPT-5.4 Mini) and Google Sheets
Complexity advanced
Nodes 17
Categories Crypto Trading, AI RAG
Author Octagon
Published 15 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15744/15744.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Fetch live commodity quotes with Octagon, OpenAI (GPT-5.4 Mini) and Google Sheets do?

Quick overview Automatically fetches live commodity quotes (gold, silver, crude oil, natural gas, and more) using an Octagon AI Agent, then writes prices, changes, ranges, volume, and moving averag...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI RAG use case.