Skip to content
All projects
BuiltCRM Analytics · Business Intelligence

Customer Segmentation & RFM Analytics

Nesto · Western International · Al Khayyat

Built customer segmentation models, from eCommerce segmentation at Nesto to automated RFM scoring and segment-migration tracking on Databricks.

Code — link coming soonDemo — coming soon

Business problem

Treating every customer the same leads to generic campaigns and missed opportunities. Marketing and CRM teams need a clear, explainable way to group customers by value and behaviour.

Solution

PySpark and SQL jobs calculate RFM scores from transaction history, assign named segments, and publish them to Power BI. Segment migration tracking flags customers moving from Champions towards At-Risk.

Solution architecture

  1. 01 · Sources

    Customer transactions and profiles

  2. 02 · Processing

    PySpark / SQL feature calculation

  3. 03 · Scoring

    Scheduled RFM scoring jobs

  4. 04 · Monitoring

    Segment migration alerts

  5. 05 · Insight

    Power BI segment dashboards

Simplified flow · detailed architecture diagram placeholder

Technology stack

  • Python
  • PySpark
  • SQL
  • Power BI
  • Databricks

Business impact

  • Repeat purchase rate improved by 15% (eCommerce segmentation, Nesto).
  • Early warning when valuable customers start to drift.

Screenshots

Screenshot placeholder

Screenshot placeholder