cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

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
Highlighted

Re: programmatically create a flow

No this is not possible yet. 

Highlighted
Advocate I
Advocate I

Re: programmatically create a flow

Oh... 😞

is it on the road map?

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

Highlighted

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!

 

 

 

Highlighted
Community Support
Community Support

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
Advocate I
Advocate I

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

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