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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / two different expirati...
Power Automate
Answered

two different expiration dates to send email notifications.

(0) ShareShare
ReportReport
Posted on by 379

Hello everyone! I need to create a flow that sends email notifications when pads expire, and Battery expire. before 30 days reminder, I was trying to follow some examples but not luck! I really appreciate if someone can help me on this matter, Thank You 🙂

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @lcdelgado 

     

    You can use scheduled flow which runs daily and check if the expiration is date is 30 days ahead of today's date. if yes, you can send an email using send email action.

     

    Hope it helps 🙂

     

    Let me know if you need any help 🙂

     

  • lcdelgado Profile Picture
    379 on at

    you mean like having two flows for each expiration dates?

  • lcdelgado Profile Picture
    379 on at

    I think I'm following you! Thank You

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @lcdelgado 

     

    Could you tell me more about the usecase which you are automating ?

     

  • lcdelgado Profile Picture
    379 on at

    sure, I have a AED list inspection, we should use this list to do an inspection of all the AED equipment we have, that's why I have more than one expiration dates because the AED have multiple pieces to inspect like pads and battery.

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    So for every part, you need to send a seperate expiration reminder mail ?

     

  • lcdelgado Profile Picture
    379 on at

    well I'm not sure if I have to do separate or can be together in just one flow.

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    So just to confirm,

     

    You have AED list in sharepoint having different items in that where each item represent each component, 

    each component has an expiration date and you need to send an email when the expiration date is 30 days from today's date

     

    Let me know if i am right or wrong 🙂

  • lcdelgado Profile Picture
    379 on at

    You couldn't have explained it better 👍

  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @lcdelgado 

     

    For easy explanation, i have developed a sample flow along with a list (which can be considered as AED list)

    List

    Nived_Nambiar_0-1680108835436.png

     

    It has two products with their respective expiration date.

     

    Now the flow is designed like this 

    Nived_Nambiar_1-1680108889262.png

     

     

    Let's go through each step one by one, 

     

    1. Use get items to get all items from AED list [ remember, by default, get item can pull upto 100 items by default, but you can change via trigger settings :)]

     

    2. Next loop through each item, inside the loop, follow below steps 

        

        2a. Use condition with condition like below

    Nived_Nambiar_2-1680109035386.png

     

    expression: 

    div(sub(ticks(formatDateTime(items('Apply_to_each')?['ExpiryDate'])),ticks(formatDateTime(utcNow(),'yyyy-MM-dd'))),864000000000)
     
    this expression calculates the difference between dates in terms of days
    if it is equal to 30, in yes branch we can set to send an email. 
     
    Nived_Nambiar_4-1680109199405.png

     

     
    Email format i have used 
     
    Nived_Nambiar_3-1680109116241.png

     

     

    Nived_Nambiar_5-1680109225304.png

     

    So by single flow you can send expiration emails for different products 🙂

     

     

    Hope this helps 🙂

    Mark it as solution if it resolves your query

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard