Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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.

  • Verified answer
    v-yamao-msft Profile Picture
    on at
    Re: Using flows

    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow