Templates / Monitor refund and chargeback ratio spikes with Google Sheets, Gemini, and Slack

Monitor refund and chargeback ratio spikes with Google Sheets, Gemini, and Slack

Ready for 3.0

by WeblineIndia ✓ · 0 views · created 2026-10-13 · 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 12 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Sheets, Google Gemini and Slack.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. Configure Monitor Settings (Edit Fields (Set)): sets 7 fields: thresholdMultiplier, monitoringDateOverride, spreadsheetId…
  2. Read Sales Data (Google Sheets): uses Google Sheets
  3. Read Refund Chargeback Data (Google Sheets): uses Google Sheets
  4. Calculate Refund Chargeback Metrics (Code): runs custom JavaScript code
  5. Refund Ratio Spike? (If): checks a condition and branches into true / false
  6. Generate Diagnostic Summary (Google Gemini): uses Google Gemini
  7. Prepare Normal Snapshot (Code): runs custom JavaScript code
  8. Prepare Anomaly Snapshot (Code): runs custom JavaScript code
  9. Log Normal Snapshot (Google Sheets): append
  10. Log Ratio Snapshot (Google Sheets): append

…plus 1 more step. See the full node list below.

Services it uses

Google SheetsGoogle GeminiSlack

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

Quick Overview This workflow runs daily to read sales and refund/chargeback data from Google Sheets, calculates a 7-day refund/chargeback ratio against a 90-day baseline, logs the results back to Google Sheets, and posts a Slack alert with a Google Gemini…

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.