...
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 Live Offers UI
in Sanity, so the offer shows in the app to the user after it is assigned
Info |
---|
If the same offer is assigned multiple times, the user will see the same offer added multiple times to their offer list. This means that the user will see multiple instances of the same offer in their offer list - as many as offer assignments done for that offer. Each offer will maintain their own configuration settings |
...
Note |
---|
Please reach out to Lopes da Costa, Valentina or another PM to get you access to the API Key in Production or Staging for your brand |
...
Info | |||||
---|---|---|---|---|---|
If we want to set the end date as X seconds after assignment, we need to use the below logic By default, the assigned offers will have the same rules as the ones configured in Sanity. If you want to override some of these with custom rules, for example, a custom End Date & Start Date, you can pass the following arguments:
In the above example, we set the Start Date to be the time when the Offer was assigned, and we set the End Date to be 7 days after the offer was assigned (now + 604800 seconds). |
Note |
---|
|
Note |
---|
Be extremely careful and test your webhooks, once an offer is assigned to a user its rules CANNOT be changed from Sanity. |
Other resources
...