cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MatteCrystal
Frequent Visitor

Launch PAD Flow Via Hotkey?

Right now I just bring up the pad window of my Flows and click the play button to run them. How would I activate a flow by pressing Ctrl + Shift + L for example? 

I would want to access most of my flows this way plus some of my flows rely on acting upon the foreground window but the foreground application will always be PAD if I need to click the play button there to activate the flow. 

I also have a stream deck which I can map launching apps from so if hotkeys aren't possible but directly launching some file is then that would also be helpful. 

3 REPLIES 3
miketran13
Solution Specialist
Solution Specialist

Hi,

 

Unfortunately, you can only have a hotkey for terminating your flows / processes but you do not have hotkeys for starting flows / processes.

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

Is their anyway to start flows by manually clicking a file like myFlow.flow for example? That way I can use streamdeck and or autohotkey to manually start a flow that way?

 

pcand1001
Helper I
Helper I

Here is a workaround.
1) Create a flow like described here Flow for desktop 
2) Create a powershell script like

 

$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("sig", "Hoz_REPLACEME")
$headers.Add("Content-Type", "application/x-www-form-urlencoded")
$headers.Add("Hoz_GREPLACEME", "")

$response = Invoke-RestMethod 'https://prod-32.westus.logic.azure.com:443/workflows/REPLACEME/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=REPLACEME' -Method 'POST' -Headers $headers
$response | ConvertTo-Json

 

3) Create shortcut like

 

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\PowerShell\StartTeller.ps1"

 

4) Give your shortcut a hotkey
startteller.png
Voila

BTY, now that you have a script, you can schedule it with Windows task scheduler...
Also added a copy of a shortcut to shell:startup for something I have to do anytime I reboot the machine.

Helpful resources

Announcements
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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (1,791)