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 Platform Community / Forums / Power Automate / Email notification of ...
Power Automate
Answered

Email notification of new files in a SharePoint folder or sub-folders

(0) ShareShare
ReportReport
Posted on by 5

This seems like it should be easy, but I would like to trigger when a file is added to one of the many sub-folders in an Uploads folder on a SharePoint site. I would like to use non-deprecated trigger.

The AI keeps suggesting using the trigger "When a file is created (properties only)" with the IncludeSubfolders parameter, but this doesn't seem to be a valid parameter. The error is "'IncludeSubfolders' is no longer present in the operation schema. It should be removed before the workflow is re-saved."

 

Once this is working, I'm hoping to send an email with a list of new files and paths.

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @NeveUNC ,

    Please check this test:

    Choosing the specific subfolder in When a file is created(properties only) trigger.

    vyetonggumsft_0-1718328400974.png

    Inbox Email:

    vyetonggumsft_1-1718328721790.png

    Best Regards,

    Sunshine Gu

     

  • NeveUNC Profile Picture
    5 on at

    Thanks, but the folder I want to check has over 40 sub-folders and I really don't want to create a flow for each sub-folder. I would like a recursive search. It doesn't even have to be triggered on a new file, perhaps I could run the flow every night and look for new files.

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @NeveUNC ,

    Please check this test:

    My Outlook Inbox:

    vyetonggumsft_7-1718617191231.png

    My Flow Overall Preview:

    vyetonggumsft_0-1718616608347.png

    Flow Configuration Parameters:

    Get the Created Date greater than and is equals to today's date files property.

     

    vyetonggumsft_1-1718616668678.png

    Please turn on Settings to set the pagination threshold to 5000:

    vyetonggumsft_8-1718617565601.png

    vyetonggumsft_9-1718617600055.png

     

    Created ge '@{utcNow('yyyy-MM-dd')}'

     

    vyetonggumsft_6-1718617131662.png

     

    {
    "Name":@{items('Apply_to_each')?['{FilenameWithExtension}']},
    "ContentBytes":@{body('Get_file_content')}
    }

     

    vyetonggumsft_5-1718616808900.png

    Best Regards,

    Sunshine Gu

  • NeveUNC Profile Picture
    5 on at

    Thank You, but this seems like a very complicated solution to a very simple task. I think (yet again) I'm just going to dismiss PA as too immature a product. Why can't there just be a recursive option? 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 822

#3
Haque Profile Picture

Haque 482

Last 30 days Overall leaderboard