Skip to main content

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

Workflow preview

Workflow preview
100%
Send weekly AI portfolio reports with Google Sheets, Gmail and Groq preview
Open on n8n.io

1. Workflow Overview

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 ...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.wait, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.

Original n8n.io source

1.1 Workflow description

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

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 updates the client’s status in the sheet.

Quick Steps to Start:

  1. Prepare your Google Sheet with columns: Client, Email, Invested, Current Value, Status.
  2. Connect your Google Sheets and Gmail accounts in n8n.
  3. Start the workflow manually.
  4. The workflow fetches client data, calculates metrics, generates the AI report, formats it in HTML, sends emails and updates the sheet automatically.

What It Does

The Weekly Client Report Generator streamlines weekly client communications for investment portfolios. Using client data from Google Sheets, it calculates total investment, profit and growth for each client. The workflow uses AI to generate a concise, professional report including a summary, key highlights, risk analysis and future outlook.

Reports are automatically formatted in HTML for easy readability and emailed via Gmail. The Google Sheet is updated to mark each client’s report as “Sent,” providing a clear tracking system. A wait node is included to ensure smooth processing and act as a safeguard against Gmail sending limits.

By automating these steps, the workflow saves time, reduces manual errors and ensures consistent, high-quality client reporting.

Who It's For

  • Financial advisors and portfolio managers who send weekly client reports.
  • Small businesses managing multiple clients and investments.
  • Anyone needing automated, personalized reporting using Google Sheets, AI and email.

Requirements to Use This Workflow

  • An active n8n account.
  • Google Sheets account with a prepared client sheet.
  • Gmail account for sending reports.
  • Groq AI or other AI integration configured in n8n for report generation.

How It Works & Setup Guide

Step 1 – Prepare Google Sheet

  • Columns needed: Client, Email, Invested, Current Value, Status.

Step 2 – Connect Accounts

  • Add credentials in n8n for Google Sheets and Gmail.

Step 3 – Start Workflow

  • Trigger the workflow manually using the Start workflow node.

Step 4 – Fetch and Process Client Data

  • Data is pulled from Google Sheets.
  • Clients are processed in batches to ensure accurate calculations.

Step 5 – Calculate Metrics & Generate Report

  • The workflow computes profit and growth for each client.
  • AI generates a simple, professional report summarizing performance, key highlights, risks and future outlook.

Step 6 – Format Report

  • The report is converted into HTML for better readability in emails.

Step 7 – Send Email & Update Sheet

  • The wait node (Pause Before Sending Emai`) acts as a safeguard to manage sending limits.
  • Gmail node sends the report.
  • Google Sheets is updated to mark the report as “Sent.”

How To Customize Nodes

  • Google Sheets Node: Update the document ID and sheet name if your client sheet changes.
  • AI Report Node: Modify the prompt to adjust report style, length or additional sections.
  • Email Node: Change subject, sender or template to fit your branding.
  • Wait Node: Adjust wait duration to manage email rate limits.

Add-ons (Optional Enhancements)

  • Add Slack or Teams notifications when a report is sent.
  • Include charts or graphs generated from client data.
  • Track client engagement by logging email opens.
  • Integrate with other CRM tools for enriched client data.

Use Case Examples

  1. Weekly investment portfolio updates for individual clients.
  2. Automated reporting for financial advisory firms managing multiple clients.
  3. Sending performance summaries for mutual funds or stock portfolios.
  4. Tracking report delivery status for compliance and audit purposes.
  5. Any scenario requiring batch email reporting based on spreadsheet data.

There can be more custom use cases depending on your business needs.

Troubleshooting Guide

Issue: Workflow doesn’t start

  • Possible Cause: Manual trigger not executed
  • Solution: Click the Start workflow node to trigger the workflow

Issue: Emails not sent

  • Possible Cause: Gmail credentials not connected or sending limits exceeded
  • Solution: Reconnect Gmail account and increase wait time in the wait node

Issue: Reports show incorrect data

  • Possible Cause: Google Sheet columns mismatch
  • Solution: Ensure the sheet has correct column names: Client, Email, Invested, Current Value, Status

Issue: AI report not generated

  • Possible Cause: AI credentials missing or API issues
  • Solution: Verify Groq AI credentials and check API quota

Issue: Workflow stops unexpectedly

  • Possible Cause: Node errors or incorrect batch configuration
  • Solution: Check execution logs and ensure batch size is properly configured

Need Help?

If you need assistance setting up, customizing or extending this workflow, our n8n workflow developers at WeblineIndia can help you:

  • Configure AI nodes for your reporting style.
  • Integrate additional add-ons like charts, Slack notifications or CRM systems.
  • Build similar automated workflows tailored to your business needs.

Contact WeblineIndia for expert support and workflow customization.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Start workflow

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Format Report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Prepare Data for Sheet

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Pause Before Sending Email

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - Get Client Data from Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - Process Clients in Batches

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - Compute Investment, Profit & Growth

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Generate Weekly Portfolio Report

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 13 - Generate Weekly Portfolio Report1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 14 - Prepare AI Output for Formatting

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Send Report via Gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 16 - Update Client Status in Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

3. Summary Table

Workflow Send weekly AI portfolio reports with Google Sheets, Gmail and Groq
Complexity advanced
Nodes 16
Categories Document Extraction, AI Summarization
Author WeblineIndia
Published 09 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15568/15568.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send weekly AI portfolio reports with Google Sheets, Gmail and Groq do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.