shopify-admin-rfm-customer-segmentation

Compute RFM scores for Shopify customers and export segment CSV.

174|18|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/40RTY-ai/shopify-admin-skills --skill shopify-admin-rfm-customer-segmentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shopify-admin-rfm-customer-segmentation
Source: https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/customer-ops/shopify-admin-rfm-customer-segmentation
Command: npx skills add https://github.com/40RTY-ai/shopify-admin-skills --skill shopify-admin-rfm-customer-segmentation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

RFM analysis turns raw purchase history into actionable customer segments so you can target the right shoppers instead of guessing who needs win-back, loyalty offers, or reactivation.

Core Features & Use Cases

  • Full RFM scoring (Recency, Frequency, Monetary): scores customers across a configurable lookback window and supports quintile bucketing for segmentation.
  • Named segment classification: assigns customers into practical groups such as Champions, Loyal Customers, At-Risk, Hibernating, and Lost (plus intermediate segments).
  • Optional customer tagging: read-only by default, with the ability to tag segments when enabled (requires additional write permissions).
  • Export-ready output: produces a CSV report including customer metrics (R/F/M scores) and segment labels for campaign workflows.

Quick Start

Use the skill to generate an RFM segmentation CSV for your last 365 days of customer purchasing history and review the Champions and At-Risk lists.

Frequently Asked Questions about shopify-admin-rfm-customer-segmentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform RFM customer segmentation on my Shopify store data?

RFM customer segmentation is computed by evaluating Recency, Frequency, and Monetary scores from your Shopify order history. This process aggregates per-customer metrics using a configurable lookback window and applies quintile scoring to group shoppers into actionable segments.

Can I export Shopify customer segments to a CSV file for marketing campaigns?

Yes, you can export Shopify customer segments to a CSV file. The analysis produces an export-ready CSV report containing customer metrics, R/F/M scores, and segment labels like Champions or At-Risk for use in campaign workflows.

What is the best way to identify at-risk customers in Shopify for win-back targeting?

The best way to identify at-risk customers is through RFM scoring, which classifies shoppers into named lifecycle segments. By analyzing purchase history over a configurable lookback window, you can accurately select targets for win-back campaigns and loyalty offers.

Does this RFM analysis tool require write permissions to tag Shopify customers?

RFM analysis is read-only by default and does not require write permissions. However, if you want to enable optional customer tagging to apply segment labels directly in Shopify, additional write permissions are required.

How does the Shopify GraphQL API calculate customer lifetime value for RFM scoring?

Shopify GraphQL API calculates RFM metrics by querying orders and customers, then aggregating per-customer purchase data. It evaluates Recency, Frequency, and Monetary values over a set lookback window to generate quintile scores for lifecycle classification.

What customer segments can I create using RFM scoring for retention marketing?

RFM scoring creates practical lifecycle segments for retention marketing, including Champions, Loyal Customers, At-Risk, Hibernating, and Lost. It also assigns intermediate segments to help suppress lost customers and target reactivation campaigns accurately.