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 Automate
Answered

Array Variable

(0) ShareShare
ReportReport
Posted on by 45

I am grabbing email address and display name from a list.

I am then looping through the distinct emails and sending an email to each one.  However, I am not sure how to get the display name into the email.

I though I could add both values to an array variable and then grab the name from it?  Not sure how to actually do it though.  Any ideas?

 

Thanks

Categories:
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Bill_Hand,

     

    Could you please share more details about the sharepoint list?

    Could you please share more details about the email address and display name column in the sharepoint list?

    How would you want to get the display name into the email?Could you please share a example of that?

     

    Please share more details so we would try to provide a proper workaround for you.

     

    Best regards,

    Alice

  • Verified answer
    Bill_Hand Profile Picture
    45 on at

    The list is contains a number of items that are assigned to a specific person (person field).  

     

    I did find a solution to the what I was trying to do.  I added both the email address and display name to the array variable and then created 2 new variables: email,display name and assigned them values using this formula: 

    split(first(variables('DistinctEmails')),',')[1]
     
    Thanks for following up.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard