Customer segmentation splits customers into meaningful groups. Often such groups are based on recency, frequency and monetary value (RFM). This problem is about deciding how many groups there should be, which groups should be there and to automatically assign customers to those groups. Thus, this is a clustering problem.
Image credit: Enjoy these Segmentation Vectors for Free created by vectorjuice -
Freepik | Graphic Resources for everyone.