Templates / Analyze client portfolio diversification using Google Sheets, OpenAI and Slack

Analyze client portfolio diversification using Google Sheets, OpenAI and Slack

Ready for 3.0

by WeblineIndia ✓ · 16 views · created 2026-05-12 · Market Research, 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 15 nodes and runs on Google Sheets events. Along the way it connects Google Sheets, Slack and OpenAI.

How it runs

Trigger: On Google Sheets events.

  1. Fetch Portfolio Data (Google Sheets): uses Google Sheets
  2. Normalize Portfolio Data (Edit Fields (Set)): sets 3 fields: Stock, Sector, Investment
  3. Validate Data (Sector + Investment) (If): checks a condition and branches into true / false
  4. Compute: Sector Allocation Breakdown (Code): runs custom JavaScript code
  5. Alert: Invalid Data (Slack): uses Slack
  6. Compute: Risk Score & Exposure (Code): runs custom JavaScript code
  7. Compute: Diversification Score (Code): runs custom JavaScript code
  8. AI: Portfolio Insights Generator (OpenAI): uses OpenAI
  9. Transform: Extract AI Response (Edit Fields (Set)): sets 1 field: ai_response
  10. Decision: Overexposure Check (If): checks a condition and branches into true / false

…plus 4 more steps. See the full node list below.

Services it uses

Google SheetsSlackOpenAI

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

From the author

Client Portfolio Diversification Check using n8n, Google Sheets, OpenAI & Slack This n8n workflow automatically analyzes client portfolio data from Google Sheets, evaluates sector allocation, risk level and diversification quality and generates AI-powered…

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.