cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
usethegreymatte
Frequent Visitor

Convert Name to email

I am pulling user names from Salesforce cases. I need to convert the name to the following pattern: firstname.Lastname@company.com I.E John Smith - John.Smith@Company.com

 

1 ACCEPTED SOLUTION

Accepted Solutions

I think this is better:

concat(replace(trim(name),' ','.'),'@company.com')

 

 

View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User II
Dual Super User II

@usethegreymatte 

You can add a compose data operation as below:

]where name is captured inside your apply to each loop and in place of John Smith

 

concat(split(name,' ')[0],'.',split(name,' ')[1],'@company.com')

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

I think this is better:

concat(replace(trim(name),' ','.'),'@company.com')

 

 

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,144)