Templates / Summarize portfolio reviews, flag compliance risk with GPT-4o and Google Sheets

Summarize portfolio reviews, flag compliance risk with GPT-4o and Google Sheets

Needs changes

by Swapnil Mandloi ✓ · 1 views · created 2026-10-14 · Document Extraction, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Google Sheets, Gmail and Telegram.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Normalize Input (Edit Fields (Set)): sets 6 fields: clientName, advisorName, advisorEmail…
  2. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  3. Shape Output (Edit Fields (Set)): sets 8 fields: clientName, advisorName, advisorEmail…
  4. Log Review to Compliance Tracker (Google Sheets): append
  5. Route by Compliance Risk (Switch): routes items into 3 branches
  6. Alert Compliance Officer (Gmail): uses Gmail
  7. Send Advisor Summary Email (Gmail): uses Gmail
  8. Alert Compliance Team (High Risk) (Telegram): uses Telegram

Services it uses

OpenAI Chat ModelGoogle SheetsGmailTelegram

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent - Summarize & Flag Compliance Risk (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent - Summarize & Flag Compliance Risk (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Quick overview This workflow receives advisor portfolio review meeting notes via a webhook, uses OpenAI GPT-4o to generate a structured summary and compliance-risk flags, logs the results to Google Sheets, and then notifies the advisor via Gmail, escalating…

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