Understanding the anatomy of a Power Automate Flow run Url allows you to be able to programmatically build the Url within your Flows. This is beneficial because it allows logic within your Flow to handle when the Flow fails to be able to send the owners or admins of a Url to the Flow run that failed.

Anatomy of a Flow Run UrlAnatomy of a Flow Run Url

The above image show the different aspects of a Flow run Url and you can use the following expression to dynamically create the Url within your Flow:

json
concat(
'https://us.flow.microsoft.com/manage/environments/',
workflow()['tags']['environmentName'],
'/flows/',
workflow()['name'],
'/runs/',
workflow()['run']['name']
)

The workflow function allows us to access the properties we need to create the Url and we can use the concat funtion to combine them all together.

AaaS - Anthony as a Service