Integration of Sentiment Analysis and RFM in Restaurant Customer Segmentation: A 7P-Based CRM Model with Clustering
Abstract
The increasing use of digital platforms like Tripadvisor has created opportunities to transform customer review data into strategic insights for Customer Relationship Management (CRM). This study proposes a novel CRM model by integrating the Recency, Frequency, Monetary (RFM) framework with the 7P marketing mix to segment restaurant customers more effectively. Using 3,716 Tripadvisor reviews, annotated based on 7P elements and clustered through unsupervised learning, three key customer segments were identified: acquisition, retention, and win-back. Evaluation metrics show strong clustering performance with a Silhouette Score of 0.73 and a Davies-Bouldin Score of 0.08. The acquisition cluster (Product) demonstrates the highest Frequency (37,664) and Monetary value (64.94), signifying high engagement and revenue potential. The retention cluster (Physical Evidence, Place, Process, Promotion, Traveler) shows stable interaction patterns with Recency values of 1261–1262 and moderate Frequency (378–2,079). The win-back cluster (Price, People) reflects lower Frequency (198–946) but equal Recency (1259), indicating recent but infrequent activity, which is ideal for reactivation strategies. By mapping customer reviews to 7P labels and analyzing them using RFM, the model uncovers specific behavioral patterns tied to service quality, pricing, and promotions. This integration allows restaurants to apply tailored strategies: offering loyalty rewards to high-frequency customers, promotional incentives for those with high Recency, and prioritizing high-monetary customers for exclusive programs. The novelty of this research lies in its combined use of sentiment-based review analysis and RFM–7P segmentation, offering a scalable, data-driven framework for enhancing customer satisfaction, loyalty, and long-term business growth in the restaurant industry.
Keywords
Full Text:
PDFReferences
G. J. Krishna and V. Ravi, “Evolutionary computing applied to customer relationship management: A survey,” Engineering Applications of Artificial Intelligence, vol. 56, pp. 30–59, Nov. 2016, doi: 10.1016/j.engappai.2016.08.012.
S. Lamrhari, H. E. Ghazi, M. Oubrich, and A. E. Faker, “A social CRM analytic framework for improving customer retention, acquisition, and conversion,” Technological Forecasting and Social Change, vol. 174, p. 121275, Jan. 2022, doi: 10.1016/j.techfore.2021.121275.
B. Mathayomchan and V. Taecharungroj, “‘How was your meal?’ Examining customer experience using Google maps reviews,” International Journal of Hospitality Management, vol. 90, p. 102641, Sep. 2020, doi: 10.1016/j.ijhm.2020.102641.
M. Rodríguez-Ibánez, A. Casánez-Ventura, F. Castejón-Mateos, and P.-M. Cuenca-Jiménez, “A review on sentiment analysis from social media platforms,” Expert Systems with Applications, vol. 223, p. 119862, Aug. 2023, doi: 10.1016/j.eswa.2023.119862.
B. Shin, S. Ryu, Y. Kim, and D. Kim, “Analysis on Review Data of Restaurants in Google Maps through Text Mining: Focusing on Sentiment Analysis,” J Multimed Inf Syst, vol. 9, no. 1, pp. 61–68, Apr. 2022, doi: 10.33851/JMIS.2022.9.1.61.
J. Joung and H. Kim, “Interpretable machine learning-based approach for customer segmentation for new product development from online product reviews,” International Journal of Information Management, vol. 70, p. 102641, Jun. 2023, doi: 10.1016/j.ijinfomgt.2023.102641.
K. I. Shaon, “A THEORETICAL REVIEW OF CRM EFFECTS ON CUSTOMER SATISFACTION AND LOYALTY,” CENTRAL EUROPEAN BUSINESS REVIEW, vol. 4, no. 01, 2015.
C. Zhang, X. Wang, A. P. Cui, and S. Han, “Linking big data analytical intelligence to customer relationship management performance,” Industrial Marketing Management, vol. 91, pp. 483–494, Nov. 2020, doi: 10.1016/j.indmarman.2020.10.012.
B. Sunarko, U. Hasanah, and S. Hidayat, “Enhancing Restaurant Customer Review Analysis: Multi-Class Text Classification with BERT,” in 2023 6th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Batam, Indonesia: IEEE, Dec. 2023, pp. 501–506. doi: 10.1109/ISRITI60336.2023.10467438.
L. Kwok, Y. Tang, and B. Yu, “The 7 Ps marketing mix of home-sharing services: Mining travelers’ online reviews on Airbnb,” International Journal of Hospitality Management, vol. 90, p. 102616, Sep. 2020, doi: 10.1016/j.ijhm.2020.102616.
P. Zerbino, D. Aloini, R. Dulmin, and V. Mininno, “Big Data-enabled Customer Relationship Management: A holistic approach,” Information Processing & Management, vol. 54, no. 5, pp. 818–846, Sep. 2018, doi: 10.1016/j.ipm.2017.10.005.
S. Hidayat, R. Rismayati, M. Tajuddin, and N. L. P. Merawati, “Segmentation of university customers loyalty based on RFM analysis using fuzzy c-means clustering,” Jurnal Teknologi dan Sistem Komputer, vol. 8, no. 2, pp. 133–139, Apr. 2020, doi: 10.14710/jtsiskom.8.2.2020.133-139.
A. Ahani, M. Nilashi, O. Ibrahim, L. Sanzogni, and S. Weaven, “Market segmentation and travel choice prediction in Spa hotels through TripAdvisor’s online reviews,” International Journal of Hospitality Management, vol. 80, pp. 52–77, Jul. 2019, doi: 10.1016/j.ijhm.2019.01.003.
S. Fan, R. Y. K. Lau, and J. L. Zhao, “Demystifying Big Data Analytics for Business Intelligence Through the Lens of Marketing Mix,” Big Data Research, vol. 2, no. 1, pp. 28–32, Mar. 2015, doi: 10.1016/j.bdr.2015.02.006.
B. Sunarko, U. Hasanah, and S. Hidayat, “Comparison of Ensemble Learning Methods for Mining the Implementation of the 7 Ps Marketing Mix on TripAdvisor Restaurant Customer Review Data,” Int. J. Artif. Intell. Res, vol. 7, no. 2, p. 163, Dec. 2023, doi: 10.29099/ijair.v7i2.1096.
A. Saxena et al., “A review of clustering techniques and developments,” Neurocomputing, vol. 267, pp. 664–681, Dec. 2017, doi: 10.1016/j.neucom.2017.06.053.
L. E. Aik, T. W. Choon, and M. S. Abu, “K-means Algorithm Based on Flower Pollination Algorithm and Calinski-Harabasz Index,” J. Phys.: Conf. Ser., vol. 2643, no. 1, p. 012019, Nov. 2023, doi: 10.1088/1742-6596/2643/1/012019.
P. J. Rousseeuw, “Silhouettes: A graphical aid to the interpretation and validation of cluster analysis,” Journal of Computational and Applied Mathematics, vol. 20, pp. 53–65, Nov. 1987, doi: 10.1016/0377-0427(87)90125-7.
I. F. Ashari, R. Banjarnahor, D. R. Farida, S. P. Aisyah, A. P. Dewi, and N. Humaya, “Application of Data Mining with the K-Means Clustering Method and Davies Bouldin Index for Grouping IMDB Movies,” JAIC, vol. 6, no. 1, pp. 07–15, Jul. 2022, doi: 10.30871/jaic.v6i1.3485.
F. L. Gewers et al., “Principal component analysis: A natural approach to data exploration,” ACM Computing Surveys (CSUR), vol. 54, no. 4, pp. 1–34, 2021.
M. Greenacre, P. J. Groenen, T. Hastie, A. I. d’Enza, A. Markos, and E. Tuzhilina, “Principal component analysis,” Nature Reviews Methods Primers, vol. 2, no. 1, p. 100, 2022.
DOI: https://doi.org/10.47738/jads.v6i2.633
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)