Skip to main content

Notifications

Community site session details

Community site session details

Session Id : BHXBx2s+ZhL1yA88Idsh8W
Power Automate - Building Flows
Unanswered

How to create calendar event from SharePoint list using Power Automate

Like (0) ShareShare
ReportReport
Posted on 21 May 2024 18:49:10 by 32

When an Item is created in my Sharepoint:

Luilui8090_0-1716317289672.png

 

I need to create 5 calendar events for that new item, each events needs to have a recurrence of 2 weeks.
How can I make this in Power Automate?

  • Nived_Nambiar Profile Picture
    17,534 Super User 2025 Season 1 on 23 May 2024 at 17:06:43
    Re: How to create calendar event from SharePoint list using Power Automate

    Hi @Luilui8090 

     

    Try like below

     

    Assume i have these 4 columns in my sharepoint list

     

    Nived_Nambiar_0-1716482812795.png

     

    Start time represent the first date time at first event should start

    end time represent the datetime at which first event should end.

     

    See the following design in flow.

     

    1. Use when item is created or modified trigger OR when item is created trigger

    Nived_Nambiar_1-1716482922496.png

     

    2. Initialize a integer variable with value 1

    Nived_Nambiar_2-1716482963728.png

     

    3. Use initialize variable to intialize start date time as shown below

    Nived_Nambiar_3-1716483092767.png

     

    4. Use Initialize variable to initialize End Time

    Nived_Nambiar_4-1716483153384.png

     

    5. Use a do until loop which loop until 5 iterations are completed so create 5 recurrances with interval of 2 weeks

    Nived_Nambiar_5-1716483236711.png

     

    The next steps would be under Do until loop

    5.1- Create a event using below parameters

    Nived_Nambiar_6-1716483536967.png

     

    I am using mentor email id and mentee email id as attenders which may be optional in your case.

     

    5.2- Use compose action to increment the start date by 2 weeks

    Nived_Nambiar_7-1716483713491.png

     

    Expression - 

    addToTime(variables('StartDate'),2,'Week')
     
    5.3- use set variable to set the value of compose
    Nived_Nambiar_8-1716483780698.png

     

    5.4- use compose action to add 2 weeks to end date

    Nived_Nambiar_9-1716483820353.png

     

    Expression - 

    addToTime(variables('EndDate'),2,'Week')
     
    5.5- set the variable as output of compose action
    Nived_Nambiar_10-1716483921583.png

     

    5.6- increment the index variable by 1 

    Nived_Nambiar_11-1716483967200.png

     

    Now the flow is ready, it will create 5 events each having 2 weeks interval.

     

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Luilui8090 Profile Picture
    32 on 21 May 2024 at 19:36:16
    Re: How to create calendar event from SharePoint list using Power Automate

    It´s when the item in sharepoint list is created, like this example

    Luilui8090_0-1716319821575.png

    Mentee is the student
    Mentor is the teacher
    HoraInicio is the time and date when the first event needs to be created or started,.

    So in my example, the power automate need to create the first event with that new item created, then it need to create the other 4 events every 2 weeks in the same time of the item created.
    Horafin is the time and date when the first event needs to be ended.

  • Nived_Nambiar Profile Picture
    17,534 Super User 2025 Season 1 on 21 May 2024 at 19:28:13
    Re: How to create calendar event from SharePoint list using Power Automate

    Hi @Luilui8090 

     

    so how flow should trigger - should it trigger when the sharepoint list item is created ? also what should be date when the recurrance should be started ? where the date can be obtained ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Luilui8090 Profile Picture
    32 on 21 May 2024 at 19:25:48
    Re: How to create calendar event from SharePoint list using Power Automate

    It would be 40 minutes the duration of the event.

  • Nived_Nambiar Profile Picture
    17,534 Super User 2025 Season 1 on 21 May 2024 at 19:22:38
    Re: How to create calendar event from SharePoint list using Power Automate

    Hi @Luilui8090 ,

     

    what should be time duration for the event ?, i could not see it as mentioned.

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started