Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to trigger my flow only for 10 specific paths?

(0) ShareShare
ReportReport
Posted on by 96

Hello everybody,
I have a flow which creates 3 folders. Depend on which value is selected in my sharepointlist it creates the 3 folders in a specific path. For example: If the choice-value "Manufacturing" is selected, the flow creates the 3 folders in this path: Documents/Files/02 Customer/01 Manufacturing. One of this 3 folder is in this path "Documents/Files/02 Customer/01 Manufacturing/FirstNewFolder" and the other 2 are here "Documents/Files/02 Customer/01 Manufacturing/FirstNewFolder/here are the 2 other new folders". 
Then I have a second flow which is being triggered as soon as a new file is created in my sharepoint library. I want to set a triggercondition or something like that, so the flow is only triggered when a new folder is created in one of the following folders: Documents/Files/02 Customer/01 Manufacturing or Documents/Files/02 Customer/02 Health. 
How can I do that? 
I tried it with this condition but it doesnt work: @equals(triggerOutputs()?['body/{Path}'], 'Dokumente/Dateien/02 Customer/01 Manufacturing') 

Thanks for your ideas. 

  • Verified answer
    User3048 Profile Picture
    96 on at
    Re: How to trigger my flow only for 10 specific paths?

    I have already found a solution and dont need this flow anymore. Thanks for your help

  • Unknown geen idee Profile Picture
    1,755 on at
    Re: How to trigger my flow only for 10 specific paths?

    Dear U,

    If the trigger condition does not work, just add in a 'Filter Array' function after the trigger and filter out any irrelevant stuff.

     

    Hope the suggestion helps,

    Happy flowing,

    Koen

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492