cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Create Flow to Send Email with Due Items from SharePoint Calendar

I have an Equipment booking calendar in SharePoint and I would like to create a flow to send an email based on the End Time on a daily basis at 0730. Basically the email should list any events on the calendar for that day which have an End Time some time that day.

 

I have been following this post from a previous question. However when I test the flow it will not get the list items from my SharePoint calendar. This is my first flow so I do not know what to do next. Any help would be appreciated?

1 REPLY 1
Highlighted
Anonymous
Not applicable

Re: Create Flow to Send Email with Due Items from SharePoint Calendar

Ok after fiddling around some I changed the Filter array to Value and was able to get data. However the data was filter as I needed. It should have returned only one event instead it returned 100. So it is not filtering the EndDate properly. I was able to find another post with code I modified and came up this but it says the template validation failed. Here is the code:

 

@equals(formatDateTime(items('Apply_to_each')?['EndDate'],'YYYY-MM-dd')), (formatDateTime(utcNow(), 'YYYY-MM-dd'))

 

I want to compare the EndDate field to the current time. If the item meets the criteria that is the value I would like to send to the next step in the flow. I think if I can get this part figured out then I will get the email that I need.

 

I will post the finished product when its working.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,645)