cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ACPBSCi
Resolver I
Resolver I

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
RobElliott
Super User
Super User

@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
RobElliott
Super User
Super User

@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.

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.

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (4,259)