cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

How to create a condition with filepath name that contains a specific word

I am trying to send a notification whenever a file is created in a folder that has "Sold" in the name.  There will be many "Sold" folders across a Shared Document space, and I want to know whenever something is created in any of these folders.  I have tried using the Condition: file path contains "Sold", but it does not work, even though I am creating new files in a folder called "Sold." 

 

I am not sure if I just need a different syntax for the file path condition or if I need to take a different approach.  Any help is appreciated.  Thank you.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @gryoung,

 

I assume that you have several subfolders under a SharePoint library, and you want the flow to be triggered when a file is uploaded to the subfolders.


If yes, I am afraid that currently subfolders cannot be detected by Flow. When using the trigger “SharePoint - When a file is created in a folder”, we are asked to specify a Folder and only when files are uploaded to the specific folder can the flow be triggered.


Say you specified the root folder for the Folder Id field, while the files are uploaded to subfolders, then the flow won’t be triggered.


There is a similar request at Flow Ideas Forum, please vote and comment the idea at here, I will help collect and report it on my side:
https://powerusers.microsoft.com/t5/Flow-Ideas/Support-for-sub-folders-of-OneDrive-When-a-file-is-cr...


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Hi @gryoung,

 

I assume that you have several subfolders under a SharePoint library, and you want the flow to be triggered when a file is uploaded to the subfolders.


If yes, I am afraid that currently subfolders cannot be detected by Flow. When using the trigger “SharePoint - When a file is created in a folder”, we are asked to specify a Folder and only when files are uploaded to the specific folder can the flow be triggered.


Say you specified the root folder for the Folder Id field, while the files are uploaded to subfolders, then the flow won’t be triggered.


There is a similar request at Flow Ideas Forum, please vote and comment the idea at here, I will help collect and report it on my side:
https://powerusers.microsoft.com/t5/Flow-Ideas/Support-for-sub-folders-of-OneDrive-When-a-file-is-cr...


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted

Thank you, I have voted and commented to your suggested post.  I really hope to see this be added as a capability, it would make a big difference to our company.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,961)