Send notification before 2 days that the file is expired

Andy 1,351 Reputation points
2022-03-31T12:07:40.497+00:00

I want to send a notification to the file author before 2 days that the file is expired, is it possible in SharePoint? For example, if the file will be expired on 3/31/2022, the notification will be sent on 3/29/2022.

Per my search, SharePoint workflow is retired on SharePoint online.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,461 Reputation points
    2022-04-01T03:50:58.677+00:00

    Hi @Andy ,

    As SharePoint workflow is retired on SharePoint online, you could use Power Automate flow to send notification.

    190316-flow.jpg

    1.Create a scheduled cloud flow(repeat every 1 day).

    188957-1.jpg

    2.New step "Get files(properties only)"
    Select you site and library > add "Filter Query" > Expired Date eq Expression"addDays(utcNow(),2,'yyyy-MM-dd')"

    188960-2.jpg

    3.New step "Apply to each" > Add an action > Send an email(V2) > select "Created By Email"

    188898-3.jpg


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.