+ 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").