Templates / Generate client portfolio summaries using Google Sheets, NewsAPI, Gemini and Gmail

Generate client portfolio summaries using Google Sheets, NewsAPI, Gemini and Gmail

Ready for 3.0

by WeblineIndia ✓ · 27 views · created 2026-04-27 · 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-10-19.

What this workflow does

This AI workflow has 12 nodes and runs on Google Sheets events (row added). Along the way it connects Google Gemini, Gmail and Google Sheets. It also calls memic-nse-quotes-api.hf.space and newsapi.org over HTTP.

How it runs

Trigger: On Google Sheets events (row added).

  1. Cleans & standardizes (Edit Fields (Set)): sets 4 fields: Name, Quantity, Purchase Price…
  2. Fetch Live Stock Prices (HTTP Request): calls memic-nse-quotes-api.hf.space
  3. Iterate Stocks for News (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Calculate Portfolio Metrics (Code): runs custom JavaScript code
  5. Combining All News Articles (Code): runs custom JavaScript code
  6. Wait: pauses before continuing
  7. Combine Portfolio + News (Merge): merges the data from its input branches
  8. Fetch Stock News (HTTP Request): calls newsapi.org
  9. Final Data Formatter (Code): runs custom JavaScript code
  10. Generate Portfolio Summary (Google Gemini): uses Google Gemini

…plus 1 more step. See the full node list below.

Services it uses

Google GeminiGmailGoogle Sheets

HTTP calls to: memic-nse-quotes-api.hf.space, newsapi.org

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.

Nodes used (9)

From the author

Client Portfolio Summary Generator > Google Sheets, NewsAPI, Gemini AI & Gmail This workflow automatically analyzes your stock portfolio whenever a new row is added to Google Sheets. It fetches live stock prices, calculates gains/losses, gathers relevant…

Excerpt from WeblineIndia'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.