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 Platform Community / Forums / Power Automate / Send an email when a f...
Power Automate
Unanswered

Send an email when a file has not been added to a SharePoint folder in a month

(0) ShareShare
ReportReport
Posted on by 8

Hi everyone

 

I'm a new Power Automate user so can someone please outline for me how I can create a flow where an email will be sent to me plus others in my organisation when no file has been added to a particular SharePoint folder in the last 31 days. 

 

Basically, a new Word document which represents meeting minutes from a monthly meeting, should be added to a SharePoint folder each month and I want to know if the minutes (Word document) has not been added to the SharePoint folder, so I only want to know about the exception not the norm.

 

I don't want to know about modifications to existing documents in that folder, just want to know if a file has not been created in the last month.

 

As I said I'm a new user to Power Automate and haven't had much practice with how to actually put together a flow so step-by-step instructions would be ideal.

 

Thanks everyone in advance.

Categories:
I have the same question (0)
  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    HI @RGP ,

     

    Try the below flow.

     

    1. Use Get files (properties only) with a filter on the Created column  Use this expression: 

    addDays(utcNow(),-31)
     
    2. Store output value to Array
     
    3. Get the length of the Array using this expression:  length(variables('Myarray'))
     
    4. Add a condition to check for the output.  If output is true, send the email and if false, ignore
     
    ** You can merge step 3 and 4 together as I added the Compose step to show you the output.  In my case, I had 7 files created within past 31 days **

     

    ericcheng_2-1626771444924.png

     

     

    ericcheng_0-1626771325808.png

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

     

  • RGP Profile Picture
    8 on at

    Thank you so much @eric-cheng. You're solution worked and I really appreciate it. You're one clever guy!

  • RGP Profile Picture
    8 on at

    Hi Eric

    Could you please advise how I can do the above but with one added step/condition.

    In addition to the above, I'd like to add a step whereby the flow looks for certain words within a file name because there are many files saved in the folder.

     

    For example, I would like to know if the file name contains the words "Minutes" in it, noting that the filename may also contain other words such as the date. 

     

    Any help would be much appreciated.

    Thanks

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