How to create a sunset flow

Estimated 7 minute read
|
Updated Feb 6, 2025, 11:10 AM EST
You will learn

You will learn

Learn how to set up a sunset flow that is designed to phase out customers who are no longer engaging with your brand. You can use this flow as a last-ditch effort to win back their business, and then delete or suppress anyone who is not responsive. This will help you maintain a clean list and avoid having inactive customers contribute towards your Klaviyo billing plan.

When to sunset subscribers

When to sunset subscribers

Since sunset flows act as a final effort to engage profiles, you should sunset lists and segments that you plan to suppress. Once you suppress a profile, they will be unable to receive marketing emails and promotions from your brand. By sunsetting these profiles, you have an opportunity to exclude profiles that engage with the flow from suppression, as they still are valuable to keep as active and send to. 

You should also sunset profiles as they become inactive, or churn as customers. It no longer makes sense to keep them as active in your account and have them contribute towards your Klaviyo billing plan. These are profiles that have demonstrated a long, sustained period of inactivity (i.e., no website visits, purchases, or marketing engagement). Due to this sustained period of inactivity, it is highly unlikely that these profiles will engage with your brand again.

Once a profile is no longer generating any revenue for your business in Klaviyo and you do not see any opportunity to win them back, you can take action to suppress them so they do not count towards your Klaviyo billing plan.

Set up a sunset segment

Set up a sunset segment

A sunset flow is triggered when a profile is added to a particular segment. While the recommended segment below enables you to identify and sunset profiles that have demonstrated a long period of inactivity, you can run any segment or list you plan to suppress through a sunset flow. 

To identify profiles that have demonstrated sustained periods of inactivity, you can build the following segment and run it through a sunset flow: 

  • If someone can or cannot receive marketing > Person can receive email marketing
    AND
  • Properties about someone > Created is at least 180 days ago
    AND
  • What someone has done (or not done) > has Received Email at least 5 in the last 72 weeks
    AND
  • What someone has done (or not done) > has Opened Email 0 times over all time
    AND
  • What someone has done (or not done) > has Clicked Email 0 times over all time
    AND
  • What someone has done (or not done) > has Active on Site 0 times over all time
    AND
  • What someone has done (or not done) > has Viewed Product 0 times over all time
    AND
  • What someone has done (or not done) > has Checkout Started 0 times over all time
    AND
  • What someone has done (or not done) > has Placed Order 0 times over all time 
Deliverability benefit

Deliverability benefit

One of the major benefits of building this segment is to suppress it and stop delivering to profiles that are unmonitored because sending to unmonitored inboxes will hurt your deliverability over time. Continuing to send to profiles in this cohort will lower your open rate, which is the most important signal used by mailbox providers to determine where future emails go (the inbox or the spam folder)

As inactive profiles enter this segment, they will trigger the sunset flow and automatically receive some final emails from your brand before they can ultimately be suppressed.

If you attempt to send emails to these inactive profiles then it has the opposite effect. Rather than improving your sending reputation, doing this will put your reputation at risk. Please do so with extreme caution.

Suppress profiles (optional)

Suppress profiles (optional)

If you just wish to suppress the profiles than you can do so with the Bulk Suppression option from the Lists & Segments page once you have created the segment above. To do this:

  1. Click the three dots to the right of the segment
  2. Select Suppress current members

Bulk suppress option for segments

Please note that you will have to do this each time before sending a campaign to effectively phase inactive profiles out of future sends. It is not currently possible to suppress profiles as a Flow Action.

There is a workaround for this but you would need to utilize Klaviyo's API to do this. This will require a developer. If you are a developer, please see the process documented in the article, "Solution Recipe 9: Use Klaviyo Flow Webhooks to Automate Suppressions Using Segments and Klaviyo’s APIs .

Set up a sunset flow

Set up a sunset flow

After setting up your sunset segment, you will need to build a flow that is triggered by being added to your sunset segment. We recommend using a pre-built sunset flow from the flows library.

  1. Navigate to the Flows tab.
  2. Click Create Flow to view the flows library.
  3. In the searchbar, search for "sunset" to see Klaviyo's pre-built sunset flow.
  4. Click on the pre-built "sunset unengaged subscribers" flow.
  5. In the trigger dropdown, select your sunset segment.
  6. Click Create Flow at the bottom on the modal.
  7. Customize the message content to match your brand.
  8. Add past profiles to your flow if you created it for an existing list or segment.
Create a sunset flow from scratch

If you'd prefer to create a flow from scratch:

  1. Navigate to the Flows tab.
  2. Click Create Flow.
  3. Click Create From Scratch in the top right.
  4. Name your flow and click Create Flow.
  5. In the Trigger Setup sidebar, click Segment.
  6. In the dropdown, select your sunset segment.
  7. Add flow filters to exclude anyone who opens or clicks an email since starting the flow. Anyone who engages your sunset email (or any other email you send them while they're in the flow) will automatically be removed from the flow and will not be tagged for suppression. See the screenshot below for reference.
    Sunset flow with trigger filters to check that a profile has not opened an email and has not clicked an email since starting the flow
  8. Add one to three emails that prompt customers to unsubscribe if they are no longer interested in receiving emails from you. It is best to limit this flow to be no more than three emails because you don’t want to repeatedly contact people who are unengaged, since this can hurt your deliverability. Anyone who unsubscribes will be suppressed automatically, with no further action needed on your (or their) part.
  9. After the last email, drag in a short time delay to give recipients a grace period to open or click the email. Here, the grace period is three days, assuming a daily sending frequency. If you send less regularly, push the grace period to be a longer time period, such as 7–10 days.
    Example of a time delay set for 1 day after the flow trigger
  10. Drag in an update profile property flow action. This will tag those who do not engage with the email and thus are passively indicating that they would like to unsubscribe.
  11. Configure the tag to specify that these contacts should be suppressed. You can do this by creating a new boolean profile property where the value "Suppress" is "True."
    Example of an update profile property action at the end of the flow which sets Unengaged property to True

Thanks to the flow filters, anyone who opens or clicks an email will exit the flow before this action, and the tag will not be added to their profile.

Once unengaged subscribers are tagged as Unengaged = True, they will exit the flow.

Flow content best practices

Flow content best practices

We recommend using plain text and being as personal as you can in the email by using the {{ first_name }} tag and a from address like "Marissa from Klaviyo." Include content about any new products that have been released since they've become unengaged and consider offering a discount to entice them to buy. 

You will want to include prominent unsubscribe and manage preferences links, in case subscribers want to update their settings rather than unsubscribe completely. 

Message content editor with a message containing language appropriate for a sunset email

In the email(s), give recipients the option to browse your site or otherwise interact with you if they do want to remain subscribed. Below is an example from Princess Awesome.

Example sunset email with links for customers to set their email preferences

In addition, indicate in the email subject line that you will say goodbye to these subscribers if they continue to not engage (e.g., “Is it time to say goodbye?” or “We miss you already”). For instance, the email below from Framebridge has the subject line: “Goodbyes are hard…”

Example sunset email with a link that a customer can click to keep them on the subscribe list

Add past profiles

Add past profiles

When you create a sunset segment, it will be filled with profiles that previously fit the criteria in the segment definition. However, the flow will only trigger for profiles that organically enter the segment, i.e., those that fulfill the segment's criteria after it was created.

If you'd like to add past profiles to your flow:

  1. Make sure the flow's messages are set to either manual or live status before adding past profiles.
  2. Click on the Manage Flow dropdown in the header and click Add Past Profiles.
    Manage Flow dropdown showing the Back-Populate Flow Recipients option

Learn more about the effects of adding past profiles to a flow.

Additional resources

Additional resources

Read about similar flows in the Klaviyo Help Center:

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.
Live training
Join a live session with Klaviyo experts to learn about best practices, how to set up key features, and more.
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