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 Automate
Unanswered

Parent Folder Path

(0) ShareShare
ReportReport
Posted on 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!
Categories:
I have the same question (0)
  • abc 123 Profile Picture
    789 Moderator on at
    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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard