cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
isoaclue
Level: Power Up

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

Community Support Team
Community Support Team

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

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,580)