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 / Get Flow Run Structure...
Power Automate
Unanswered

Get Flow Run Structure and output

(0) ShareShare
ReportReport
Posted on by 56

Hi All,

I was wondering if there is a way to get the flow run structure by flow run id.

 

I have successfully implemented the graph api that gives me the flow run history with start date, end date, status, name, run id of each flow i have created. Now, i would like to also get the flow run structure for the specified run id. 

 

Basically it's what we see when we open a specific flow run, but in the classical json format. My goal is to retrieve automatically the numbers of "apply to each actions" that recurs within any of my flows. 

 

This should be possible in some way, but i have not been able to find any solution 🙂

 

Any help or suggestions would be appreciated,

 

Thanks a lot!

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @Spedoo41225,

     

    I would suggest to have a look at CLI for Microsoft 365. That has a m365 flow run get command for a single flow run which can output the flow structure in json format (also csv and txt btw). 

     

    Try something like below for a single flow.

    Replace the $environment, $flow & $runid variable values by your ids

     

     

     

    m365 login
    $environment = "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
    $flow = "3989cb59-ce1a-4a5c-bb78-257c5c39381d"
    $runid = "08586653536760200319026785874CU62"
    m365 flow run get --environmentName $environment --flowName $flow --name $runid
    
    

     

     

     

     

  • Spedoo41225 Profile Picture
    56 on at

    Hi @Expiscornovus,

    Thanks for your reply. Unfortunately i can't use external software or connectors. 

     

    Would you have any other suggestion ?

     

    Thanks a lot

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