Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vnRLPFwJALPNo5v5DsLLV0
Power Automate - Translation Quality Feedback
Answered

Sent Notification when Expiration is 90 Days away.

Like (0) ShareShare
ReportReport
Posted on 25 Mar 2025 18:36:43 by 365
I have a SharePoint list with a Column Name Expiration date. I would like to send an email notification if Expiration date is 90 days away. I confused on how to set the notification to notify 90 days away. 
Categories:
  • Verified answer
    DJ_Jamba Profile Picture
    2,815 Super User 2025 Season 1 on 25 Mar 2025 at 22:23:12
    Sent Notification when Expiration is 90 Days away.
    1. Schedule your flow to run every day at e.g. 8am
     
     
     
    2. Use a compose action to create an object containing the date in 91 days and the date in 90 days
     
     
    {
      "Day90": @{addToTime(utcNow(),90,'Day','yyyy-MM-dd')},
      "Day91": @{addToTime(utcNow(),91,'Day','yyyy-MM-dd')}
    }
     
    3. Use the Get Items action with an oData query filter to find items in your list where Expiration date is 90 days from now
     

    I'm assuming the internal column name in your list is Expiration_x0020_date so:
     
    (Expiration_x0020_date lt '@{outputs('Days_90_and_91_from_now')?['Day91']}') 
    and 
    (Expiration_x0020_date ge '@{outputs('Days_90_and_91_from_now')?['Day90']}')

    This means get records that have an expiration date less than midnight in 91 days time and greater than midnight in 90 days time (covering all possible timestamps in day 90).
    You can copy and paste both of the code examples straight into the expression editor.
     
    4. Test it
     

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard

Featured topics

Loading started