Email Domain Lookup
Collapse
X
-
Hello,
I’ve done something similar by building a custom controller/api action to use as a web-to-lead url where all the incoming leads would be assigned directly to a user.
but seems like you could solve your issue by using a simple hook.Last edited by Kharg; 11-18-2024, 01:41 PM.Leave a comment:
-
Email Domain Lookup
I have a requirement to assign Leads created via Email/WebForm to a specific user based on the Email Domain.
For example:
There is an Account A with Contacts whose email address are of the format: abz@company.com.
Now, If a new Lead gets created whose email address is xyz@company.com, Assign the Assigned User of Account A to this Lead.
I could do a findOne() where emailAddress LIKE (*company.com) on Contact table.
Has anyone done anything of this sorts?
I was wondering if there was a better way to achieve this.
Any ideas are welcome. Thank you!
Leave a comment: