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.
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.
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!
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...
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.
I am also looking for flows API that allows exporting/importing configuring and flow running to make a custom embedded solution in my application.