Templates / Classify churn and send monthly SaaS reports with Notion, Sheets and Gemini

Classify churn and send monthly SaaS reports with Notion, Sheets and Gemini

Ready for 3.0

by WeblineIndia ✓ · 0 views · created 2026-10-01 · CRM, 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 20 nodes and runs on Notion events (plus 1 other trigger). Along the way it connects Notion, Google Sheets, Google Gemini Chat Model and Gmail and 1 more.

How it runs

Trigger: On Notion events (plus 1 other trigger).

  1. Format Cancellation Data (Edit Fields (Set)): sets 3 fields: customer_id, Cancellation Date, revenue
  2. Fetch Churn Log (Google Sheets): uses Google Sheets
  3. Fetch Dunning History (Google Sheets): uses Google Sheets
  4. Calculate Monthly Metrics (Code): runs custom JavaScript code
  5. Validate Dunning Window (Code): runs custom JavaScript code
  6. Generate AI Narrative (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Engine; output parser: Enforce JSON Schema
  7. Is Involuntary Churn? (If): checks a condition and branches into true / false
  8. Extract Report Data (Edit Fields (Set)): sets 2 fields: report_title, summary
  9. Assign Churn Category (Edit Fields (Set)): sets 2 fields: Churn Type, Classification Notes
  10. Email Executive Report (Gmail): uses Gmail

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

Services it uses

NotionGoogle SheetsGoogle Gemini Chat ModelGmailSlack

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

From the author

Quick overview This workflow monitors cancellation records in Notion, checks related payment-failure (dunning) history in Google Sheets to classify churn as involuntary or voluntary, logs each result to a churn log sheet, and then runs a monthly rollup that…

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.