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 / Get first email addres...
Power Automate
Answered

Get first email address from list of items

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am running a scheduled flow to get items from a SPlist which includes a people picker column. How can I pull the first email address from all the items it collects that match my query to use as a send to for an email?

Categories:
  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @Anonymous 

     

    I might need more information.

     

    Try using the first() expression.

     

    The syntax will be:

    first(<DynamicContent)?[‘columnname’]

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Jcook 

     

    I'm confused about your bracketing? The column is "Reserved By", what would I put for the dynamic content? The value of the get items?

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    @Anonymous 

     

    Yes that is correct. Use the value from your get items. Then you want to add ?[‘Reserved By’] to the end

     

    ? = looking for a value that is present or null

    [ ] = the column name you want to find

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Jcook 

     

    So I think I got it except the email address comes along with extra information as shown. My output of the email ends up being blank because of this?

     

    2020-08-03_19-55-09.jpg

  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    @Anonymous 

     

    Oh wow, that is weird.

    Copy that value from your variable.

    Now use a parse JSON action below your variable. Pass in the variable, and click generate schema from example,

     

    this is where you paste the copied value from your variable.

    Now you should be able to use dynamic content from parse JSON that has just the email address

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
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard