Power Automate: Get the list of all Flows

Fatma Uzunöz
adessoTurkey
Published in
3 min readSep 2, 2021

In this article, we will see how we can obtain a list of Flows we have created in an environment. Power Automate that automates actions across the most common apps and services. You may need to get all the list of flows to manage them. Power Automate contains different types of flows. You can create; Automated, Instant, Scheduled.

To get the all flows list, we’ll create a new Instant Cloud Flow to get the list of Flows created in our system. We aim to control the list by running this Flow manually, when we need it. You can also write a Flow that will send an email the list at regular intervals by creating a Scheduled Flow.

We are creating a new Instant Cloud Flow. We choose the Manually trigger a flow option.

To list the flows, we choose List Flows as Admin from the Power Automate Management connector. Using this action you can get a list of all Flows that you can see as admin.

You can also choose one of the following according to your needs.

· List Flows as Admin: List all flows in the given environment you have admin access to.

· List Flow Owners: List all owners of the given flow in an environment.

· List My Flows: List all flows you created in the given environment.

· List Flow Run-Only Users: List all run only users of the given flow in an environment.

Now, we can start to design the flow. You can define an array variable to collect the flows names as a list. We’ll use this variable to add the flow names.

After adding the List Flows as Admin action, the Environment needs to be choosen.

To collect the all flow names into the array variable, the Apply to each will be used. The flow name will be added to the array for each flow. Compose action provides the result data easy to read.

The flow steps are; Choosing the flow type, initializing the array variable, retrieving the List flows, setting the variables for each items, compose the variable.

When running the flow, clicking the Run button, you’ll see the list of all the flows.

As a result, we use the List of Flows as Admin. You can create a flow and choose one of the actions you need.

References

--

--