Protecting Revenue Before It Is Lost
For a Croatian frozen food distributor, churn was silent, slow, and invisible inside the ERP.
Rivermind deployed real-time anomaly detection inside its VENIO ERP: 11 detector modules, 18 signal types, four years of invoice history.

- Client
- Frozen food distributor
- Industry
- Wholesale & Distribution
- Region
- Croatia
- Use case
- Sales Anomaly Detection, AI Churn Prediction
- Churn Recall
- 83.6%
- Revenue Coverage
- 94.7%
- Annualised Risk Flagged
- €2.1M
“No cloud dependency. No data leaving the client environment.”
The challenge
Reactive, Manual Customer Monitoring
Sales reps learned an account was slipping only when a BI report flagged it, usually after the customer was gone.
The VENIO ERP held every invoice and line item, but insights required manual Excel exports nobody had time to run.
What Changed When Rivermind Was DeployedBefore and after.
Before
With Rivermind
Deployment Profile
- Segment: Mid-Market Enterprise
- Deployment: On-Premise ERP
- ERP System: VENIO
- Detector Modules: 11
- Signal Types: 18
- Invoice History: 82,182 / 4 years
- Data Leakage: Zero
Deployment at a glance
- 82,182 invoices analysed
- 283,362 line items processed
- 471 customers monitored daily
- 204 accounts in daily CRITICAL alerts
- 98.6% product classification accuracy
The revenue at stake
- €308,780 at-risk revenue per month
- €17,452 would go undetected without AI
- 140 churned customers in backtest
- 94.7% coverage of all losses now flagged
How It Works: Multi-Detector Ensemble with Intelligent Scoring
The architectural decision: 11 specialised detector modules each capturing a different dimension of customer deterioration, combined through an intelligent scoring layer.
Detectors are deliberately simple — the scorer's job is to separate genuine multi-signal evidence from noise accumulation.
Customer Loss Risk
Missing expected order, order gap acceleration, P(alive) decline
Revenue Decline
Absolute revenue drop, trend deterioration, order value compression
Product Mix Shifts
Category abandonment, product substitution, SKU reduction
Pricing Anomalies
Average unit price decline, discount pattern changes
Behavioural Changes
Order frequency decline, seasonal deviation, account silence
Results: Validated Through Rigorous Backtesting
All metrics measured against the actionable customer set only.
- Churn Recall — 83.6%. 117 of 140 churners flagged CRITICAL. 22 more at lower tiers. Only 1 customer missed.
- Revenue Coverage — 94.7%. €308,780/month in at-risk revenue flagged. Only €17,452/month falls outside detection.
- Product Classification — 98.6%. Croatian food industry text matching despite zero ERP code overlap.
- ML Churn Recall — 90.8%. HistGBT classifier independently catches 9 of 10 future churners.
- Median Early Warning — 43 days. Top early-warning signal fires a median 43 days before a customer's final order.
The backtest validates €2.1M/year in at-risk revenue flagged with 94.7% coverage. With a 43-day median early warning window, the sales team gains enough lead time to intervene before relationships become unrecoverable.
What This Deployment Taught UsLessons from production.
- Keep detectors simple and the scorer smart. That separation keeps the system maintainable.
- Backtest-driven tuning beats intuition. Our reasoned initial weights were significantly wrong.
- Evaluate on the actionable set only. Already-churned customers inflate metrics with trivial wins.
- Seasonal markets need layered handling. One seasonal discount fell short; five mechanisms were required.
- Score distributions matter more than thresholds. The bimodal pattern pointed to the most efficient fix.
More from the field.Other deployments in production.
AML Transaction Monitoring
Cutting false positives inside a regional bank’s compliance stack.
- False Positives Reduced
- 62%
- Faster Resolution
- 40%
- Regulatory Coverage
- 100%
Assess Your Revenue Exposure
Selling across regions, pricing tiers, or distribution partners? Anomaly detection becomes an executive safeguard.

