Templates / Flag B2B churn-risk orders from Google Sheets with Gemini and Slack alerts

Flag B2B churn-risk orders from Google Sheets with Gemini and Slack alerts

Ready for 3.0

by iamvaar ✓ · 2 views · created 2026-10-08 · 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 22 nodes and runs on a schedule (cron 0 2 * * *). Along the way it connects Google Sheets, Google Gemini Chat Model, Slack and Gmail.

How it runs

Trigger: On a schedule (cron 0 2 * * *).

  1. Set Config Parameters (Edit Fields (Set)): sets 2 fields: spreadsheet_id, cooldown_days
  2. Fetch Orders from Sheets (Google Sheets): uses Google Sheets
  3. Limit: keeps the first few items
  4. Filter: keeps only the items that match a condition
  5. Fetch Baselines from Sheets (Google Sheets): uses Google Sheets
  6. Merge: merges the data from its input branches
  7. Filter: keeps only the items that match a condition
  8. Detect Order Anomalies (Code): runs custom JavaScript code
  9. If: checks a condition and branches into true / false
  10. Check Alert Cooldown (If): checks a condition and branches into true / false

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

Services it uses

Google SheetsGoogle Gemini Chat ModelSlackGmail

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

From the author

Quick overview Youtube Video: https://youtu.be/yjCtj3-QLws This workflow runs daily and monitors new B2B order rows in Sheets, compares them to account baselines, and flags churn-risk anomalies. For qualifying accounts, it uses Gemini to generate a structured…

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