On this page7
Eleven years of messy data turned into forecasts the sales side can act on.
- Lines of code
- 42K
- Years of data
- 11
- CRM schemas merged
- 3
At a glance
- Area
- Data and forecasting
- My role
- Sole engineer: design, build, deploy and run
- Built with
- Node.js, Express, MySQL
- Area
- Data and forecasting
- My role
- Sole engineer: design, build, deploy and run
- Built with
- Node.js, Express, MySQL
The problem with eleven years of CRM data
Eleven years of CRM data were split across 3 incompatible schemas, from 2015, 2020 and 2024.
What the system does
It merged the 3 schemas and gives CRM intelligence across all 11 years of data. It predicts customer buying cycles and drives upsells.
Inside the platform
Real screens from the system. Customer names, product names and money amounts are hidden.
Customer frequency analysis
Enter a customer code and the system reads that customer's full order history.

What the frequency analysis reads from the orders
- Orders: Total, paid and draft or cancelled orders, with deal value
- Intervals: Average, median, standard deviation and variation of the gaps between orders
- Behaviour: Pattern stability, lifecycle stage, rush orders and long gaps
- History: Every gap between orders, colour-coded from same day to long gap
- Advice: A plain-language reading of the pattern for sales, with a risk warning
- Prediction: The next expected order, with a confidence level and a date window
- Alert: Overdue customers flagged, with a recommended action
Predictive forecast
Past orders and projected orders on one timeline, split at today.
Past
Paid orders across the customer's history
Future
A dashed projection of expected orders
Summary
Historical period, projection period, past and predicted orders, average interval and next expected date
Past
Paid orders across the customer's history
Future
A dashed projection of expected orders
Summary
Historical period, projection period, past and predicted orders, average interval and next expected date

Popular products map
The map at the top of this page shows why each product sells, not only how much.
Groups
Closers, crowd-magnets, whales, hard-sells and all-rounders, with a count for each
Axes
Conversion, reach, demand and value
Ranking
A score for each product, with the runners-up listed
Reading
A written summary of the field, including how many products carry high-confidence evidence
Search
Find a product by name, family or code
Groups
Closers, crowd-magnets, whales, hard-sells and all-rounders, with a count for each
Axes
Conversion, reach, demand and value
Ranking
A score for each product, with the runners-up listed
Reading
A written summary of the field, including how many products carry high-confidence evidence
Search
Find a product by name, family or code
Key decisions
One source
The 3 schemas were merged into one source, then used for forecasting
Real signals
Forecasts use historical business data, customer purchasing patterns and sales activity
Sales use
Predicted customer buying cycles are used to drive upsells
One source
The 3 schemas were merged into one source, then used for forecasting
Real signals
Forecasts use historical business data, customer purchasing patterns and sales activity
Sales use
Predicted customer buying cycles are used to drive upsells
Result
Hiring someone to turn business problems into tools?
Tell me about the role, or see next: the portal that replaced an industrial company's legacy system.
- Section
- Data and forecasting
- Updated
- November 9, 2026
- Reading time
- 3 min read
Hiring for this kind of work?
Tell me about the role and I will reply by email.
Discuss a role with me
