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 / Power Automate Flow No...
Power Automate
Answered

Power Automate Flow Not Executing When Condition met.

(0) ShareShare
ReportReport
Posted on by 8
Hello everyone,  I need the community's help for some task I am trying to automate. 

I am reposting this as I can't seem to find an answer to my issue.

 

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.

Below you will find the entire flow 

 

-- 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. 
This is the first time I am using Power Automate and this is leading me to desperation. This is the first time I am using Power Automate and this is leading me to desperation.
Categories:
I have the same question (0)
  • Verified answer
    eetuRobo Profile Picture
    4,549 Super User 2026 Season 1 on at
    I think the problem might be that OneDrive trigger does not support checking if file is created/modified. To confirm this you can remove the trigger condition and check if the flow starts if you create a folder (also check if you create a file to make sure it triggers at all if file is created)

    I think Sharepoint triggers supports IsFolder parameter but not onedrive triggers.

    Old threads I found about this: 
    https://sharepoint.stackexchange.com/questions/269584/trigger-ms-flow-when-folder-is-created-in-one-drive 
    https://www.reddit.com/r/MicrosoftFlow/comments/8m6o2f/trigger_when_new_folder_in_onedrive_is_created/?rdt=41200

    Would it be okay if the flow triggers only when a first file is created in a folder? Does the person who creates the folders also create/move in some files?
  • CU11021540-0 Profile Picture
    8 on at
    Hey @eetuRobo
     
    thank you for getting back to me. I will immediately try and see whether it works with Sharepoint instead of OneDrive. 
    Thank you for that head's up.
     
    Best, 
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 458

#2
Vish WR Profile Picture

Vish WR 345

#3
David_MA Profile Picture

David_MA 261 Super User 2026 Season 1

Last 30 days Overall leaderboard