Skip to main content
Community site session details

Community site session details

Session Id : c3aQAUI8hVtc5DwYS4qsSH
Power Automate - Building Flows
Answered

How to trigger my flow only for 10 specific paths?

Like (0) ShareShare
ReportReport
Posted on 13 Nov 2023 15:05:52 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 14 Nov 2023 at 11:49:22
    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 14 Nov 2023 at 11:44:54
    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

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

Loading complete