Templates / Send weekly AI portfolio reports with Google Sheets, Gmail and Groq

Send weekly AI portfolio reports with Google Sheets, Gmail and Groq

Ready for 3.0

by WeblineIndia ✓ · 12 views · created 2026-05-09 · Document Extraction, 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 AI workflow has 12 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”.

  1. Get Client Data from Google Sheets (Google Sheets): uses Google Sheets
  2. Process Clients in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Compute Investment, Profit & Growth (Code): runs custom JavaScript code
  4. Generate Weekly Portfolio Report (AI Agent): runs an AI agent, with model: Generate Weekly Portfolio Report
  5. Prepare AI Output for Formatting (Code): runs custom JavaScript code
  6. Format Report (Code): runs custom JavaScript code
  7. Pause Before Sending Email (Wait): pauses before continuing
  8. Prepare Data for Sheet (Edit Fields (Set)): sets 4 fields: Current Value, Email, formattedReport…
  9. Send Report via Gmail (Gmail): uses Gmail
  10. Update Client Status in Sheet (Google Sheets): update

Services it uses

Google SheetsGroq Chat ModelGmail

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 (9)

From the author

Weekly Client Report Generator This workflow automatically generates weekly portfolio reports for clients using their investment data from Google Sheets. It calculates profit, growth and other key metrics, formats a professional report, sends it via Gmail and…

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.