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 / Expenditure from for each
Power Automate
Unanswered

Expenditure from for each

(1) ShareShare
ReportReport
Posted on by 212

Hello all together

 

I have the action "get user profile" in a for each loop.

How do I get the output so that I can use it in other actions outside the "for each" loop?

 

Thank you

 

Patrick

Screenshot_000540.png
Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,305 Super User 2026 Season 1 on at

    Hi @PatrickSched ,

     

    After you get the user profile, which will wrap itself in a for each loop, next add the action you want to perform.  Just like the email address column was available for your get user profile action, the other columns in Excel will also be available downstream for use.  

     

     

  • trice602 Profile Picture
    16,305 Super User 2026 Season 1 on at

    Hi @PatrickSched ,

     

    To clarify, the values inside the apply to each (or for each) are only available inside the loop.

     

    Please describe what you are trying to do with the entire flow, that may be helpful.

     

     

  • PatrickSched Profile Picture
    212 on at

    hi @trice602 

     

    thank you vor your answer.

     

    The "problem" is that the flow is very complex and has numerous conditions. I can't put all the actions into the loop because I need them in different places. It would be an advantage if I could extract the information from the "for each" actions to use them elsewhere, but that's probably not possible, is it?

     

    Best regards

     

    Patrick 

  • trice602 Profile Picture
    16,305 Super User 2026 Season 1 on at

    Hi @PatrickSched ,

     

    That's not recommended you and we have challenges making very difficult to implement (from my experience).  When you access a value from an upstream action and there is more than one value, it is going to be in a loop because for each record, do these steps.

     

    Again, my recommendation is to describe the entire flow what you are trying to accomplish and there are lots of people here that will help you and offer framework to accomplish.

     

    Without the flow description and intent, we're just guessing.

     

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard