Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Alert on refund and chargeback ratio spikes using Google Sheets, Gemini and Slack

On a schedule, compares recent refund and chargeback activity with a 90-day baseline in Google Sheets, logs the ratios, and posts a Slack alert when a spike exceeds the threshold.

What it does

## Refund/Chargeback Ratio Anomaly Monitor for Small Sellers This workflow automatically monitors a seller’s sales, refunds, and chargebacks, compares recent refund/chargeback activity with the seller’s normal historical behavior, logs the results in Google Sheets, and sends a Slack alert when an unusual spike is detected. ### Setup steps 1. Connect Google Sheets and prepare Sales, Refunds, and Ratio Monitor Log sheets. 2. Add the Google Sheets Spreadsheet ID in the workflow settings. 3. Configure the 90-day baseline and 7-day monitoring period. 4. Set the anomaly threshold, normally 2× the historical baseline. 5. Connect Gemini for diagnostic summaries. 6. Connect Slack and set the alert channel. 7. Add the required Google Sheets, Gemini, and Slack credentials. 8. Test with sample sales/refund data, then activate the daily workflow

The steps

  1. Schedule Trigger
  2. Configure Monitor Settings
  3. Read Sales Data
  4. Read Refund Chargeback Data
  5. Calculate Refund Chargeback Metrics
  6. Refund Ratio Spike?
  7. Generate Diagnostic Summary
  8. Prepare Anomaly Snapshot
  9. Log Ratio Snapshot
  10. Send Refund Chargeback Alert
  11. Prepare Normal Snapshot
  12. Log Normal Snapshot

Similar automations