cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
viperzzz
Level: Powered On

programmatically create a flow

Hello. here is my scenario:

sharepoint online:

when ever somthing happens (not realy important) a new list is created - this does not seem to be supported action so i used a custome connector and crated the new list with the help of an azure function.

 

now i would like to attach a flow to that new list that was just created by code - is there some sort of api for this?

thanks

 

 

5 REPLIES 5
Super User
Super User

Re: programmatically create a flow

No this is not possible yet. 

viperzzz
Level: Powered On

Re: programmatically create a flow

Oh... 😞

is it on the road map?

same goes for the option of action to create new list/folder

Super User
Super User

Re: programmatically create a flow

In general the best thing to do is create a post in the Idea section.

 

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

I've created an idea for this now: https://powerusers.microsoft.com/t5/Flow-Ideas/programmatically-create-a-flow/idi-p/112491

 

so please upvote it!

 

 

 

Community Support Team
Community Support Team

Re: programmatically create a flow

Hi @viperzzz,

 

Do you want to attach a flow to a SharePoint list created by code?

 

I agree with @Pieter_Veenstra's thought almost, I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

Currently, we could attach a flow to a SharePoint list via creating a flow from Flow Launch Panel of SharePoint list or adding the "For a selected item" trigger as the trigger of your flow. More detail about Flow Launch Panel of SharePoint list (or library) and the "For a selected item" trigger, please check the following article:

https://flow.microsoft.com/en-us/blog/introducing-flow-launch-panel-in-sharepoint-lists-and-librarie...

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
viperzzz
Level: Powered On

Re: programmatically create a flow

not axacly. yes the list was created by code. but the flow needs also to be created by code.

lets say that the list was created manualy - would that give me some API to create the Flow?

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors
Users online (6,641)