Send a back in stock notification to let customers know that a particular item that they have recently viewed is now available.
The target audience can also be customers who added the item to a wish list or liked the item, and so on.
Prerequisites
Before you reach out to Blueshift to set up the back_in_stock derived event, you must complete the following tasks.
Upload a catalog with availability (in stock or out of stock) and/or dates (start and end) to Blueshift.
Update the catalog with availability information whenever availability changes.
Send customer activity data (events) with catalog item interactions to Blueshift.
Event input
Specify the criteria for the target audience - For example, all customers who had an event A (e.g. view) for an out-of-stock item within the past N (e.g. 7) days and the item is now back in stock.
Event output
Blueshift will configure the logic which generates a ‘back_in_stock’ event whenever the availability of an item changes for any customer who meets the above criteria. Each back_in_stock event contains the following information:
Item - the item for which the availability has changed.
Customer - the customer who needs to be alerted about the availability of the item.
Example:
{
"event_uuid": "11cd8a74-946b-4c3a-9cf2-5458813db1f9",
"account_uuid": "c091b62a-3589-43cd-9290-0cdca2fe3871",
"site": "demosite.com",
"computed_timestamp": "2022-09-22T07:20:38+00:00",
"event": "back_in_stock.view",
"user_uuid": "dda5514e-d1f4-4bf6-bd35-545602b231d2",
"product_ids": [
"9780307339898"
],
"timestamp": "2022-09-22T07:32:34Z",
"computed_event_uuid": "15c5b0c3-490a-4f7b-955a-6e02da2c12e2",
"source_event": "view",
"source_timestamp": "2022-08-28T12:22:26.000Z",
"product_save_mode": "append",
"action": "custom_event",
"custom_event": "back_in_stock.view"
}
Recommendation scheme
(Optional)
If you want to include items in the messaging templates in the form of recommendations, you must set up a recommendation scheme. You can use the Retail - Back in stock recipe as the basis for the scheme.
Trigger the campaign
Set up an event triggered campaign which is triggered by the derived back_in_stock event. Use the Triggering event attributes to select the right target audience.
Note: You can also set up a segment and use it in a segment based campaign.
Example
The derived event back_in_stock.view is used to trigger the campaign.
