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

Attach a common Flow to a SharePoint List/Library to trigger or create/update

 Hi Community Members,

 I would like to create a new Flow which is triggered on SharePoint item/document create/edit event. This flow will be a common flow for many SharePoint sites and I would like to programmaticaly  attach these flows to the required lists/libraries across many SharePoint sites.

Is this possible?

How do i go about creating a common flow to be used across multiple SharePoint sites? and can I use CSOM, Rest API, Powershell to attach the flow to the libraries/lists on those sites?

2 REPLIES 2
Super User III
Super User III

Hi @AzureSpDev-1 

 

It is not possible to attach a flow programmatically attach to a multiple lists. What you could do is create the main flow logic as child flow triggered by manual and set an input parameter depending on your requirement. Then individually create multiple flows for each lists trigger and call the child flow to pass the triggered body (input parameter).  This way your main logic of the flow will act like a common function.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Advocate I
Advocate I

Since HTTP is now a Premium connector, it will be great if Microsoft created a Flow to call other flows, or the possibility to use one Flow across multiple Libraries / Sites.

 

The idea has been already proposed, and needs sufficient number of Votes for it to be considered..

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Deploying-a-Singular-Flow-across-Multiple-S...

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (58,404)