cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cshashank
New Member

How to execute Power Automate Desktop flow via command line?

Hi, 

 

Is there a way, we can trigger desktop flow via command line?

 

End objective is to check the feasibility with integrating power Automate with Jenkins/azure pipeline

11 REPLIES 11
kierian
Community Support
Community Support

Hello 

You can trigger power automate via CMD

if you would like to add feature to the product feel free to open new idea and will be reviewed by product group.

Power Automate Ideas - Power Platform Community (microsoft.com)

Have a good day.

Hi Kierian, 

 

When you say, we can trigger power automate via CMD, can you please help me with the steps? How to do that?

 

Thanks,

Shashank

Can you please provide on details on how to do this? Should we always rely on cloud to trigger the flows? There must be some way to trigger the flow on the same machine where power automate desktop is installed using the command line.

VJR
Super User
Super User

Hi @marklacdao 

 

There are many posts asking the same but there doesn't look to be a way as of now to trigger or even schedule a desktop flow without the cloud flow.

I think @kierian wanted to type you "can't" instead of you "cantrigger power automate via CMD.

Here you can upvote the idea for scheduling a desktop flow which also talks about command line and powershell.

Schedule Power Automate Desktop from within Window... - Power Platform Community (microsoft.com)

 

D_D_
Frequent Visitor

PetrosF-MSFT
Microsoft
Microsoft

In the Power Automate for desktop July release (will be released in the following days), we can run a desktop flow locally through a URL. We can create a custom URL containing the Flow name/Flow ID and the Flow's environment ID and trigger it through a browser or anywhere else. Stay tuned 🙂

nkiron_17
New Member

.

does it require a premium version?

PAG
Resolver I
Resolver I

In the meantime (waiting for the big July release 🚀), you always have these alternatives 😉

Power Automate Gallery - Run Flow From Command Prompt or Windows Task Scheduler 

Power Automate Gallery - Schedule Flows Using Power Automate for Desktop 


@nkiron_17 wrote:

does it require a premium version?


Yes it does:

 

Premium users that are signed into Power Automate for desktop can now trigger a desktop flow through its console run URL. With this new feature, users can run desktop flows outside the console and without opening it at all.

https://flow.microsoft.com/en-us/blog/power-automate-for-desktop-june-2022-update/ 

D_D_
Frequent Visitor

Hello

 

Problem is always the same: You have to start a flow manually first.

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.

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,458)