πŸ“ˆ Track weekly portfolio risk using GPT-4.1, Slack alerts, and Google Sheets

⚑ 105 views Β· πŸ“ˆ Crypto Trading & Stock Market

Description

πŸ“Š Description This workflow reads your portfolio from Google Sheets, fetches market data, evaluates key risk factors such as sector concentration, volatility, and stock correlation, and generates an easy-to-understand risk summary using AI. When meaningful risk is detected, the workflow sends a structured alert to Slack and stores a weekly risk snapshot in Google Sheets for tracking trends over time. This automation is designed to help investors, analysts, and teams understand portfolio risk clearly without manual analysis or constant monitoring.

πŸ” What This Workflow Does

1️⃣ Runs automatically on a weekly schedule using a Schedule Trigger 2️⃣ Reads portfolio holdings from Google Sheets 3️⃣ Validates portfolio data to ensure required fields are present 4️⃣ Processes stocks in batches to avoid API rate limits 5️⃣ Fetches historical price data from Alpha Vantage 6️⃣ Normalizes market data into a consistent structure 7️⃣ Calculates portfolio-level risk metrics. 8️⃣ Generates a single portfolio risk score and risk flag 9️⃣ Uses AI to explain detected risks in simple language πŸ”Ÿ Sends a clear weekly risk alert to Slack 1️⃣1️⃣ Stores a summarized weekly risk snapshot in Google Sheets 1️⃣2️⃣ Handles invalid data safely to avoid noisy or misleading alerts

⭐ Key Benefits

βœ… Understand portfolio risk at a glance βœ… Detect sector overexposure and diversification issues early βœ… Receive only meaningful, high-signal alerts βœ… Simple AI explanations instead of raw numbers βœ… Automatic weekly risk history stored in Google Sheets βœ… No financial advice, only analytical insights βœ… Designed for reuse and easy customization

🧩 Features

πŸ” Requirements

🎯 Target Audience

πŸ”— Nodes Used

Google Sheets, HTTP Request, Slack, Schedule Trigger, AI Agent, OpenAI Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup