Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to get JSON of the loop?

(0) ShareShare
ReportReport
Posted on by

Hi!

I have part of flow which generates data to another flow. One of part is connected to O365 organisation structure. I'm interested how in most efficient way get this data. For now I was saving records on the list as a part of loop. Maybe It's possible to extract JSON of all elements of the loop? What is your idea? 

 

1st step insert email

2nd step insert direct reports from above.

3rd step save somewhere or get JSON element data from 2nd step.

 

 

json.PNG

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: How to get JSON of the loop?

    Hi @Anonymous ,

     

    You could initialize an array variable to store the JSON of the reports. When  :

    Annotation 2020-04-13 100219.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • JohnAageAnderse Profile Picture
    1,986 on at
    Re: How to get JSON of the loop?

    Hello @Anonymous 

    What is the purpose of your flow walking the hierarchy of your organization? Do you just need to have all employees in a list or ??? 🙂

    Kind regards, John

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 >