Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Do not trigger a flow when a folder is created in a document library

(1) ShareShare
ReportReport
Posted on by

Hello,

 

I am trying to create an approval flow for a document library. The lib will basically have folders inside them all the files that get uploaded will be inside those folders.

 

The issue I am having is when I now create a folder that also triggers the flow and sets the status as pending. I am finding it difficult to make the flow not trigger when a folder is created and make it trigger ONLY when a file is uploaded inside that folder. 

Folders will be created by the end user as when required and are not pre-created.

  • ellenthomas Profile Picture
    8 on at
    Re: Do not trigger a flow when a folder is created in a document library

    Can this same be done when a folder is created in Onedrive?

  • Community Power Platform Member Profile Picture
    on at
    Re: Do not trigger a flow when a folder is created in a document library

    @ScottShearer  thanks for that suggestion. I will try that approach and see if it solves my issue.

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Do not trigger a flow when a folder is created in a document library

    @Anonymous 

    You can't stop the Flow from running when a folder is created, but you can check to see if the item created is a folder and exit the Flow (with success).

     

    Folder.jpg

     

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow