Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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

  • trice602 Profile Picture
    13,773 Super User 2025 Season 1 on at
    Re: Expenditure from for each

    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.

     

     

  • PatrickSched Profile Picture
    212 on at
    Re: Expenditure from for each

    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
    13,773 Super User 2025 Season 1 on at
    Re: Expenditure from for each

    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.

     

     

  • trice602 Profile Picture
    13,773 Super User 2025 Season 1 on at
    Re: Expenditure from for each

    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.  

     

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492