Hi All,
I'm looking to see if its possible to send an email summary to let me know how all of my flows have run daily ( or at least the daily flows) and instant emails if any of them fail
Could anyone advise
Many thanks
Hi @simonmccarthy27 :
I'm afraid there is no out-of-the-box functionality to monitor all flows at the same time.
But you can monitor some important flows in this way:
You can create a 'Scheduled flow' that runs daily to periodically call this API to get the running history of a certain flow:
You can use the API to create a custom connector to get the running history of Flow:
https://emea.api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/{environment_name}/flows/{flow_name}/runs
Thanks to @StefanS365 for the perfect solution, the following are some key steps:
Step1: Add the Activity.Read.All and Flows.Read.All permissions
Step2: Download and import the swagger file for the custom connector. And then Enter Client Id, Client Secret and Resource URL: https://service.flow.microsoft.com/
The Result
Please click this link to read StefanS365's article.
If you are new to creating a custom connector, please watch this video
Best Regards,
Bof
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional