web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / execute flow against 2...
Power Automate
Unanswered

execute flow against 2nd level folders in document library

(0) ShareShare
ReportReport
Posted on by 1,168

Hi,

I have a Sharepoint Document Library with a folder called Template. Inside that template is a series of folders. Say Folder1, Folder2, Folder3, Folder4 & Folder5

 

Because permissions don't copy over, I need a flow that will update the permissions. Some of the folders have their own specific permissions.

 

Only issue at moment is how to fire on the 2nd level of folders (ie not Template(root) but Folder1,Folder2 etc)

 

Im using the trigger When a file is created (properties only) and added a condition Is Folder is equal to true as well as another condition Folder path is equal to DocumentLibrary/*/

 

Thanks in advance for any assistance

 

Todd

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Tango 

     

    When you say Level 2, do you mean:

     

    Document library name (Template) -> Level 1 -> Level 2.

     

    Or

     

    Document library name (Template Level 1) -> Level 2

     

  • Tango Profile Picture
    1,168 on at

    Thanks for your message @ManishSolanki I mean the folders that are inside the folders at the root level.

     

    so 2nd option you mention

     

    The first level of folders in the document library (I called template) are actually Customer Names. I want to look for new folders inside each customer's folder.

     

    I did find this post https://powerusers.microsoft.com/t5/General-Power-Automate/Trigger-Flow-when-Documents-are-added-in-SubFolders-of-Document/td-p/825003

     

    but couldn't understand how use the length formula but also tried adding the / which worked but when I added a get file properties action, it was returning the root folder and not the name of the folders inside that customer folder

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard