I built an n8n workflow that analyzes investments automatically.
The workflow:
Google Sheets → Market Data → JavaScript → AI → Google Sheets
It works by:
- 📊 Reading the stock/ETF ticker from Google Sheets.
- 📈 Getting historical market prices.
- 💻 Using JavaScript to calculate indicators like SMA20, SMA50, and RSI.
- 🤖 Sending the results to an AI model to explain what the numbers mean in simple language.
- 📝 Writing the AI analysis back into Google Sheets.
Right now, I run it manually with Execute Workflow. My next step is to add a schedule trigger so the workflow can run automatically.
I’m learning how to combine APIs, JavaScript, AI, and automation to build practical tools—not just learning AI theory. 🚀