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 / Apply to each Send a mAIL
Power Automate
Unanswered

Apply to each Send a mAIL

(0) ShareShare
ReportReport
Posted on by

Hi Everyone 

 

Below is the action for the sending a mail to the list of users 

Danny_Dicaprio_0-1713246010364.png

 

In compose action Iam getting a list of users to whom I need to send the mail 

 

Could anyone plaese help me to  Complete the steps using get user profile for the display name 

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @Danny_Dicaprio 

    If you want to send one email , you can use this code in the "Send an email" action:

    vyueyunmsft_0-1713246790398.png

    join(outputs('Compose'),';')
     
    If you want to send email to each person, you can use apply to each action:
    vyueyunmsft_1-1713246854031.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

  • Danny_Dicaprio Profile Picture
    on at

    @v-yueyun-msft 

     

    Hi Thanks for the reply That worked perfectly fine!

     

    for some reason I cannot use the get user profile 

     

    my email ID's are comming like this  "tatana.pilea@rmm.com", 

     

    I would ;like to extract the first name from user mail ID And use it in the mail body inside the apply to each could u please help me on how will I do it 

     

     

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @Danny_Dicaprio 
    If you want to get the first name from user mail in each loop. You can try to use this code:

    "tatana.pilea@rmm.com" ----------------> tatana

    split( split( items('Apply_to_each') ,  '@' )?[0] , '.')?[0]
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard