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

Can I run a flow on just a subfolder in a SharePoint library?

Hi, everyone.

Flow newbie, here. Is it possible to target a flow to run on a specific subfolder within a SharePoint library? We are using ShowPad, which is configured to use SharePoint as a data source. We have a deep and complex folder structure to organize all of our content. I have a flow that reads the folder name and replaces the / with a ; and populates the Tags column. These tags are what keeps it organized in ShowPad.

As you can imagine, we have lots of subfolders and loads of content. I have a flow that will go through the entire library and update all of the content, but that is time consuming. I'd like my end user to have a bit more control, especially if they are only making changes to one subfolder.

Is there a trigger I can use to narrow the scope of the flow to just one subfolder within a library? I played around with using text as an input and using a file as an input, but those didn't seem right. Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Can I run a flow on just a subfolder in a SharePoint library?

@ACPBSCi there's the When a file is created or modified in a folder SharePoint trigger which should do what you want but you'll  need a trigger for each folder.

folderModified.png

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Can I run a flow on just a subfolder in a SharePoint library?

@ACPBSCi there's the When a file is created or modified in a folder SharePoint trigger which should do what you want but you'll  need a trigger for each folder.

folderModified.png

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

View solution in original post

Highlighted
ACPBSCi
Level: Powered On

Re: Can I run a flow on just a subfolder in a SharePoint library?

So if I have a library with 50 subfolders, I will need 50 triggers and 50 buttons? That's a little too labor intensive for my needs, but it's good to know I can do that.

Community Support Team
Community Support Team

Re: Can I run a flow on just a subfolder in a SharePoint library?

Hi @ACPBSCi ,

 

Have your problem been solved?  If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,046)