Yotpo - Set up automations


This article goes through how to set up some common automations for Rules integration with Yotpo. These instructions assume that you have already configured Yotpo Loyalty integration with Rule. You can find more information about the Yotpo integration for Rule here.


Good to know:


If the tag does not exist yet (i.e. in cases where the event has not been triggered), you can create the tag manually so that you can set up the automations before the integration is used. In the Rule app, navigate to the 'Tags' page and click on "New tag". Under the Name field, enter the name of the event tag you want to create. Note that the tag name must be the same as the tag used by the integration, which can be found in the Yotpo integration documentation.


We will go through


  1. Referrel Link Share
  2. Referrel Completed
  3. VIP Tier Earned
  4. Birthday


Referrel Link Share


The event Referral Link Share is triggered when an existing customer refers someone who is not yet a subscriber.


When creating the automation, select "ReferralLinkShare" as the trigger tag.




You can use the fields from the Referral Link Share event to build a referral email, as shown in the example below:




The following fields are saved for this event and can be used in email templates:


Yotpo.ReferredByEmail
Yotpo.ReferredByFirstName 
Yotpo.ReferredByLastName 
Yotpo.ReferredByReferralLink


Referrel Completed


When a referral is completed, the event Referral Completed is triggered for the original referrer. This automation will use the trigger tag called 'ReferralCompleted'.



Using the available fields, you can inform the customer about who they referred, as well as how many points were given for that specific referral. See below for an example template:





The following fields are available for this event:


Subscriber.FirstName
Subscriber.LastName 
Yotpo.TotalSpendCents 
Yotpo.TotalPurchases 
Yotpo.LastPurchaseAt (datetime) 
Yotpo.PerksRedeemed 
Yotpo.PointsEarned 
Yotpo.PointsBalance 
Yotpo.PointsExpireAt (datetime) 
Yotpo.LastSeenAt (datetime)
  
Yotpo.PerkID 
Yotpo.PerkCampaignID 
Yotpo.PerkRewardPoints 
Yotpo.PerkHistoryTitle  
Yotpo.ReferredToEmail 
Yotpo.ReferredToFirstName 
Yotpo.ReferredToLastName


VIP Tier Earned


This event is triggered when the subscriber has reached a VIP tier in the Yotpo platform. For this automation, you should use the trigger tag 'TierEarned'.



In the email template, you can inform the subscriber about their old and new tier, as well as the points that were the triggering factor for the new tier.





The following fields are updated for this event:


Subscriber.FirstName
Subscriber.LastName 
Yotpo.TotalSpendCents 
Yotpo.TotalPurchases 
Yotpo.LastPurchaseAt (datetime) 
Yotpo.PerksRedeemed 
Yotpo.PointsEarned 
Yotpo.PointsBalance 
Yotpo.PointsExpireAt (datetime) 
Yotpo.LastSeenAt (datetime)  

Yotpo.NewTierID 
Yotpo.NewTierName 
Yotpo.NewTierDescription 
Yotpo.NewTierPointsEarned 
Yotpo.NewTierAmountSpentCents 
Yotpo.NewTierPurchasesMade 
Yotpo.NewTierPointsMultiplier 
Yotpo.NewTierRank 
Yotpo.OldTierID 
Yotpo.OldTierName 
Yotpo.OldTierDescription 
Yotpo.OldTierPointsEarned 
Yotpo.OldTierAmountSpentCents 
Yotpo.OldTierPurchasesMade 
Yotpo.OldTierPointsMultiplier 
Yotpo.OldTierRank

Birthday


You can send a Congratulations message as an email or SMS to a subscriber if their birthday has been captured through Yotpo.


There are two webhook events related to a customer's birthday from Yotpo. The first one is the Birthday webhook, which is triggered on the actual day of the customer's birthday at 1 PM UTC. This webhook contains benefit data, which is needed to include reward information in the email. The second webhook is the Birthday Captured webhook, which only saves the customer's birthdate. These instructions come before the first webhook, but if you want to use the trigger based on the customer's birthdate, you can read more in the article here to set up annual triggers.


Create a new automation triggered by the tag 'Birthday'.



Below is an example template that uses some of the available fields from this event. You can notify the customer about any rewards given to them on their birthday.



See below for a list of fields available for this event:


Subscriber.FirstName
Subscriber.LastName 
Yotpo.TotalSpendCents 
Yotpo.TotalPurchases 
Yotpo.LastPurchaseAt (datetime) 
Yotpo.PerksRedeemed 
Yotpo.PointsEarned 
Yotpo.PointsBalance 
Yotpo.PointsExpireAt (datetime) 
Yotpo.LastSeenAt (datetime)  

Yotpo.RedemptionRewardText 
Yotpo.RedemptionName 
Yotpo.RedemptionDescription 
Yotpo.RedemptionAmount 
 
Yotpo.PerkID 
Yotpo.PerkCampaignID 
Yotpo.PerkRewardPoints 
Yotpo.PerkHistoryTitle

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Other ways to get help

Sign up for our next training

Free

Become an expert in Rule and discover the power of all the functions in the platform. We guide you step-by-step!

Contact us to book a Workshop

Discover how you can increase digital engagement and growth in a personal review of Rule

Couldn’t find what you needed?

No worries, feel free to reach out to our support about any queries!

Sign up to our newsletter!

I agree to receive Rules newsletter in accordance with the privacypolicy.