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 / MDA App and SP Folder ...
Power Automate
Answered

MDA App and SP Folder issue

(1) ShareShare
ReportReport
Posted on by 13

I have sharepoint integration set up and on the creation of a file in sharepoint have a triger of a flow that renames the folder to a specific format. This works fine but the flow is also running on the upload of a new file. How do I modify it so it only runs for the creation of new folders?

Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,960 Moderator on at

    Hi @automatehelp 

     

    You need to add a Trigger condition so it only fires for Folders.

     

    GO into your flow, click the ... on the Triggers header

    Click Settings in the Popup menu

    Add this to the trigger conditions and you should be golden

    @equals(triggerBody()?['{IsFolder}'],true)

     
    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • automatehelp Profile Picture
    13 on at

    @FLMike the flow is now no longer triggering at all. 

     

  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at

    @automatehelp 

     

    Thought you only wanted it to run on the creation of new folders?

     

    How do I modify it so it only runs for the creation of new folders?

     

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 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard