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 / Sharepoint Calendar No...
Power Automate
Answered

Sharepoint Calendar Notifications Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I have built an Event Reminder Flow whereby it sends an email reminder when an event in my Sharepoint Calendar is going to happen. I have built it with a substring formula so that the EventDate is equal to the UTCNOW however when I run the flow it sends me all of the events in the calendar i.e. it is not recognising the date in question.

 

My guess is that there is a problem with the substring or UTC formulas. 

 

I have tried making the events in the calendar all day events and a specific time frame and it´s not working. Events are also not recurring, they have all been put in individually. I originally thought it might be because the column EventDate is also taking into account time but it just returned me error when I put this in. 

 

Please help me out. 

 

Thanks!

 

Here is my flow:

 

StuartBoyd7_0-1625224518834.png

 

StuartBoyd7_2-1625224566168.png

StuartBoyd7_3-1625224582763.png

StuartBoyd7_4-1625224603744.png

StuartBoyd7_5-1625224625280.png

Categories:
I have the same question (0)
  • ArchitectMadhan Profile Picture
    1,584 on at

    Hi @Anonymous ,

     

    The date format you use for utcnow is "yyyy-mm-dd", but you didnt specified the date format you get from the substring. Please make sure both are having same format. Also without getting all events from the SharePoint, you could have used the filter query option to get list items that are required to send the remainder email.

     

    If you feel the above solution works for you, please mark this as solution.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi there,

     

    Thanks for your reply. Can you draw up the formula here? I am not sure how to draw this formula up. 

     

    Also, how would I do the filter query option? I have tried to do this but I´m no expert on this and would like to learn how to use.

     

    Thanks!

     

    Stuart

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    See my example below.  I used Filter Query as suggested by @ArchitectMadhan .  Get items will retrieve only events for today.  Please note that this will not work with recurring events.  Also, note the single quotes in my filter query.  Finally, SharePoint stores dates in a yyyy-MM-dd format.  Finally, you may to make an adjustment for your timezone.

    image.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Okay, I see what you are doing in the filter query but can you please provide the formulas in text format so that I can copy and paste? Do I also need to edit the substring in the condition? 

     

    I need the formula in text to copy and paste into my formula.

     

    Thank you for your help!

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    The formulas that I used are shown in the comments section of the Get Items action.

    formatDateTime(utcNow(),'yyyy-MM-dd')

    addDays(utcNow(),1,'yyyy-MM-dd')

     

    If you copy and paste, you'll probably want to remove and replace the single quotes.

     

    Also, you shouldn't need your condition - it was checking the date.  With the filter you will only receive items that meet your criteria specified in the Filter Query.  If you use my example, just send an email inside of the loop at the bottom of my Flow.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This is still giving me error... I have tried to change the the "1" in the add days to "0". Still doesn´t do anything...

     

    StuartBoyd7_0-1625254752665.png

     

  • ArchitectMadhan Profile Picture
    1,584 on at

    Hi @Anonymous ,

     

    The screenshot is not clearly visible for me, could copy and paste the error message alone?

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @ArchitectMadhan 

     

    Here you go:

     

    The expression "EventDate ge '2021-07-03' and It '2021-07-04'" is not valid. Creating query failed.
    clientRequestId: c2812021-ff28-4569-8d44-8cca906f7484
    serviceRequestId: c2812021-ff28-4569-8d44-8cca906f7484

     

    Thanks

     

    Stuart

  • ArchitectMadhan Profile Picture
    1,584 on at

    Hi @Anonymous ,

     

    Please check whether the Event Date field is of "Date only" type in SharePoint calendar. 

    4.JPG

    like show in the screenshot

     

  • ArchitectMadhan Profile Picture
    1,584 on at

    Hi @Anonymous ,

     

    If you want to know step by step process to send reminder email using Power Automate Schedule Flow, please follow the steps given in the below link.

    https://learningtechnixs.blogspot.com/2021/07/send-reminder-email-for-tasks-nearing.html?m=1 

     

    If the above post is helpful for you to solve the problem, please mark it as solution.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 570

#2
Valantis Profile Picture

Valantis 405

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard