You will learn

Learn how to build a retention flow based on RFM properties to target customers who have not recently purchased. Retention flows are useful drivers in helping to win back customers, reaching them at the right time with the right message. You can automatically reach these subscribers when they join a segment based on their RFM group, potentially decreasing revenue and churn risks.

Advanced KDP and Personalization are paid add-ons to Klaviyo’s standard marketing application. RFM analysis is also available during an active trial of either product. Head to our billing guide to learn about how to purchase these plans.

Before you begin

Your account needs to meet these requirements to use the RFM report:

  • Have at least 500 customers who have placed an order.
    Note that this does not refer to total profiles, but rather the number of people who have actually made an order with your business.
  • You have an ecommerce integration (e.g., Shopify, BigCommerce, Magento, etc.) or use the Klaviyo API to send placed orders.
  • You have at least 180 days of order history and have orders within the last 30 days.
  • You have at least some customers who have placed 3 or more orders.
  • Only Owners, Admins, Managers, and Analysts can access this report. To create and turn on the flow, you need an Owner, Admin, or Manager role.

If you have created a new custom metric to use in your RFM report, it may take up to 48 hours for this change to be reflected.

How to create the flow

You can explore the flows library to use one of the pre-built templates or follow the guide below to create a custom retention flow. In either case, it's important to trigger your flows based on your RFM group segments.

Create your segment

If you have not already done so, you will need to create a segment that includes your At Risk or Needs Attention customers. If you have already set up your segment, skip ahead to the section on creating your flow below.

  1. Navigate to Personalization > Customer insights > RFM analysis.
  2. Scroll to find the RFM segments card and click on Create segment.

If the card does not show Create segment, go to Audience > Lists & segments and select Create > Segment. If a naming window opens, enter a name and any tags, then click Create segment to open the builder.

  1. In the segment builder, name your segment if you have not already done so and add any applicable tags from the Tags dropdown. For example, you could name your segment “Needs Attention or At Risk segment” or “Needs Attention or At Risk segment - one-time buyers only” depending on how you plan to set up your flow.
  2. In the Definition section, choose Properties about someone.
  3. Under the Property dropdown, choose the Current RFM group option. Make sure that equals is chosen in the second dropdown.
  4. In the Enter a value field, find and choose At Risk. Make sure that Type is set to Text. Your segment should look like the image below.
  1. Click Add condition. Make sure that your connector is set to OR.
  2. Repeat the property condition above, but instead of choosing At Risk, choose Needs Attention as your RFM group.
    Once done, the first 2 conditions of your segment should look like the below and include anyone who is in your Needs Attention or At Risk groups.
  1. Optional: At Risk and Needs Attention groups can include those who have made at least 1 purchase in the past. However, if you would like to target customers who have purchased a certain number of times in the past (e.g., only one-time buyers), but are now in the At Risk or Needs Attention groups, you can use Add condition to add an AND connector.
  2. Optional: choose What someone has done (or not done).
  3. Optional: select your Placed Order metric.
  4. Optional: choose equals and enter the number of orders you want to target. Then select over all time. This should look like the example below.
  1. Click Create segment to save your segment.

Set up your flow

  1. Head to the Flows tab.
  2. Click Create flow.
  3. Click Build your own.
  4. In the Create flow window, name your flow something recognizable and select any tags you want it to have. For example, something like “At Risk or Needs Attention flow.”
  1. Click Create manually. If the window has a Create flow button instead, click that button.
  2. In the right-hand trigger panel, select Added to segment.
  1. In the Added to segment section, find and select your segment. This should be the segment that includes your At Risk or Needs Attention groups. Your trigger should look similar to the example below.
  1. Choose Re-entry criteria before saving the trigger. Keep No re-entry to let each customer enter once. To contact customers again after they leave and rejoin the segment, select Allow re-entry, or select Allow re-entry after a time period and enter the minimum time between entries.
  2. Click Save when you are done creating your trigger. Then click Confirm and save on the pop-up to save your trigger.
  3. Drag in your first retention-style email message from the left-side panel. This should be a message welcoming back your customers.
  1. Drag in a time delay after this first message so that your customers do not immediately receive all messages in the flow. It is suggested to wait at least 2-3 days before a customer receives their next message.
  1. Drag in your second retention-style email message from the left-side panel. This should be a message that is different from your first email and encourages your customers to come back and visit your store.
  1. Optional: if you want to add further messages to your flow, add another time delay. Make sure this is at least 2-3 days after your last message.
  2. Optional: drag in your third email message from the left-side panel. This message should be different from your first 2 messages and could include things like time-sensitive discounts or offers.
  3. Configure each email: select it, enter its subject line and sender details, and click Select template to build the message. Preview the content and save your changes before returning to the flow builder.
  4. When you are done creating your flow, click Review and turn on (or Update status for a flow that already has active messages) in the upper right and choose Live or Manual. Configured messages set to Live are sent automatically, while a manual flow requires you to manually review and send all scheduled messages. Learn more about flow statuses.
  5. Keep Update status now selected, then click Save.

The flow starts when someone newly joins your segment. Moving between At Risk and Needs Attention while remaining in the combined segment does not start it again. Turning on the flow also does not automatically include customers who are already in the segment. To include them, follow the steps to add past profiles to a flow.

Retention email best practices

Use splits

You can use a split based on a customer’s purchase history or RFM group to send different product recommendations. This way you can target customers with products related to what they have previously purchased or highlight best-selling products that they may be interested in based on their RFM group (e.g., lower cost or entry-level items).

Use template tags

It’s important that customers feel as though the email they are receiving is completely relevant and personal to them. Consider using template tags to pull in information from the customer’s profile to personalize the email to them. Pull in simple items like first name or region, or use more advanced techniques to pull in items they may have recently viewed, especially for emails later in the flow once you have initially re-engaged them. Additionally, if you need to better align your data and make it more actionable, consider data transformation to standardize these profile properties.

Convert an HTML template for drag-and-drop editing

If your existing design is an HTML template, you can create a drag-and-drop copy before tailoring its blocks for your RFM groups. The original HTML template is kept.

  1. Navigate to Content > Templates and find your saved HTML template. Open its menu and select Clone to drag and drop.
  2. Open Converted templates to check the conversion status. When the copy is Ready to use, open it and review its layout, links, and personalized content.
  3. Use the converted template when choosing content for your flow email. If the email already has a template, use Change template from its template menu to select the converted copy, then preview the email before sending.

Use show/hide logic in existing emails

You can also use the drag-and-drop editor’s Show/hide logic feature to tailor individual blocks or sections within your existing emails and target those just in the Needs Attention or At Risk RFM groups.

Needs Attention content

Since customers in this group are more likely to engage than At Risk customers, and may have moved into this group after being a prior Loyal or Recent member, you may want‌ to consider the following email blocks:

  • Discounts or incentives
  • Show their current loyalty points status
  • Similar or adjacent products to ones they have purchased before
  • Your most viewed products
  • Your highest rated products
  • Your newest products

At Risk content

At Risk customers are more highly susceptible to churn and it may be a longer time since their last purchase than Needs Attention members. In addition to the above types of messages, you may want‌ to consider the following for customers in the At Risk group:

  • Lower cost or entry level items, including those that also are:
    • Similar or adjacent products to ones they have purchased before
    • Your most viewed products
    • Your highest rated products

Run A/B tests

Use A/B tests to continue to refine what email content is motivating your Needs Attention or At Risk RFM groups to purchase and move out of these groups.

For example, you may want to test different product recommendations based on:

  • Your best-selling products
  • Similar or adjacent products to ones they have purchased before
  • Refills or reorders of previously purchased products, if applicable
  • Your most viewed products
  • Your highest rated products
  • Your newest products

Additionally, make sure to test things like your subject line, send time, and how many emails you send in a specific period, to see what may help motivate these customer groups. You may want to use subject lines along with your content that creates a sense of urgency.

Learn more about A/B testing your flow emails.

Additional resources

  • How to build a segment using RFM properties

    Learn how to use RFM values and customer groupings as properties in your segments. Using RFM properties in a segment is useful for creating segment-based recommendations in your marketing content. For example, you may want to provide discounts to some of your current At Risk or Inactive customers, or use cross-selling content with customers in your Recent group.

  • How to strategically use RFM properties in campaigns and flows

    Learn how to use RFM (recency, frequency, and monetary) properties to target specific types of campaigns and content to your customer groups. Either by using the profile properties themselves or by using a segment with the RFM properties, you can tailor your marketing even further.

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type