Integration with Buy with Prime
Ira avatar
Written by Ira
Updated over a week ago

Buy with Prime allows U.S.-based Prime members to shop directly from participating online stores using the Prime shopping benefits they love and trust—including fast, free delivery, a seamless checkout experience, and easy returns.

Connect Omnisend to Buy with Prime through Alloy Automation to engage and recapture potential buyers through strategic abandoned checkout email automations. Send personalized emails to your shoppers who’ve abandoned their Buy with Prime orders, transforming potential misses into secured sales.


Buy with Prime | Omnisend

Before You Start

To be able to use this integration, you need to have a Buy with Prime account. Also, all the data from Buy with Prime is synced to Omnisend through Alloy. So, you'll also need to have an Alloy account.

Setup Process

Firstly, go to your Buy with Prime Amazon account and log into it. Once you're in your account, proceed to the Marketplace tab and find Omnisend among the other apps or you can simply open this page. Once on the Omnisend Marketplace page, click the 'Add App' button:

Authorize the access for Alloy to be able to sync the data from your Buy with Prime account:

The integration between Buy with Prim and Alloy will take around a minute to be enabled. Once it's done, you'll be redirected to your Alloy account. If you're not logged in, you'll need to log in first. If you haven't connected Alloy to Omnisend prior to this, the first step will be to enable integration between Alloy and Omnisend:

Once you click the 'Get your Credentials' button, you'll be redirected to the Buy with Prime page in the Omnisend App Market. Click 'Connect now':

The API key will be generated. Copy it, but do not close the page yet. You'll need to go back to it to confirm that you've completed all the steps.

Now go back to Alloy to paste the API key into the corresponding field and click 'Validate':

Once the API key is validated, select the newly connected Omnisend account and click 'Proceed':

In the next step, you'll need to select the amount of time to pause before running the rest of the workflow in Alloy. It means that you can set the delay before an abandoned Buy with Prime checkout is sent to Omnisend for Omnisend to send an automated email to this customer. In this example, we'll be sending the first Abandoned Checkout email after an hour, but you can set any other delay yourself:

The integration on Alloy's end will be activated. So, you can click 'Finish' and Alloy will get closed:

Now go back to the Buy with Prime Omnisend Marketplace page that we asked you not to close earlier check the box to confirm that you've completed all the steps, and click the 'Confirm' button:

That's it! The integration is successfully enabled, and you can proceed to setting up an Automation Workflow to recover potential buyers through strategic abandoned checkout emails.

What Data is Passed

Once the integration is enabled, a new custom event is created in Omnisend called 'buy with prime checkout abandoned'. These are the properties passed along with this event:

  • abandonedCheckoutURL

  • cartID

  • currency

  • lineItems:

    • productID

    • productImageURL

    • productPrice

    • productQuantity

    • productSKU

    • productTitle

    • productURL

These properties can be used to personalize emails or add trigger filters/automation splits to your workflow.

Setting up Buy with Prime Abandoned Checkout workflow

To create a Buy with Prime Abandoned Checkout workflow, you'll need to create a custom workflow first:

Then click a 'Create a custom workflow' button:

A new empty workflow will be created. Select 'buy with prime checkout abandoned' as the trigger for this workflow:

Also, add an exit condition, 'Placed order'. So, an Abandoned Checkout email wouldn't be sent to customers who have already finished their order. Adjust the frequency with which customers can enter this workflow if they'd abandon checkout in the future again:

Now, add an email block and set the subject line, preheader, and sender's name. Once you're satisfied with it, you can proceed to edit the Email content by clicking the 'Edit content' button. We've set the delay in Alloy already therefore the delay block isn't needed before the first email in our workflow:

When you're in the Email editor, add a Dynamic content layout where you want the abandoned products to be shown. You can start with any of the Dynamic layouts, even the empty ones, if you want. In this example, we'll use this one:

Once the dynamic layout is added to the email content, you can select what's the maximum number of items you'd like to show in your email. The design will self-adjust based on the amount of products that will actually be abandoned by your customers. So, even if you select 8 products to be shown and only 1 abandoned, there won't be 7 empty spaces shown to the customer:

For our Dynamic layout select 'lineItems' to be the data source, it's the only one available for 'buy with prime checkout abandoned' event:

Now, to display the abandoned products' images, click on the Image item and set it to have 'Dynamic' type. Then add the Product Image URL as a data source to the Image item:

If you want the product image to redirect to the product page when clicked, you can also add the product URL to the 'link to' field using the personalization dropdown:

Now, let's replace the 'Product name' placeholder by a data source that will add the product titles dynamically. To do that select the 'Product name' text block and click on the 'Select data source' dropdown:

Select 'productTitle' among the other options:

Instead of the 'Product description' placeholder, let's add the product price with currency instead. To do that, firstly select 'currency' property in the data source picker:

Then click the data source dropdown again and select 'productPrice'. It might not fit into one row in the editor depending on how many columns your Dynamic layout has, but when actual values are pulled in, they'll be shown in one row:

The last step of designing the Abandoned Products block would be to also show a button that will redirect customers to each specific product page upon click. If you want, you can show the quantity too, but in this example, we're going to replace it with a button block. So, firstly, let's delete it:

Now drag&drop the button block instead:

Change the default button text if you want and select the 'productURL' personalization tag among the other options for the 'link to' field:

That's it! This layout is going to show all the products customers are going to abandon.

The last step would be to have the main CTA that would redirect customers to the abandoned checkout page. To add such a button to your email, firstly add an empty one-column layout where you want the CTA to be located and then drag&drop the button block:

Change the button text if you'd like. Then add the Abandoned Checkout URL to the 'link to' field of your button:

2 main parts of your Buy with Prime Abandoned Checkout email are ready; you can proceed with designing everything else (fonts, colors, other layouts, etc.).

Once you're finished with designing this 1st email, click the 'Finish editing' button:

You'll be taken back to the Workflow editor. If you want to send more emails to recover the abandoned checkouts, you'll need to use Omnisend delay blocks and then, place them between the email blocks. Once you're ready for your Buy with Prime customers to start receiving Abandoned Checkout emails, you can click 'Start the workflow'.

Did this answer your question?