web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create email address f...
Power Automate
Answered

Create email address from text field

(1) ShareShare
ReportReport
Posted on by 364

Hello All,

 

can anyone suggest a way to create an email address from a text field

 

Text field = John Doe.

 

Basically i need to update a person group field but i dont have the email from source.

 

Thanks for your time.

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,981 Most Valuable Professional on at

    Hi @egornua1 

     

    Do you know the domain details of the email address. The you could use the split() and concat expression to construct the email. See below.

     

    image.png

     

    The expression I used above is as follows:

     

    concat(first(split(outputs('Compose'),' ')),'.',last(split(outputs('Compose'),' ')),'@test.com')
     
    Run Result:
     
    image.png
     
     

    Thanks

  • egornua1 Profile Picture
    364 on at

    @abm - Thanks for your help on this.

     

    The conversion to email address works well, but when i try to use the expression to update either person/group field or a single line text field, i get the below error.

     

     Unable to process template language expressions in action 'Create_item' inputs at line '1' and column '32034': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Array'. Please see https://aka.ms/logicexpressions#split for usage details.'.

     

    Any ideas?

    Thanks again for your time and help.

  • abm abm Profile Picture
    32,981 Most Valuable Professional on at

    Hi @egornua1 

     

    Could you please post a screenshot of your flow?

     

    Thanks

  • egornua1 Profile Picture
    364 on at

    hi @abm,

     

    its all good now, i didnt have the compose within the apply to each.

    Once i moved it down, the flow ran fine.

     

    Thanks for your support, initial response accepted as the solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard