Hi All,
I have a data type called customer and it contains a field called domain. Customer is also a filed on the user data type. During the signup process I need to assign the customer value to the field based on the domain of an email that the user input. I can’t seem to find the correct way to reference the user input value to the do search constraint. Any help?
Thanks!
Let’s ask our AI! How about…
In your signup workflow
- After the “Sign the user up” action, add a “Make changes to Current User” action
- Set the Customer field to a “Do a search for” expression:
• Type: Customer
• Constraint: domain = Input Email’s value:extract domain
To extract the domain from the email
Use the :extract domain operator on your email input. This will automatically pull just the domain portion (e.g., “company.com” from “user@company.com”).
Your search constraint should look like:
Do a search for Customers
Constraint: domain = Input Email's value:extract domain
:first item
1 Like
This topic was automatically closed after 70 days. New replies are no longer allowed.