Hi, Everyone;
I’m wondering if there’s a way to create a segment through the API.
Essentially I’m struggling with a “Feature” that a client wants to make.
They’d like to create a product waitlist/invite system, by which people subscribe to a waitlist for a product on their site and then they invite x number of people at a time. (However, they want to automate all of it and don’t want anyone not invited to be able to buy the product).
My first thought was create a profile with a “Waitlist” event with the product details as a property, then creating something that will trigger an “Invited” on x number of profiles with the waitlist event on their accounts.
Then on the product page of the website have a checker that determines if the person was invited.
I was expecting the API to have a way to filter profiles by whether they have an event with a value, and another event with a different value. In my case
Select all profiles with:
Wishlist: T-Shirt and Not Invite T-Shirt
The problem is the API doesn’t seem to have the ability to do that. Which leaves me with my desperate plea to people undoubtedly smarter than me.
Is there a way to create a segment list through the API? Or can anyone think up a better solution for me to give a go.
Thanks
Best answer by retention
View original