web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Send notification when file is added to Sharepoint

(0) ShareShare
ReportReport
Posted on by 4
Hello!
 
I am trying to build a power automate to send an email notification whenever a file is added to a SharePoint folder. I was able to do that by adding a trigger "When a file is created (properties only)" and then a "Send an email (V2)" action. However, I need to refine this automation to trigger only when a file is added to the main folder, but not when a subfolder (with items within it) is created.
 
I tried to add a condition to specify the File Path or Full Path but it didn't worked as I wanted, maybe because I am not very sure about the difference between these two conditions. 
 
Can someone please help? Thank you in advance!
I have the same question (0)
  • SharonS Profile Picture
    164 on at
    Send notification when file is added to Sharepoint
    Instead of using folders use metadata.  Take each file out of the folders.   You can name your column "Folder Name" then have the values in that column the folder names.  Then for each item, have the user select the metadata for the folder name.  Folder Name column has to be a mandatory field.  Then in your flow your condition will be When Folder name is equal to Project 1, send email.....
     
    Folder Names:
    Project 1
    Project 2
    Project 3
     
    Each file in that library will be tagged a folder name
  • vcc1 Profile Picture
    4 on at
    Send notification when file is added to Sharepoint
    Hi SharonS, thanks for your reply!
     
    Unfortunately, I cannot modify how my Sharepoint folders and items are currently built. It is standardized across my whole organization. This Sharepoint site specifically I don't even have permission to change any settings, only view the files there. Is there any other way I can accomplish my goal without changing the current structure that my site has?
  • SharonS Profile Picture
    164 on at
    Send notification when file is added to Sharepoint
    Do you have any value in any of the columns that ONLY the desired folder uses?  If so, use that column in the condition and say "is equal to" then the value that only that folder would use.
     
    That would be the condition.
     
    If that condition is met then the Yes side you'd send an email to the user(s).
     
     
     
     
  • Chriddle Profile Picture
    8,359 Super User 2025 Season 2 on at
    Send notification when file is added to Sharepoint
    This is only triggered if the path is “Shared Documents/”:
     
    @equals(triggerOutputs()?['body/{Path}'], 'Shared Documents/')
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard