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 / create calendar event ...
Power Automate
Unanswered

create calendar event in specified persons outlook calendar 7 days before date in a sharepoint list

(0) ShareShare
ReportReport
Posted on by 145

Hello Flow Experts!

 

I have a Sharepoint list that contains a list of classes with start and end dates.  I want to have an email with ical event sent to the admin specified in a field 7 days before the start date field.  I cannot find a template to use.  Has anyone done this or Have any ideas on how to trigger this?  A standard time of 9am is fine as long as it sends 7 days before the date specified.

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Hi there,

    I will assume your SharePoint list has these fields:

     

    ClassTitle - ClassAdmin- StartDate - EndDate

     

    Here are the steps you need to take:

     

    Step 1 - Use a scheduled trigger that will run once a day. 

    Rhiassuring_1-1649918863133.png

     

    Step 2 - Use a "Get Items" action and set the filter to:  StartDate eq 

    formatDateTime(addDays(utcNow(),7),'M/dd/yyyy')

     

    If you've never added in this kind of filter before, here's how: 
    • Type in StartDate eq ''
    • Click between the two 's you've typed, then click on Expression on the box to the left (a tab). Paste in the formula formatDateTime(addDays(utcNow(),7),'M/dd/yyyy'). Press "OK"
    Rhiassuring_5-1649919316577.png

     

    ℹ️ What is the formula doing? The formula is taking "utcNow" to identify "hey, what day is it?". Working our way out of the brackets, the next thing we're doing is identifying "okay - we now know what "today" is - what is 7 days from now?". Once we have that, we need to change the date into a format that SharePoint will understand.  (NOTE: UTCNow is a different timezone - so you can either convert it using a different action, or, you can just tweak the 7 to an 8 or a 6 depending on your needs.)

     

    Step 3 - Use the "Create Event" action and add in your values from "Get Items" - this will turn it into an "Apply to Each" which means it will loop through all events that meet the criteria (StartDate = in 7 days from now). You should be able populate the required attendees with your ClassAdmin Email.

     

    Rhiassuring_6-1649919348650.png

     

     

     

    Let me know if this helps!

     

    Cheers,

     

    Rhia

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