Forum Discussion
Webhook campaign - How to add 'email_subscribe' to request body
- 2 months 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. :)
- Manoj__2 months agoSpecialist II
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.
- tnguyen26202 months agoPractitioner
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__2 months agoSpecialist II
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.
Related Content
- 2 years ago
- 7 months ago
- 5 months ago
- 7 months ago
- 10 months ago