SOLVED

How to create an event with flow?

Copper Contributor

Hello ,

 

I want to create an Event when a new item is created on a SharePoint list.

But i don´t know how to full fill the Start / End Time

 

It should work like this

Start Time for the meeting: 1 day after / 11.30 / Duration 30min

End Time for the meeting:  12:00

 

What i have to do in the Formula? please send post a  screenshot

 

Calender event.PNG

 

4 Replies
best response confirmed by DKoh (Copper Contributor)
Solution

DKoh,

 

You can try this.... this will create a 30 minute event 1 day after the create date of the item in Sharepoint.

 

{C6B5B954-554C-45EB-992B-BF9F650AC024}.png.jpg

The expressions:

start: 

adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT11:30'),1)
end: 
adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT12:00'),1)

 

Hope this helps...

 

Terry

Thank you, perfect!

@Terry McCullagh 

Hi Terry, I saw that you provided great support to other users, albeit some time ago. 
I am trying to create an automated event in Power Automate, an event to be scheduled 30 minutes after an assignment in Planner has been created. But despite several tries it won't work. Would be super grateful for your help!

 

 

Sofiamojo_0-1673269385434.png

 

Sofia,
Can you paste a screenshot of the relevant part of your flow and I will try to help?
Terry
1 best response

Accepted Solutions
best response confirmed by DKoh (Copper Contributor)
Solution

DKoh,

 

You can try this.... this will create a 30 minute event 1 day after the create date of the item in Sharepoint.

 

{C6B5B954-554C-45EB-992B-BF9F650AC024}.png.jpg

The expressions:

start: 

adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT11:30'),1)
end: 
adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT12:00'),1)

 

Hope this helps...

 

Terry

View solution in original post