cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically create a flow

It would be great if it was possible to create a flow programmatically this would enable the creation of sites where flows are triggered by events on lists within that site. 

 

this should include options that can be called from the Flow Management Connector so that flows can be created from Flow.

Status: Completed

You can programmatically create flows. Read more about the specific action here: https://docs.microsoft.com/connectors/flowmanagement/#create-flow and the announcement here: https://flow.microsoft.com/blog/planner-triggers-connector-improvements/ The API is also now documented here: https://docs.microsoft.com/flow/web-api so you can use whatever tools you want to create or update flows programatically. 

Comments
Level: Powered On

 I feel this is a very important feature that is, unbelievably, currently missing. I would very much like to be able to provision a site with predetermined flows associated to certain lists and am rather surprised that this is not a more prominent request!

Level: Power Up

Seriously, its not possible to use Flow in any way that would make sense.

There are so many triggers or Connectors missing that I expected as essential for process automation.

Here just a few example for Ideas I had before giving up on flow:

1. Write ToDo in a file after completion -> No ToDo/Outlook Tasks trigger without specific task id

2. Create Forms Form from SharePoint list entries -> No Forms Connector API (WTF no automatic form creation?!)

3. Automatically create flows -> No Flow connector or API SERIOUSLY?!

 

I have the feeling as if there is no one using flow. If such essential features are missing, whats the whole point of a workflow engine...

Level: Power Up

This is something to be there by default. We talk about automation using Microsoft flow, but end up clicking buttons manually to create them. At-least there has to be a CLI interface.

Level: Power Up

Hi, 

I am also looking for flows API that allows exporting/importing configuring and flow running to make a custom embedded solution in my application. 

Definitely required!!! 

Power Automate Staff
Status changed to: Completed

You can programmatically create flows. Read more about the specific action here: https://docs.microsoft.com/connectors/flowmanagement/#create-flow and the announcement here: https://flow.microsoft.com/blog/planner-triggers-connector-improvements/ The API is also now documented here: https://docs.microsoft.com/flow/web-api so you can use whatever tools you want to create or update flows programatically.