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 / Using Output of Filter...
Power Automate
Suggested Answer

Using Output of Filtered Array in Apply to Each Dynamic Content

(0) ShareShare
ReportReport
Posted on by 10
Hi all,
 
I have a flow which does List Rows in Table>Filter Array>Apply to Each>Send an Email. I can select Filter Array(Body) as the input for "Apply to Each", but then columns for filtered rows are not available as dynamic content in the email, only columns from the original List Rows step. I've attached a picture of my options for the Send an Email step.
PA.png
Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at
    Hi
     
    Use the expression item()?['schemaname']
     
    eg: you column name is emailaddress then
     
    item()?['emailaddress ']
     
    Thanks
  • AK-01121952-0 Profile Picture
    10 on at
    @abm abm how does it know which output item()?['emailaddress'] refers to?
  • Chriddle Profile Picture
    8,672 Super User 2026 Season 1 on at
    Use items('Apply_to_each')?['propertyname']
  • Suggested answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at
    It all depends what action step you are using next.
     
    You can iterate using an Apply to each
     
    Or without say for example if you are using convert to html or somethin then use item() expression.
     
    Thanks
  • AK-01121952-0 Profile Picture
    10 on at
    @abm abm the order is List Rows from Table > Filter Array > Apply to each. But how does it know if I'm using the output of "List Rows" or "Filter Array" when I refer to property? 
  • AK-01121952-0 Profile Picture
    10 on at
    @Chriddle how will it know if I'm referring to the output of "List Rows From Table" or "Filter Array" ? 
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at
    Hi
     
     
    In your flow are you trying to send email for all the records which you filtered. That means if the filter array contains 10 records you sending 10 emails? Or you want to send one email and put all the contents of the filter array in this send email body.
     
    Thanks
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    It will know because you are specifically defining what the Input is
     
    If you have 
    List Rows
    Then Filter Array
     
    In your Apply to each you are either putting in the body/value of list rows or the output/body of the filter array action, that is how it will know based on the input you give it.
     
     
  • AK-01121952-0 Profile Picture
    10 on at
    @Michael E. Gernaey I put "Filter array" is the input for "apply to each." But then I had to use the "List rows" dynamic content in the email and it created a separate "for each" loop within the "apply to each".

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard