Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

Get URL of running Flow instance

Hi, I have a Flow running on a document library (trigger: When a file is added or modified (properties only)).

Now, I need/want to get the URL of the current running Flow instance (and write it to a field of the current document/item).


Is it even possible to get this URL? If so, how?


Any help would be highly appreciated!


Accepted Solutions

HI @HelgeNorvang,


Yes this is possible. You can use the workflow  expression.


View solution in original post


HI @HelgeNorvang,


Yes this is possible. You can use the workflow  expression.


Community Champion
Community Champion

Hello, @HelgeNorvang!


Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Pieter_Veenstra‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!


Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager

I'm keeping it open for now. I haven't had the chance to test it yet.


You saved my day. You are Flow magician!!


Frequent Visitor

Here's the naked expression.



Helper I
Helper I

can it be applied to different flow?

I want to get the URL for the instant flow that I newly build and insert it in the original flow.

my purpose is to send the email with the URL, so that user can just click it to trigger the instant flow

Hello Pieter,

I want to invoke an instant cloud flow by opening its URL, AND pass a URL parameter for use in the flow. Workflow() doesn't seem to recognize user-added URL parameters. 

Do you know of a way get user-added URL parameters of a flow's own URL? For example [flow instance address]&user=Socrates1000.

Thanks in advance. 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,570)