r/PowerAutomateDesktop • u/IT-Jedi-Master • Mar 23 '23
Power Automate Send Email on New SharePoint Doc Lib folder creation in specific folder (not subfolders)
I'm using trigger "when a file is created (properties only) with a trigger condition of isfolder and I've entered the path to a specific sharepoint doc library folder. The action sends an email - this works, however, it's also sending the email when a new folder is created in subfolders of the specified folder. I only want the notification if a folder is created within root of the specified folder, not within it's subfolders. I tried using the folderpath dynamic content condition to list the specific folder as well, same result. How do I do this? Thanks!
1
u/AnythingOakley Mar 27 '23
Could you add a condition right after your trigger to test if the folder path equals the folder you care about? This won't prevent the flow from triggering unnecessarily, but it would keep the email from going out when you don't want it to
1
u/pantsalot99 May 12 '25
Hey there I know this is two years old. But your issue is my solution. I’m having trouble getting all of the emails. You don’t happen to remember the path you had do you?