Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5/NiV73/tDewCOoXa1z6Su
Power Automate - Building Flows
Unanswered

Parent Folder Path

Like (0) ShareShare
ReportReport
Posted on 9 Oct 2024 19:37:24 by 6
Hello Everyone!
 
  Hoping you guys can provide some guidance.  I'd like to build a flow that captures when a file/folder it created or modified within sharepoint, then writes some information (modified datetime, file name, ect...) to a doc in the parent folder.  I can get it working to write the information into doc within the same folder of the modified document, but not the parent folder.  Example below is similar layout within sharepoint and where I'd like to have the information doc written do.  Keep in mind there could be 0 to 100 subfolders, the subfolders varies.
 
  • Documents (folder)
    • Site (folder)
      • Site (folder)
        • Plan A (folder) ->Write update doc here if any new/modified files/folder are made anywhere under Plan A
          • file 1
          • file 2
        • Plan B (folder)->Write update doc here if any new/modified files/folder are made anywhere under Plan B
          • Sub 1 (folder)
            • file 1
          • Sub 2 (folder)
            • file 1
            • file 2
            • file 3
          • file 1
        • Plan C ->Write update doc here if any new/modified files/folder are made anywhere under Plan C
          • Sub 1 (folder)
            • file 1
        • Plan D ->Write update doc here if any new/modified files/folder are made anywhere under Plan D
          • Sub 1 (folder)
            • file 1
            • file 2
          • Sub 2 folder)
            • file 1
          • Sub 3 (folder)
            • file 1
          • Sub 4 (folder)
            • file 1
            • file 2
            • file 3
            • file 4
          • file 1
So far the flows I'm using are:
-- When a file is created or modified (properties only)
-- Create File
 
Thank you in advance!
  • abc 123 Profile Picture
    784 Super User 2025 Season 1 on 09 Oct 2024 at 22:27:09
    Parent Folder Path
    Welcome to the greatest raging debate to hit the internet, well... before that singer started dating that football player, anyway. 
     
    MetaData vs Folders.
    Why are you using folders, and not metadata? (Security is a perfectly sound answer, and about the only one that makes sense.)
     
    Anyway, there's a bunch of http calls/Actions you can make to obtain the folder information. 
     
    Try all of these:

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 179 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 161 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 143

Overall leaderboard
Loading started