Brilliance: Research of Artificial Intelligence
Vol. 6 No. 4 (2026): Brilliance: Research of Artificial Intelligence, Article Research November 2026

Integration of RFM and Apriori Algorithm in a CRM System for Targeted Promotion

Salman Alfarisi (Universitas Widyatama, Indonesia)
Ari Purno Wahyu Wibowo (Universitas Widyatama, Indonesia)



Article Info

Publish Date
23 Nov 2026

Abstract

The growth of small and medium-scale multi-vendor e-commerce platforms in Indonesia has increased the need for intelligent customer relationship management (CRM), yet most platforms managed by a single administrator still apply uniform promotions without considering differences in customer purchase behavior, which reduces marketing effectiveness and customer loyalty. This study aims to design and implement an integrated CRM system that combines Recency, Frequency, Monetary (RFM) analysis for customer segmentation with the Apriori algorithm for purchase pattern analysis to generate targeted promotion recommendations. The system was developed using Node.js, Python, React.js, and MongoDB, and encapsulates the entire analytical process from data preprocessing to recommendation output. The algorithms were validated using the Online Retail II dataset, which yielded 779,425 clean transaction records from 5,878 customers after preprocessing. RFM values were scored using a quintile-based approach and mapped into seven behavioral segments, after which the Apriori algorithm was applied specifically to the Champions segment with minimum support of 0.02, confidence of 0.30, and lift of 1.0. Champions, the highest-value segment, comprised 1,570 of these customers and accounted for 63.35 per cent of all orders, and rule mining on that segment generated 41 strong association rules with the highest lift reaching 26.41. The implemented system displayed these segments and the resulting product recommendations through an administrator dashboard. Transaction records from an Indonesian MSME retailer were further assessed, indicating that catalog breadth and repeat purchase behavior are preconditions for applying the approach in that setting.

Copyrights © 2026






Journal Info

Abbrev

brilliance

Publisher

Subject

Decision Sciences, Operations Research & Management Mathematics Other

Description

Brilliance: Research of Artificial Intelligence is The Scientific Journal. Brilliance is published twice in one year, namely in February, May and November. Brilliance aims to promote research in the field of Informatics Engineering which focuses on publishing quality papers about the latest ...