...
Gather guest b-day date and then create a journey to participate into the guest special day, before during and after. The guest will receive an offer on his b-day date
Events:
Birthday Attribute
In-Store or Online Loyalty Transaction Claimed
if loyalty is not available, use
E-commerce Purchase
Webhook to attribute Points
Code Block |
---|
POST https://prod-bk-loyalty-middleware.rbictg.com/bulk-action/hot/assign-points
x-region: gb
x-api-key: d8p8sviv9080JZejsnYRc6FsqfUKXkkY4U4gFbfE
content-type: application/json
{
"pointsEarned": 50,
"source": "Anti_Churn_50Crowns_Webhook",
"email": "{{${email_adress}}}"
}
|
Webhook to attribute Offer (with expiry 7 days after attribution):
POST https://prod-bk-loyalty-middleware.rbictg.com/bulk-action/hot/create-offer x-region: gb x-api-key: d8p8sviv9080JZejsnYRc6FsqfUKXkkY4U4gFbfE content-type: application/json { "userId": "{{${user_id}}}", "templateId": "9bea8ee3-a0de-4c8d-8ce8-d09d8341d15d", "source": "braze", "configId": "1cc6d99c-c2ca-44d8-858a-50e9739c4fce", "ruleParams": { "startDate": "{{ "now" | date:"%F" }}", "endDate": "{{ "now" | date:'%s' | plus:1296000| date:"%F" }}" } }
Deliverables
4 unique mails, 4 unique push notification + IAM
Birthday Flow - Data Gathering
Send an one-off email/push to the whole database if they b-day date is not filled in
...
If the guest did not use the offer, they will receive a reminder to use it in the next 7 days
...
Learnings:
🇭🇺 Hungary:
...
🇧🇪 Belgium
...