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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

SharePoint Alerts

(0) ShareShare
ReportReport
Posted on by 2

Currently, I am looking to set up an automated alert system that notifies me via email only when a new file is added to a particular subfolder within our large team folder named 'Documents'. The subfolder of interest is 'Documents>Example>Example'.

Could you please advise on whether it is possible to tailor the automation rules to such a specific requirement?

I have tried these steps, but they do not work as intended

  1. Go to the location of the subfolder > select the subfolder > click "…" in the menu > Automate > Rules > Create a rule;

  2. Select "A new file is added" option;

  3. Enter your email.

The issue is I am getting a alert for documents uploaded into any folder within the One Drive and not that specific sub folder. I have several sub folders within a folder. I thought by selecting the subfolder the rule would be assigned to only that subfolder, however, that is not the case.

Categories:
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    4,105 Moderator on at
    This is a very simple task from within Power Automate, rather than browsing via SharePoint.
     
    Go to https://make.powerautomate.us/ (or https://make.gov.powerautomate.us/ if you're on a Government tenant)
    Click My Flows
    Click New Flow
    Click Automated Cloud Flow
    Set your Trigger to When A File Is Created for OneDrive or OneDrive For Business, depending on your environment
    Click Create
     
    Set up your Flow like this:

     
    Save your Flow and then test it by adding a file to the chosen Directory
     
    For filename I used this expression: triggerOutputs()['headers']['x-ms-file-name']
    For Path I used this expression: triggerOutputs()['headers']['x-ms-file-path']
  • LN-09071622-0 Profile Picture
    2 on at
    @Tomac I have spent the last hour trying to work with PowerAutomate and I keep getting an "Run After" error, so I have restarted the whole process.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard