Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Get email notification when a file is uploaded in sharepoint folder

(0) ShareShare
ReportReport
Posted on by
Hello,
 
I have created a flow to Get email notification when a file is uploaded in sharepoint folder and it's working as expected.
 
But, my folder does also contains sub-folder and if thee is a file uploaded int his sub'folder, I should not receive an email.
 
Could you anyone help on this?
 
I have tried to setup trigger and settings: @equals(triggerOutputs()?['body/{FolderPath}'], '/Documents/mw_go_macinvoice')
 
It's doesn't work as expected!

Thanks in ad vance!
  • Suggested answer
    abm abm Profile Picture
    abm abm 32,288 on at
    Get email notification when a file is uploaded in sharepoint folder
    Hi
     
    Believe you are using the wrong mapping here. It's not folderpath its path you need to use.
     
    eg:
    @equals(triggerOutputs()?['body/{Path}'], 'TestAjDocLib/account/')
     
    I tested this and it is working as expected.
     
    Thanks
     
     
  • Expiscornovus Profile Picture
    Expiscornovus 31,104 on at
    Get email notification when a file is uploaded in sharepoint folder
     
    Are you using the out of the box Documents library which is created by Microsoft for every new site? If that is the case the path is probably:
    Shared Documents/mw_go_macinvoice/
    You can double check the correct folder path in a compose (or the outputs of the trigger) (when removing the trigger condition).
     
     
    Test result
     
     

    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard