Templates / Track portfolio performance and risk using Google Sheets and Alpha Vantage

Track portfolio performance and risk using Google Sheets and Alpha Vantage

Ready for 3.0

by Rahul Joshi ✓ · 307 views · created 2026-01-05 · Crypto Trading, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs on a schedule (every 23 hours) (plus 1 other trigger). Along the way it connects Google Sheets and Gmail. It also calls alphavantage.co over HTTP.

How it runs

Trigger: On a schedule (every 23 hours) (plus 1 other trigger).

  1. Read portfolio holdings (Google Sheets): uses Google Sheets
  2. Send error notification email (Gmail): uses Gmail
  3. Process each stock (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Fetch daily stock prices (HTTP Request): calls alphavantage.co
  5. Calculate returns and risk metrics (Code): runs custom JavaScript code
  6. Update portfolio performance (Google Sheets): append or update

Services it uses

Google SheetsGmail

HTTP calls to: alphavantage.co

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

📄 Description This workflow helps users track and understand the performance of their stock portfolio in an automated and structured way. It reads portfolio holdings from Google Sheets, fetches the latest market prices, calculates key performance metrics,…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.