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
- Schedule Trigger
- Configure Monitor Settings
- Read Sales Data
- Read Refund Chargeback Data
- Calculate Refund Chargeback Metrics
- Refund Ratio Spike?
- Generate Diagnostic Summary
- Prepare Anomaly Snapshot
- Log Ratio Snapshot
- Send Refund Chargeback Alert
- Prepare Normal Snapshot
- Log Normal Snapshot
Similar automations
Email AutomationBuild chargeback evidence packs with Gmail, Google Sheets, Calendar and DeepSeek23 stepsFinance, Invoices & AccountingScore refund requests for fraud from a webhook with approval checks and audit trail11 stepsAI Agents & AssistantsTriage Shopify refund and fraud requests with Gemini, Sightengine, Jira and Slack19 stepsMonitoring, Ops & IncidentsDetect AWS and GCP cost anomalies with GPT-4o-mini and alert Slack29 steps