Personalized SMS with last visited most expensive product

Published April 30, 2020
Selected Clients
mig logo

Dynamic SMS’s are a type of text message that are sent to user mobile devices. They are an effective way of communicating with your customers and can be used in many ways. Dynamic SMS’s can be a very innovative way to make your communication not only more effective but also more attractive for your customers.

You can add to your message interactive content like e.g. specific product or the discount to encourage your customer to finish a purchase.

Example of use – Retail/Fashion Industry

A customer from the fashion industry prepared an email campaign with 20% discount for a second item and 40% for the third item on their website. They wanted to engage selected customers who opened the email on their phones and did not add anything to their basket until returning to the site.

As a medium, they used general SMS’s and dynamic SMS’s, depending on whether the user visited the product page from the moment the email was opened or not.

Users who visited the product card received a dynamic SMS containing the most expensive product among those viewed.

Screenshot presenting recommendations with opinions

Users who did not visit the product card received a general SMS.

Screenshot presenting general sms

Both messages were sent from Synerise Automation 2.0.


  • Synerise Tracker
  • Email account configuration
  • SMS account configuration (integration e.g. with SMS API)

How to do it

  1. Prepare an aggregate in which you collect information about recent unique visits (e.g. last 10 visits as in the example below) and check products based on their SKU.

    To do this enter the name of the attribute. We use a regular expression to be able to create code in jinjava that will show us the most expensive product among the last 10 viewed in a specific time range.

    Screenshot presenting general sms

  2. Prepare general sms.

  3. Prepare the dynamic sms.

    Dynamic SMS’s use jinjava, which checks if the user has viewed 1 product or more. If he saw 1 product, it returns information about this specific product. If a user saw more than 1, the mechanism checks which product was more expensive and this product will be sent to him in the SMS message.

  4. Prepare a segment of people to whom you want to address the campaign.

  5. Prepare an automation, which includes the user’s event page.visit in a given period of time. In our case, the page.visit event contains the OG:type parameter, which takes the value ‘product’ if the user viewed the product.

Screenshot presenting general sms

Automation starts with assigning an attribute that has been manually added to users in the created segment. Then we check whether the user has the appropriate value of the assigned attribute. If it meets this condition, we verify its page.visit:

  • If it has page.visit with the attribute OG:type equal to product, we send him a dynamic SMS
  • If it has page.visit with the OG:type attribute different from the product, we send him a general SMS
Tip: Automations can start from the event and then you can set a delay, after which we check the further conditions of the campaign to avoid manual interference in starting the automation.

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.



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