Due to Replenish Events
Updated this week

About Due to Replenish Events

Repeat's Due to Replenish event lets you trigger automations in your email or SMS tools when customers are running low on a product that they purchased previously. The event also contains some properties that will help you personalize your messaging.

Timing

Repeat’s Late Replenishment trigger is designed to help you reach your customers when they’re ready to replenish a product. Here's how it works:

  • We ingest your store's order history and identify the typical replenishment times of each product.

  • We identify when a customer orders a specific product, and consider things like other products they purchased at the same time and other orders placed since they made the purchase.

  • When the customer is likely running low, Repeat knows. At that point, we’ll send an event to your integrated email and SMS platforms so you can kick off a flow or journey to remind them to re-up.

Klaviyo Event Properties

The Due to Replenish Klaviyo event contains these properties:

Field

Description

Variable

Repeat Cart URL

URL of the customer's Personalized Cart
String

{{ event|lookup:'Repeat Cart URL' }}

Subscription Repeat Cart URL

URL of the customer's Personalized Cart with subscription enabled by default
String

{{ event|lookup:'Subscription Repeat Cart URL' }}

reorderableProducts

List of products that the customer is currently due to replenish

Array of objects

{{ event.reorderableProducts }}

Note: Product variables below are shown as used in a dynamic table with event.reorderableProducts as the "Row collection" and item as the "Row alias"

‣ product

Details of a reorderable product
Object

‣ id

Product's Shopify ID
​Number
e.g. 12345

{{ item.product.id }}

‣ title

Product's title
​String
e.g. "Fizz In A Can"

{{ item.product.title }}

‣ price

Product's price
String
e.g. "24.00"

{{ item.product.price }}

‣ subscription_price

Product's price when purchased with a subscription plan

String
e.g. "20.00"

{{ item.product.subscription_price }}

‣ handle

Handle of the product used in the URL of the online store
String
e.g. "fizz-in-a-can"

{{ item.product.handle }}

‣ images

Object containing details about the product's images
Array of objects

‣ src

The URL of the product's primary image
String

{{ item.product.images0.src }}

‣ variant

Details about the product's variant

‣ id

Variant's Shopify ID
​Number
e.g. 56789

{{ item.product.variant.id }}

‣ title

Variant's title
​String
e.g. "6 Pack"

{{ item.product.variant.title }}

reorderable_product_ids

List all product IDs of reorderable products
Array of numbers
e.g. [12345, 56789]

{{ event.reorderable_product_ids }}

reorderable_product_titles

List all product product titles of reorderable products
Array of strings
e.g. ["Fizz In A Can", "Goop In A Tube"]

{{ event.reorderable_product_titles }}

reorderable_variant_ids

List all variant IDs of reorderable products
Array of numbers
e.g. [12345, 56789]

{{ event.reorderable_variant_ids }}

reorderable_variant_titles

List all product product titles of reorderable products
Array of strings
e.g. ["6 Pack", "12 Pack"]

{{ event.reorderable_variant_titles }}

Use The Event To Trigger Email or SMS

Check out the Replenishment Reminder Play for step-by-step instructions on setting this up in any platform.

In Klaviyo

Select the "Repeat - Due To Replenish" metric as the trigger for a flow.

You can direct a customer to their personalized cart by adding the event's Repeat Cart URL property to the "Link address" field of an image, button, or text:

Copy and paste this snippet to the link address/URL field or into an SMS message (replace YOURWEBSITE.COM with your home page):

{{ event|lookup:"Repeat Cart URL"|default:"YOURWEBSITE.COM" }}

The Reorderable Products property is a list of products in this format:

{
"product": {
"id": 7013593874511,
"title": "Magic In A Box",
"variant": {
"id": 40645138776143,
"title": "Default Title"
},
"price": "39.00",
"images": [
{
"src": "https://cdn.shopify.com/s/files/1/0568/8256/1103/files/MagicInABox.png?v=1683126270"
}
],
"handle": "magic-in-a-box"
}
}

In Postscript

This event can be used to trigger an automation with Postscript's legacy automation builder. Select "Repeat: Due To Replenish" as the automation's trigger.

Add a link to the customer's Personalized Cart by adding this snippet to a message:

{repeat_cart_url}

In Attentive

This event can be used to trigger a Journey in Attentive. Select "Repeat - Due To Replenish" as the Journey's trigger.

Add a link to the customer's Personalized Cart by adding this snippet to a message:

{{triggerEvent.custom['repeat_cart_url']}}
Did this answer your question?