Extra points for purchases from the specific locations during specific time

Published June 12, 2023
Modules
Difficulty

In today’s highly competitive business environment, establishing and nurturing customer loyalty holds immense significance for companies aiming to maintain their customer base and drive revenue growth. To accomplish this, deploying a well-designed loyalty program emerges as a powerful tool, incentivizing customers for their purchases and fostering continuous engagement and brand advocacy.

This specific use case delves into the implementation of a targeted loyalty program, wherein customers earn reward points for transactions conducted exclusively at a designated point of sale (POS). The program’s strategic focus aligns with the grand opening of a new store, offering a limited-time promotion that is exclusively available during the opening weekend.

Following a purchase, it is possible to send customers an email informing them of their existing points balance. Although the specifics of this communication process are not addressed in this particular scenario, if you are interested in acquiring knowledge on generating analytics to calculate point balances for customers, we suggest referring to this use case, which offers a comprehensive, step-by-step tutorial on creating such analytics.

Prerequisites


  • Implement transaction events using SDK or API. Make sure that you implement shopID parameter that contains the ID of the point of sales where the purchase has been made.
  • Implement basic loyalty program based on which you granted customers with 1 point for every 1 PLN spent.

Security configuration

Before you start working with this module, if you are a Synerise customer or partner, consider reading the section about denylisting events. This natively accessible configuration will allow you to manage the restrictions in points management that may help you prevent fraud.

Create a workflow


Design a workflow that awards 150 points for completing 10 transactions within a specified timeframe and location. In our particular use case, this will apply during the weekend when the grand opening of the stationary shop will take place. For the purposes of this use case, we will use the ShopID of the stationary shop, which is POS4.

  1. Go to Automation icon Automation > Workflows > New workflow.
  2. Enter the name of the workflow.

Define the Profile Event trigger node

At this stage, we will configure the conditions that launch the workflow. As a trigger, we will use the transaction.charge event.

  1. As the first node of the workflow, add Profile Event. In the configuration of the node:
    1. From Choose event dropdown menu, choose the transaction.charge event.
    2. Click the + where button and from the dropdown list, choose shopID.
    3. From the Choose operator dropdown, select Equal.
    4. In the text field, type the name of the shopID, as POS4.
    5. Click the + where button and from the dropdown list, choose revenue.
    6. From the Choose operator dropdown, choose More or equal to.
    7. In the text field enter 10.
    8. Click the + where button and from the dropdown list, choose TIMESTAMP.
    9. From the Choose operator dropdown, choose Custom (Date).
    10. Click Select date range.
    11. Set the time range in which your promotion is active. In this use case, it will be one week.
  2. Confirm by clicking Apply.
Profile
Profile Event trigger node

Configure the Generate Event node

In this part of the process, you will create a node that generates a points.loyalty event which adds extra loyalty points. This event is created in addition to the regular points.loyalty event. In result, the customer receives points for a purchase in the specific point of sales twice:

  • Points based on the loyalty points schema described as a part of prerequisites.
  • Extra points through this workflow. The body of the additional event will contain 150 bonus points for purchases in location - POS4.
  1. As the second node of the workflow, add Generate Event.
  2. In the Event name field, enter points.loyalty.
  3. The Label field exists for backwards compatibility. If your integration does not require this parameter, skip it.
  4. In the Body section, define the parameters of this event, and click Apply.

Example content of Body section:

{
  "bonusType": "location - POS4",
   "points": "150"
}
Note: The event body is an example. You can add more parameters or change the point calculation, perform any mathematical formula according to your business needs.
Generate Event node configuration
Generate Event node configuration

Add the end node


  1. On the Generate Event node, click the plus icon.
  2. From the dropdown list, select End.
  3. Optionally, define capping.
  4. Optionally, add titles to each node so the workflow will be more understandable to your colleagues.
  5. In the upper right corner, click Save & Run.
The workflow configuration
The workflow configuration

Check the use case set up on the Synerise Demo workspace


You can check the configuration of the workflow directly in 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