Replenishment campaign

Published August 19, 2022
Modules
Difficulty
Selected Clients
decathlon logocarrefour logo

You can encourage customers to reorder items that they have previously purchased, to meet demand. This kind of campaign increases the chances of making a purchase and thus increase your revenue. It might be useful especially in the FMCG industry, for products that sell quickly as coffee or milk. Additionally, we can use boosting to promote more products based on chosen indicators. Boosting rules are built using the same editor as the filters, but unlike filtering, boosting does not entirely exclude items that do not meet the conditions.

In this use case, we will create the workflow which, after a month from the transaction, will send an email with recommended products from a specific category (coffee) to encourage the customer to reorder. The recommendation will be boosted by the personalization model to boost products whose price exceeds the average price of all the customer’s transaction from a specific category.

Prerequisites


Process


In this use case, you will go through the following steps:

  1. Create an aggregate that calculates the average value of products from the Coffee category previously bought by the customer.
  2. Create the recommendation with boosting rules.
  3. Create an email template.
  4. Create a workflow.

Create an aggregate


In this part of the process, create an aggregate that calculates the average value of products bought by the customer from Coffee category.

  1. Go to Analytics icon Analytics > Aggregates > Create aggregate.
  2. As the aggregate type, select Profile.
  3. Enter the name of the aggregate.
  4. Click Analyze profiles by and select Average.
  5. From the Choose event dropdown list, select the product.buy event.
  6. As the event parameter, select $finalUnitPrice.
  7. Next to the $finalUnitPrice, click +where.
  8. From the dropdown list, select $category.
  9. As the operator, choose Equal.
  10. In the text field, enter the value of the category you want to use in replenishment campaign - in this use case, it will be Coffee.
  11. Define the period analyzed in the aggregate.
  12. Save the aggregate.
Configuration of the aggregate
Configuration of the aggregate
Note: Configuration of this aggregate depends on the implementation of the transaction events and it might differ for each workspace.

Create the recommendation with boosting rules


In this step, we create a personalized recommendation that will be filtered to the coffee category. Additionally, we will apply boosting rules to this campaign to promote products whose price is higher than the average price of the previously purchased products from this category by a customer.

Create the campaign


  1. Go to Image presents the Communication icon Communication > Recommendations > Add recommendation.
  2. In the Type & Items feed section:
    1. Select an item catalog.
    2. As a recommendation type, select Personalized recommendations.
    3. Click Apply.
  3. In the Items section, configure at least one slot.
    1. Choose the minimum and maximum number of products to be displayed in the recommendation frame.
    2. In the Static filter section, click Choose filter.
    3. Select Visual Builder.
      Result: The Visual Builder window appears.
    4. From the Select attribute dropdown list, choose the category attribute.
    5. As the logical operator, select Equals.
    6. From the Select value dropdown list, select Coffee.
    7. In the Level range field, enter 0.
  4. Click Apply.
Replenishment static filter section
Static filter section

Build the boosting rule


In this part of the process, you will build a rule that boosts the products whose price is higher than the average price a customer paid for the transaction during the specific period.

  1. In the Boosting section, click Define.

  2. Click Add rule.

  3. Click Define rule and select IQL Query. Result: The IQL Query window opens.

  4. Click the Select node.

  5. From the dropdown list, select Attribute.

  6. Click the null node.
    Result: The Select value button appears.

  7. Click Select value.

  8. From the dropdown list, select the price attribute.

  9. Click the Plus icon

  10. From the dropdown list, select Context.

  11. Click the null node.
    Result: The Select value and Property buttons appear.

  12. From the Property dropdown list, select Aggregate context.

  13. From the Select value dropdown list, select an aggregate created in the previous step.

  14. Change the mathematical operator between the nodes to the greater-than sign (>).

  15. Click Apply.

    Boosting items
    Boosting items with the price higher than the average value of order in this category
  16. In the Promote/Demote selector, select Promote (default value).

  17. Use the slider to adjust how much you want the rule to affect the results.

  18. Save the Boosting section settings by clicking Apply.

  19. Optionally, you can define the settings in the Additional settings section.

  20. Save the recommendation.

Create an email template


In this part of the process, prepare an email template with the recommendation created in the previous step that will encourage a customer to make another purchase from the specific category.

  1. Go to Image presents the Communication icon Communication > Emails > Templates > Drag&drop builder or Code editor to create an email template.
  2. In the upper right corner, click Inserts. In the AI Cart Recommendations 2 catalog, find previously build recommendations on the list of inserts.
  3. Copy and paste the Jinjava code of the recommendation and insert it to the template of your email.
  4. Adjust the visual layer of the email to your needs.
  5. Save your template.

Create a workflow


In this part of the process, create a workflow which is triggered by the product.buy event from Coffee category. The workflow will wait 30 days. If a customer did not make another purchase from this category after that period, we will send the email with the recommended products.

  1. In Synerise, go to Automation icon Automation > Workflows > New workflow.
  2. Enter the name of the workflow.
  3. As the first node, add Profile Event. In the configuration of the node, select the event that triggers the workflow. In this use case, it’s a product.buy event,
  4. Click + where and choose $category.
  5. As the logical operator, select Equal.
  6. In the text field, enter Coffee.
  7. Confirm by clicking Apply.
  8. As the second node, add Delay. In the configuration of the node, set the period to 30 days.
  9. As the next node, choose Profile Filter to check if customers have bought a product from the coffee category during last 30 days. To do this:
    1. Choose the product.buy event.
    2. As the parameter, choose $category.
    3. As the logical operator, select Equal.
    4. In the text field, enter Coffee.
    5. Set the time range to last 30 days.
    6. Click Apply.
  10. To the Matched path, add the End node.
  11. To the Not matched path, add the Send Email node.
  12. In the Send email node configuration:
    1. In the Sender details, define the account from which the email will be sent.
    2. In the Content section:
    3. Enter the subject of the email which will be visible in the customer’s inbox.
    4. Select the email template created in the previous step.
    5. Optionally, you can add UTM and URL parameters. If not, click Skip step.
  13. Confirm by clicking Apply.
  14. Add the End node to finish the workflow.
  15. Optionally, you can set up the capping for this workflow based on your business needs.
  16. Click Save & Run.
Replenishment workflow
Workflow configuration

Check the use case set up on the Synerise Demo workspace


You can check the the configuration of each step from this use case in our Synerise Demo workspace:

If you don’t have access to the Synerise Demo workspace, please leave your contact details in this form, and our representative will contact you shortly.

Read more


😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker