web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,194 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard