cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Create Sharepoint List Item from Calendar Event

I've seen the reverse quite a bit, but I haven't been able to figure out how to go the other direction.  I have a sharepoint calendar and I would like for anything on it to be added to a sharepoint list when it's within a specified time frame of the appointment time.

 

Say as an example I have a calendar event to change out the air filter in my car scheduled for April 1st, I would like to have it automatically added to a sharepoint list one week before it's due.   Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Create Sharepoint List Item from Calendar Event

HI @isoaclue ,

 

Do you want to get SharePoint calendar events within specific period then add them on a SharePoint list?

 

If you would like to add events to a SharePoint list one week before its due, please check the following flow for a reference.

 

Add the Button trigger.

 

Get items from the calendar list. Here, you are asked to enter the correct calendar name in the List Name field manually.

 

Then add a condition with the following code to filter out events that one week before its due date:

 

formatDateTime(items('Apply_to_each')?['EndDate'],'yyyy-MM-dd')

is equal to

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

 

 

Under if yes branch, add action create item to add the filtered events into a SharePoint list.

 

An image for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Create Sharepoint List Item from Calendar Event

HI @isoaclue ,

 

Do you want to get SharePoint calendar events within specific period then add them on a SharePoint list?

 

If you would like to add events to a SharePoint list one week before its due, please check the following flow for a reference.

 

Add the Button trigger.

 

Get items from the calendar list. Here, you are asked to enter the correct calendar name in the List Name field manually.

 

Then add a condition with the following code to filter out events that one week before its due date:

 

formatDateTime(items('Apply_to_each')?['EndDate'],'yyyy-MM-dd')

is equal to

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

 

 

Under if yes branch, add action create item to add the filtered events into a SharePoint list.

 

An image for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Community Support
Community Support

Re: Create Sharepoint List Item from Calendar Event

HI @isoaclue ,

 

Do you want to get SharePoint calendar events within specific period then add them on a SharePoint list?

 

If you would like to add events to a SharePoint list one week before its due, please check the following flow for a reference.

 

Add the Button trigger.

 

Get items from the calendar list. Here, you are asked to enter the correct calendar name in the List Name field manually.

 

Then add a condition with the following code to filter out events that one week before its due date:

 

formatDateTime(items('Apply_to_each')?['EndDate'],'yyyy-MM-dd')

is equal to

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

 

 

Under if yes branch, add action create item to add the filtered events into a SharePoint list.

 

An image for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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
Users online (10,449)