web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to pass variable/p...
Power Automate
Unanswered

How to pass variable/parameters values to desktop URL

(0) ShareShare
ReportReport
Posted on by 6

Hello,

 

I would like to trigger a flow from an external application by launching the desktop flow url as below. I can execute the flow fine using the sample url format.

 

ms-powerautomate:/console/flow/run?workflowName=[workflowName]

 

However I also need to also pass some input variables to the flow within the url as parameters, however struggling to find any examples of this syntax anywhere. I assume it is possible? for example variable1=XXX,variable2=YYY

 

Regards paul

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Looks like that provision is not there yet.

     

    This is the link you might have already gone through.

    https://docs.microsoft.com/en-us/power-automate/desktop-flows/run-pad-flow

     

    Perhaps the alternative for now is to set the variables within the flow.

  • paulross Profile Picture
    6 on at

    Yes been through link several times. Seems like a strange limitation of the desktop automate. Guess I'll have to go the more complex path of cloud connection, assuming there is an API can to trigger flow with JSON attributes. Was just trying to keep everything on premise as some customers have some security constraints preventing cloud access.

  • VJR Profile Picture
    7,635 on at

    Hi Paul,

    This is not a limitation yet because running desktop flows via URLs has been released very recently. Could you share your exact requirements to see if there could be a good alternative than a complex one.

     

     

  • paulross Profile Picture
    6 on at

    Hi, Basic requirement to be able to trigger the flow from an external application using the URL. The external application allows us to create custom menu actions to launch an external URL and pass attributes into the url string.

     

    For example something like this ....... ms-powerautomate:/console/flow/run?workflowName=MyFlow&inputvariable1="56"&inputvariable2="activate"

     

    So instead of manually enter the input variables. They can be passed with the trigger URL. 

     

  • VJR Profile Picture
    7,635 on at

    I get your point. Can you do something like writing those input variable values to another application and reading those values via PAD. Do not know what are the possibilities for you but just thinking out loud about a database, Azure, Cyberark, etc.

    Or can you have PAD interact with that external application from where you are already calling the URL?

     

    Also submit an Idea here as this will be required by everyone soon.

  • zxcx08 Profile Picture
    2 on at

    Hi, I have the same use case about passing an input variable to PAD using console URL. Tried paulross suggestion but it didn't work for me. Anyone here find out how to pass an input variable to PAD using console URL?

  • elan Profile Picture
    4 on at

    it is very hard to understand how MS expect run an attended desktop Flow without ability to pass dynamic variables ???  

  • elan Profile Picture
    4 on at

    Do You  need special access right to view these ideas ?

     

  • paulross Profile Picture
    6 on at

    For anyone else trying this, as per previous suggestion as a work around I write the variable first to a temp file and then read the temp file in the workflow. Its clunky and lot of extra steps, but kind of does the trick. Certainly more cleaner and flexible to have facility to just pass directly. I am unable to access the ideas page, so hope someone with privileges has done so.

  • VJR Profile Picture
    7,635 on at

    The ideas page is moved to a new location here

    https://ideas.powerautomate.com/

     

    @elan @paulross 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 210 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 175

Last 30 days Overall leaderboard