---
title: "How to create an abandoned cart flow for Amazon Buy with Prime"
description: "Learn how to create an abandoned cart flow to send reminders to your Buy with Prime customers. Flows, also known as automations or drip campaigns, are Klaviyo’s tools for personalized communications with your customers. An abandoned cart flow is a message or sequence of messages sent to someone who added an item to their shopping cart, but failed to complete the purchase."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/14985388418331"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/14985388418331.md"
locale: "en-us"
category: "Integrations"
section: "Amazon Buy with Prime"
updated: "2026-10-28"
---

# How to create an abandoned cart flow for Amazon Buy with Prime

## You will learn

Learn how to create an abandoned cart flow to send reminders to your Buy with Prime customers. Flows, also known as automations or drip campaigns, are Klaviyo’s tools for personalized communications with your customers. An abandoned cart flow is a message or sequence of messages sent to someone who started checkout, but failed to complete the purchase.

## Before you begin

- These steps use Klaviyo’s Amazon Buy with Prime integration. If you have not already set it up, follow our guide on [Getting started with Buy with Prime](https://help.klaviyo.com/hc/en-us/articles/14708088221467.md) for step-by-step instructions. If you use Buy with Prime through Shopify, check that guide before adding a separate integration.

- To create the flow, you’ll also need to have Klaviyo integrated with your ecommerce platform. To learn how to integrate if you’ve yet to do so, [find your ecommerce platform on our Help Center](https://help.klaviyo.com/hc/en-us/categories/115000032731.md).

- Before building the flow, check that you can select **Checkout Started** and **Placed Order** from Amazon Buy with Prime, plus **Placed Order** from your ecommerce platform. These metrics are needed for the trigger and purchase filters below.

- Want to learn more about how flows work in Klaviyo? Check out [Getting started with flows](https://help.klaviyo.com/hc/en-us/articles/115002774932.md).



**📝 Note:** Buy with Prime order data is only synced for profiles that have an email address.

## About Buy with Prime flows and your ecommerce platform

To create a flow using Buy with Prime data, you’ll also need to use data synced to Klaviyo from your ecommerce platform. This is because some necessary data (such as your product catalog and data from purchases made directly on your ecommerce platform) does not sync through the Buy with Prime integration. 

**📝 Note:** In Klaviyo, you can use a pre-built flow from our Flows Library, or you can create a flow from scratch. Klaviyo offers pre-built Buy with Prime flows for Shopify. For other ecommerce platforms, such as WooCommerce, BigCommerce, and Adobe Magento, follow the instructions below to build a flow from scratch.

## How to create an abandoned cart flow

Reminding customers about their cart can greatly prevent lost sales: almost 70% of shopping carts are abandoned on average. 

For Buy with Prime, this flow is triggered by the *Checkout Started* event, which is tracked when a customer clicks *Proceed to checkout* on their Buy with Prime cart and authenticates with Amazon. This flow also has a time delay, and its profile filters exclude customers who purchase after entering the flow, either using Buy with Prime (via the Buy with Prime *Placed Order* event) or directly in your site’s checkout page (via your ecommerce platform’s *Placed Order* event). 

**📝 Note:** If you’ve already created an abandoned cart flow using data from your ecommerce platform, you should create a second flow of the same type using Buy with Prime data, since your original flow will not account for customers who started a checkout using Buy with Prime. We recommend adding an additional flow filter to your original abandoned cart flow of *Buy with Prime Placed Order zero times since starting this flow.* This will exclude customers who made purchases via Buy with Prime from receiving incorrect messaging.

## For Shopify customers

1. In your Klaviyo account, select the **Flows** tab.

2. Click **Create flow** in the upper right.

3. Use the **Integrations** filter to select **Amazon Buy with Prime**.



![Klaviyo flows library filtered by Amazon Buy with Prime](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/c6f7d24e0dda98124b8bc149d26fc91380df36c1-1480x262.jpg?auto=format)

4. Select the flow **Abandoned Cart Reminder**, then click **Use template** in the window that appears.




![Pre built Abandoned Cart Buy with Prime and Shopify flow with Create Flow with black background](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/36138edd445df0e20a315c5b670c1dc7c0a8fb5f-1302x1400.jpg?auto=format)

5. In the flow builder, customize the flow and the emails within it to fit your brand. The flow emails will be automatically configured to show customers an item they’ve left behind, and bring them back to their carts via the *Return to your cart* button. To learn more about best practices for abandoned cart flows, read our article [How to create an abandoned cart flow](https://help.klaviyo.com/hc/en-us/articles/115002779411.md).

6. Check that **Profile filters** include **Placed Order** zero times since starting this flow for both Amazon Buy with Prime and Shopify, joined with **AND**. Preview each email using a Buy with Prime checkout event and check the product details and cart-return link before turning on the flow.

7. When you are ready to send automatically, click **Review and turn on** (or **Update status**), select **Live**, keep **Update status now** selected, and click **Save**. To review recipients before sending each message, choose **Manual** instead. Manual messages wait in **Needs Review** until you send or cancel them. Learn more about [flow action statuses](https://help.klaviyo.com/hc/en-us/articles/115002774932.md#set-the-flow-action-status7).



## For non-Shopify customers

1. In your Klaviyo account, select the **Flows** tab.

2. Click **Create flow** in the upper right, then **Build your own** in the upper right.

3. Name your flow (Buy with Prime Abandoned Cart, for example) and add any tags. Select **Create manually** if you see a choice of creation methods; otherwise, click **Create flow**.

4. In the trigger selector, open **Your metrics**, select **Amazon Buy with Prime**, and choose **Checkout Started**.

5. Under **Profile filters**, click **Add**, then **Add profile filter**. Choose **What someone has done (or not done)** for each of these 2 conditions and join them with **AND**:
a. *Placed Order (Buy with Prime) zero times since starting this flow*
AND
b. *Placed Order (*Your ecommerce platform - e.g., BigCommerce*) zero times since starting this flow.*





![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/01c4e10ae645542c71868d0a4572a70e84f67266-744x1086.png?auto=format)

6. Click **Save** to save the filters. Back in the trigger setup, click **Save**, then **Confirm and save** to finish configuring the trigger.

7. Add a time delay of 4 hours.

8. Add your first abandoned cart email reminder.

9. Add a time delay of 20 hours.

10. Add your second abandoned cart email reminder.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d2975615618c11ed4a5504563520221c3ead51ef-1074x1324.png?auto=format)

11. Personalize your flow emails to feature items left in a customer’s cart by pulling Buy with Prime product data using [dynamic template variables](https://help.klaviyo.com/hc/en-us/articles/115002779071.md) into an email [text block](https://help.klaviyo.com/hc/en-us/articles/27066187499291.md). Learn more in [How to create an abandoned cart flow](https://help.klaviyo.com/hc/en-us/articles/115002779411.md).

12. Add a button that returns the customer to their checkout. In the email editor, click **Preview** and copy the checkout URL variable from the Buy with Prime event properties. Close the preview, then paste the variable into the button’s link field. Use the event variable, not a sample customer’s URL.

13. Preview both emails using a Buy with Prime checkout event. Check that the product details render correctly and that each button returns to the expected checkout.

14. When you are ready to send automatically, click **Review and turn on** (or **Update status**), select **Live**, keep **Update status now** selected, and click **Save**. To review recipients before sending each message, choose **Manual** instead. Manual messages wait in **Needs Review** until you send or cancel them. Learn more about [flow action statuses](https://help.klaviyo.com/hc/en-us/articles/115002774932.md#set-the-flow-action-status7).



## Outcome

You’ve now learned how to create an abandoned cart flow using Buy with Prime data.

## Additional resources

- [Getting started with Amazon Buy with Prime](https://help.klaviyo.com/hc/en-us/articles/14708088221467.md)
  Learn how to enable Klaviyo’s Buy with Prime integration in order to bring your customer profile and order data into Klaviyo. Buy with Prime is a service that allows ecommerce platform merchants (such as those on Shopify, WooCommerce, Adobe Magento, and more) to power purchase payment and fulfillment through Amazon, via the addition of a “Buy with Prime” button to individual product pages on their store. This guide walks through connecting Buy with Prime and Klaviyo to automatically sync this purchase data, so that you can reach customers with targeted messaging.
- [Amazon Buy with Prime data reference](https://help.klaviyo.com/hc/en-us/articles/14708160794779.md)
  Learn what data syncs from Buy with Prime to Klaviyo and how to view it. This includes both order data (events such as Placed Order, Ordered Product, etc.) and customer data. 
