Forum Discussion
Webhook campaign - How to add 'email_subscribe' to request body
- 9 hours ago
Hello tnguyen2620 AFAIK there is no in-built functionality to keep them in sync. You will have to create a separate logic to sync them.
Hi Manoj__ , thank you for your swift response. The sms_status does work for me, thank you so much.
However, for the email_subscribe, I'm looking at 'email_subscribe' attribute which takes either 1 out of 3 values : "opted_in", "subscribed" or "unsubscribed". Same for 'push_subscribe'.
What in your screenshot is the actual email address of the user. :)
Hello tnguyen2620 Yes, the emai_subscribe optin status wouldn't work. The workaround for this is to replicate this value in a custom attribute and use that value in webhook.
- tnguyen26209 hours agoNew Member
Hi Manoj__ , yes, that's one of the way I'm thinking of. Thank you.
I have tried creating a custom attributes called 'push_subscribe', is there a way to keep its value in sync with the user's attribute 'push_subscribe'?
- Manoj__9 hours agoSpecialist
Hello tnguyen2620 AFAIK there is no in-built functionality to keep them in sync. You will have to create a separate logic to sync them.
- tnguyen26209 hours agoNew Member
Hi Manoj__ , thank you so much. I'll try to find a work-around way.
Just wondering if Braze has a plan to make the {{${email_subscribe}}} and {{${push_subscribe}}} work anytime soon :)
Enjoy your day :)
Related Content
- 2 years ago
- 6 months ago
- 4 months ago
- 6 months ago
- 9 months ago