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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automating Folder Crea...
Power Automate
Unanswered

Automating Folder Creation within Root folder

(1) ShareShare
ReportReport
Posted on by 8
Hello everyone, first post here and I do need the community's help for this.
 

I'm building a Power Automate flow that detects when a new project folder is created inside /Test-Flow-Implementation/ as a Root. If the folder contains a subfolder named 03_Report, the flow should create a text file called QA_Form_<ProjectName>.txt inside 03_Report. The filename should dynamically match the project folder name.

The flow consists of:

  1. Trigger – "When a file is created (properties only)" in /Test-Flow-Implementation/, with subfolders included.
  2. Get File Metadata – Checks if /Test-Flow-Implementation/<ProjectName>/03_Report exists.
  3. Condition – If the metadata request returns a valid ID (i.e., 03_Report exists), proceed.
  4. Create File – If the condition is met, generate QA_Form_<ProjectName>.txt inside /Test-QA-Implementation/<ProjectName>/03_Report, containing a Microsoft Forms link.

Right now, the flow isn't triggering or is failing at the condition step. The metadata check might be incorrect, and the file path expression may not be resolving correctly. I need help ensuring that the flow properly detects 03_Report and executes only when it exists.

This is the first time I am using Power Automate and this is leading me to desperation. 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,351 Super User 2025 Season 2 on at
    Hi
     
    1. Please share your actual flow :-) with the inputs and expressions and outputs
    2. Please share a flow run. If its not triggering at all, then that means either
    a) its pointing at the wrong place
    b) your condition isn't wrong (in the sense that its a valid expression), but that its not correct in what you meant
     
    Can you share all of that and we can help
     
    Thanks!
  • CU11021540-0 Profile Picture
    8 on at
    Hello @FLMike
     
    Thank you very much for getting back to me. Sure, below youll find all the screenshots and settings of each flow to make things more clear. If anything remains unclear, let me know.
     
    -- First screenshot is just the entire flow and what it does like I explained above
     
     
     
    -- Next screenshot is the first action "When a file is created(properties only)" and then its settings.
     
     
    -- Second action (Get file metadata using path) - no particular settings here
     
     
    -- Next the condition (So if that "03_Report" exists within that Subfolder of Test-QA-Implementation then do something  -- or he if it does NOT equal null)
     
    -- IF TRUE then create file and within that file add a link to a Forms document that I also created and would like to put into the 03_Report folder. 
    -- IF FALSE do nothing 
     
     
    --IF all of this flow just runs successfully then create a final log file that just says that everything went fine. 
     
     
     
    This should explain what I am trying to do. 
    When I press test, it tells me to create a folder inside of Test-QA-Implementation, but when I do, nothing happens. It's as if I didnt set my folders correctly. 
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard