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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Using flows

(0) ShareShare
ReportReport
Posted on by 30

If some of the folders in SharePoint document library doesn't contain any item (if its empty for 2 weeks in the beginning of every month (10 Business day)).

Identify/check those empty folders and notify an email pop-up to alert the Vendors/the respective member on the folder is empty.

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    on at

    Hi @rupach ,

     

    Do you want to send an email notification when a folder is empty?

    Please check the following flow configuration for a reference.

    Add the trigger. Here I am using Button, you could change it to a Recurrence to your scenario.

    Get files (properties only) from the specific library.

    Add a Condition to check if the file name contains a ‘.’ Or not:

     

    File name with extension (dynamic content) does not contain .

     

    Under if yes branch, add action List folder. Select dynamic content Identifier from the previous action.

    Add Condition 2 with the following code:

     

    empty(body('List_folder'))
    
    is equal to
    
    True

     

    Under If yes branch of Condition 2, add action Send an email to notify the user.

    Images like below for your reference.

    1.PNG2.PNG

     

    Best regards,

    Mabel

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard