Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split by Contact variable- Consent status #3045

Open
KrishnaDwibhashi2 opened this issue Aug 28, 2024 · 4 comments
Open

Split by Contact variable- Consent status #3045

KrishnaDwibhashi2 opened this issue Aug 28, 2024 · 4 comments

Comments

@KrishnaDwibhashi2
Copy link

Recently, we have added a new dropdown within "Update Contact" for Consent status (Opt in/ Opt out).

But if we are using Split by Contact variable- Consent status- Opt in (has the phrase/ any of the words), the flow isn't working as expected. This is one edge case which we might have missed.

@akanshaaa19
Copy link
Member

akanshaaa19 commented Aug 29, 2024

Since we don't store the consent status in contact fields, split by contact field node won't work.
You can use split by custom expression node for this purpose.
You can checkout this flow for reference.
@KrishnaDwibhashi2

@KrishnaDwibhashi2
Copy link
Author

If Consent status--> Opt-in is selected Vs Settings--->Opt in is done- Aren't they saved under the same thing? If not, can you explain where Consent status answer is stored?

The approach you shared (split by custom expression) it will be confusing (or not so easy) for users to use. Is there a way for us to ease that by adding ability to use Split by Contact variable- Consent status- Opt in (has the phrase/ any of the words)?

@akanshaaa19
Copy link
Member

We are storing that in optin_status so inside split by custom expression node we are splitting on basis of @contact.optin_status
It is true for opted in user and false for opted out

@KrishnaDwibhashi2
Copy link
Author

Based on our discussion in Prod-Dev call, we will park it right now and pick in the next quarter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants