Log gold and silver prices and email Groq insights with Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Groq Chat Model and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Asset Roster (Code): runs custom JavaScript code
- Loop Commodity (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch Historical Data (Google Sheets): uses Google Sheets
- Fetch Gold Price API (HTTP Request): calls an HTTP API
- Calculate Monthly Averages (Summarize): summarizes / groups the items
- Format Data for Sheet (Edit Fields (Set)): sets 4 fields: ID, Price, Month…
- Combine Data for AI (Code): runs custom JavaScript code
- Check Today's Price (Google Sheets): uses Google Sheets
- Generate Financial Insights (AI Agent): runs an AI agent, with model: Groq Chat Model
- Calculate Max Price (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Groq + Google Sheets templates (156) · Other Groq + Gmail templates (125)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Summarize
n8n-nodes-base.summarize - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Gmail
n8n-nodes-base.gmail - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Quick Overview This workflow manually logs daily Gold and Silver prices from GoldAPI into Google Sheets, summarizes historical monthly averages, generates seasonal insights with Groq (LLM), builds QuickChart bar charts, and emails a formatted report via…