How to Get Notifications When Files Are Added to a Specific OneDrive Folder
Question details
The user wants to trigger an automation notification only when files are uploaded to a designated folder or its subfolders, rather than receiving alerts for the entire shared drive.

- Product
- OneDrive for Work / Power Automate
- Device & OS
- not provided
- Scenario
- Setting up targeted file upload notifications for a specific shared folder to monitor team or manager activity.
- Observed behavior
- The current automation triggers for any file added anywhere in the shared drive, causing unnecessary and overwhelming notifications.
Ensure you have access to Microsoft Power Automate and the necessary permissions to view and manage the target OneDrive for Work or SharePoint shared folder.
Configure Power Automate Flow with a Specific Folder Path
Use Power Automate to restrict file-creation triggers to a designated folder path using built-in trigger settings and conditional logic.
By default, selecting a root drive in Power Automate will trigger notifications for any file uploaded. To fix this, you must specify the exact folder path within the trigger or use a condition to filter out unwanted directories.
Log into Microsoft Power Automate, navigate to 'Create', and select 'Automated cloud flow'. Give your flow a name.
Search for and select the 'When a file is created' trigger for OneDrive for Business or SharePoint, depending on where your shared drive is hosted.
In the trigger settings, click the folder icon to browse and select the specific target folder you want to monitor instead of the root directory.
If you need to include subfolders while excluding other parent locations, add a 'Condition' step after the trigger. Set it to check if the 'File path' or 'Folder path' dynamic content contains the name of your target folder.
In the 'If yes' branch of your condition, add the 'Send an email notification (V3)' action or a Microsoft Teams message action. Save and test your flow by uploading a test file to the target folder.

Try WPS Office for Seamless Cloud Collaboration
While setting up complex automation flows in Microsoft OneDrive can be challenging, WPS Office provides built-in cloud storage (WPS Cloud) with straightforward file sharing and collaboration tracking. It's a free, lightweight alternative that natively supports all your essential documents.
- 1. Download and install: Visit the official WPS Office website to download and install the free software on your device.
- 2. Sign in to WPS Cloud: Open the application and log in to access your free WPS Cloud storage space.
- 3. Share and collaborate: Upload your files to WPS Cloud, generate a sharing link, and collaborate with your team instantly.

Frequently Asked Questions
Can I exclude specific subfolders from OneDrive notifications?
Yes. By adding a condition in your Power Automate flow, you can set the rule to 'does not contain' the specific subfolder name. This prevents the flow from triggering notifications when files are added to that specific excluded location.
Why is my Power Automate flow triggering for all folders?
If the trigger's folder path is set to the root directory (/) without any conditional filters in the subsequent steps, the flow will automatically trigger for any file uploaded anywhere in the entire drive.
Does this automation method work for SharePoint as well?
Yes, the process is nearly identical. You just need to use the 'When a file is created (properties only)' trigger for SharePoint, select your Site Address, and specify the Library Name and Folder path.




