function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Test Test 143Test Test 143 

Auto Gmail Domain Update

If we give test@gmaal.com while creating a lead, We need to update lead email as test@gmail.com.

I am using workflow rule with field update action.

NOTE:- WIthout using apex Coding 
SwethaSwetha (Salesforce Developers) 
HI Nagendra,
Can you clarify where exactly you are stuck? I see you mentioned that you are already using a workflow rule with field update.Thanks
Test Test 143Test Test 143
Hi Swetha,
Thanks for your time.

I strucked while using formula at field action to update gmail domain.

SUBSTITUTE(Email, LEFT(Email, FIND("@", Email)), "@gmail.com").

Thanks.