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

Community site session details

Session Id : I1bqZJIMlCeLw4NEjd++uV
Power Automate - Using Flows
Answered

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

Like (1) ShareShare
ReportReport
Posted on 16 Jul 2019 18:25:19 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 26 Feb 2022 at 18:18:39
    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 16 Jul 2019 at 21:04:08
    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,236 Most Valuable Professional on 16 Jul 2019 at 20:35:21
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow