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 / Holiday Reminder Email
Power Automate
Unanswered

Holiday Reminder Email

(0) ShareShare
ReportReport
Posted on by 101

Hello, 

 

I am trying to create a Holiday Reminder Email to be sent 30 days before a holiday. I created a SharePoint list with the holiday name and date, but cannot seem to trigger the email. I tried testing with multiple dates 30 days before. 

 

dmattia_0-1688135419820.pngdmattia_1-1688135455770.png

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @dmattia 

     

    You need to use -30 (minus 30)

     

     

  • dmattia Profile Picture
    101 on at

    @abm I changed it to -30 and I added testing dates of 7/30 and 7/31. It did not work. 

     

    dmattia_0-1688136898322.png

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @dmattia 

     

    This is because Date is stored with Date and Time.

     

    You don't need to add the IF condition. Use the ODATA Filter query to retrieve the dates.

     

    See below

     

    image.png

     

    Expression is as follows:

     

    (Date ge '@{adddays(utcNow(),-30, 'yyyy-MM-ddT00:00:00Z')}') and (Date le '@{adddays(utcNow(),-30, 'yyyy-MM-ddT23:59:00Z')}')
  • dmattia Profile Picture
    101 on at

    I'm not sure what happened, because my column is labeled as "Date"... 

     

    dmattia_0-1688138627712.pngdmattia_1-1688138668819.pngdmattia_2-1688138712787.png

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @dmattia 

     

    Based on your previous screenshot I have given the column name as Date.

     

    image.png

     

    Replace the ODATA Filter query with the right column schema name.

     

    Thanks

  • dmattia Profile Picture
    101 on at

    I guess I'm not sure what I am doing wrong. The column from my SharePoint list is titled "Date", which is exactly how the filter query is labeled. What am I missing? 

    dmattia_0-1688140404412.png

    dmattia_1-1688140697814.png

     

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @dmattia 

     

    That means its been renamed after. So to find out the schema name follow the below steps:

     

    1. Click List Settings

    2. Click Date Column

    3. Check the url of the browser

    4. End of the browser it says field=xxxx. Here xxxx is the actual schema name you need to use.

     

    Thanks

  • dmattia Profile Picture
    101 on at

    I was able to locate the schema name - thank you! When I run the test though, it does not work... I'm still not sure what is happening. I appreciate your help, I'm new to this. 

     

    dmattia_0-1688142841272.png

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @dmattia 

     

    So you looking for Todays date - 30 days

     

    That is 2023-05-31

     

    Have you got record matching the above date?

     

    Thanks

  • dmattia Profile Picture
    101 on at

    No, I want the email to go out 30 day's BEFORE the holiday, excluding dates that have already passed, even if they are within the same month.

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