Benjamin Reynolds (Deactivated) recording → Targeted Coupons Through Braze-20220322_123641-Meeting Recording.mp4
Traditional Offers Assignment
Sanity
...
Setup
Use Required assignment ruleset
...
Find here documentation on Sanity rulesets
...
Braze
...
Configuration
Body request
Code Block | ||
---|---|---|
| ||
{ "couponId": "0526d543-3871-4e9c-bec5-327ebcd3f1db", "tokenId": "tester", "userId": "{{${user_id}}}", "expiresOn": "2020-08-11T08:59:59.000Z" } |
...
Loyalty Offers Assignment (Loyalty Offers Platform)
Sanity Setup
Create a template offer (e.g. template offer for Braze Offers in BK UK)
this offer can be used for all future Braze Offer Assignments
save the
Loyalty Engine ID
of the template offer to input into Braze afterunder
Mechanics
ensure a config offer is added underConfig Offer
and under theRequired Rules
drop down theDate Band
toggle is turned onit does not make a difference which config offer is within the template offer in Sanity - it just needs to be added so the offer can be Published
...
Create a Config Offer (e.g. config offer for for BK UK)
you will need a different Config Offer created for each offer you would like to assign using Braze
save the
Loyalty Engine ID
of the template offer to input into Braze afterwithin this config offer, in the
Mechanics
dropdown underBenefits
you will need to link the offer benefits (e.g. Picker or Offer Combo)Make sure to add the config offer to the list of Live Config Offers in the
Loyalty Offers UI
in Sanity, so the offer shows in the app to the user after it is assigned
Braze Configuration
Body request
Code Block | ||
---|---|---|
| ||
{ "userId": "{{${user_id}}}", "templateId": "31860003-2e04-4b2e-9008-a6aa33f69da9", "source": "braze-test", "rank": 123456, (optional) "configId": "Loyalty engine id of config offer", "ruleParams": { "startDate": "yyyy-mm-dd", "endDate": "yyyy-mm-dd" } } |
...
...
Assign Loyalty Points to Users Using Braze Webhook
Tip |
---|
This can be used for all Markets with Loyalty for both CBA Offers Platform and the New Loyalty Offers platform |
Body request
Code Block | ||
---|---|---|
| ||
{ "pointsEarned": 500, "source": "braze", "userId": "{{${user_id}}}" } |
...