How to get the Power Automate flow run id

Hello everyone and welcome to my blog. In today’s blog I will show how you can get the workflow run id in power automate flow.

Many a times you need the Power automate flow run id especially in scenarios to track which run id generated an error. The power automate flow run id is available at runtime and you can get it from the workflow expression.

Let’s see this in action. I have used the Compose action to get the output of the workflow expression.

And below is the output. Lookout for the section highlighted in yellow. The output object has a run property. The run property has the name property which is actually the flow run id.

Quite simple isn’t it? To get the Power automate flow run id you need to get the name property using the below expression.

outputs('Compose').run.name

Below is the output inside a variable using the expression above.

Hope this helped!

Debajit Dutta


Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading