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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get first email addres...
Power Automate
Unanswered

Get first email address from list of items

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • Jcook Profile Picture
    7,781 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
    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,781 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
    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,781 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard