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 / Extract Email Address ...
Power Automate
Unanswered

Extract Email Address from Array

(0) ShareShare
ReportReport
Posted on by 13

Hi All,

 

Sorry if this has been posted, but I've been unable to find a close match. I need to create a notification for open items from a SharePoint list. This notification will be sent at a pre-defined schedule to any users with open items. I'm not sending a summary of the data, but rather an email template stating that the user has open items to address. I've been able to grab distinct values (thanks to another post). But I cannot seem to extract the email address(es) from the array. Can someone help out with the expression needed to extract the emails? Thanks!!

 

Email Array.PNG

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

    Hi @dsmith,

     

    For testing, I have created an array using the createArray function with two email addresses.

    Then I use first function and skip function to return the first and second email address from the array.

    Please check the following flow for a reference.

    Input the following code in Compose 2 to create array:

    createArray('test4@xxxx.onmicrosoft.com','mabel@xxxx.onmicrosfot.com')

     With the following code to get the first email address:

    first(outputs('Compose_2'))

     Using this code to return the second email address:

    first(skip(outputs('Compose_2'),1))

     Please check it for a reference.

    1.PNG 

     

    Best regards,

    Mabel

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard