I would like to create a whitelist (for emails) to redirect users when they sign up on a specific page.
If they are not on the whitelist, they will be redirect on another page.
The thing I tried is to create a new type called : Whitelist with all my whitelisted domains (text type).
Then i created a rule “Only When” under the Sign up workflow, to let know bubble that i want to check in my whitelist if the user can access the next page or not.
You’re on the right track. Continue with the “Search for Whitelist’s” aspect, but switch from “contains inputs value” to looking for a “count” is = 1.
Then, in your search, that’s where you would add a constraint to extract the domain component of the email the pending new user is requesting. (Bubble offers an extract function for fields / inputs that are formatted as email, which will let you extract the constituent parts of alias or domain).
If you’re not able to follow the above, let me know and I’ll share a few screenshots.