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 / Extracting data from a...
Power Automate
Unanswered

Extracting data from an Append to array variable

(0) ShareShare
ReportReport
Posted on by 27

Hi there

 

I am trying to extract 6 usernames from an array and then use this within a 'Send an email' step utilising  functions/expressions. The flow is as follows:

Recurrence
Initialise variable (array)
Get Items with two filter queries
Apply to each with Append to array variable within. 

zolla_0-1649350359270.png

 


I then get stuck with the expression as there will be 6 usernames I need to extract one by one in to the email. I assume I'll need 6x functions.

Am thinking I need to start the expression with: first(     but then get stuck with the rest.

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @zolla ,

    you could use also the 'Select' action to get all the emails in a single action.

     

  • zolla Profile Picture
    27 on at

    Unfortunately this is proving a little tough for me I'm afraid. I am not understanding the select option.

    There will be one email listing 6 users somehow. If I choose the select option, do I need to initialise a variable (array)? Or can I just use the select option?

  • zolla Profile Picture
    27 on at

    Although I am still struggling with the flow, the information provided in the link has been super useful to gain more insight on how to use select.

  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @zolla ,

    what are you struggling with? Can you share a screenshot of the flow and in which steps you're stuck?

  • VictorIvanidze Profile Picture
    13,079 on at

    If you need extract all elements (user names) from array, just transfer array to a single comma-delimited string and place this string to the email body.

  • zolla Profile Picture
    27 on at

    Hi @tom_riha 

    Thanks for coming back to me. I'd like to take a step back and explain exactly what I am trying to do and then will share what I have done thus far:
    1. Basically I have a SP list called PanelSelectors. A column in that list displays static usersnames in a SharePoint Person/group column. This is the master list of all panel selectors
    Some, not all, of the panel selectors vote on a monthly basis. Some may vote more than once.
    2. I have another list displaying which panel selectors voted for the month. Some usernames are duplicated as one panel selector may have voted more than once.

    What I need to do is collect both lists, compare the usernames/panel selectors of those who have voted (voted list) to those you haven't (master list) and then send a notification with a list of usernames (not duplicated) that have not voted for the month.

    zolla_1-1650383542663.png

    zolla_2-1650383630785.png

    zolla_3-1650383721714.png

    zolla_4-1650383749063.png

    zolla_6-1650383801308.png
    zolla_7-1650383822636.png

     

    Hope that all makes sense!

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard