cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ACPBSCi
Helper III
Helper III

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.

View solution in original post

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (52,103)