Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Flow Trigger When Event is deleted

Like (0) ShareShare
ReportReport
Posted on 6 Jan 2022 14:23:40 by 252

Hi There

I want to trigger a flow when an event in a calender is deleted.

With the trigger that is named when an event is created modified or deleted I couldn't do it.

Any Ideas?

Thanks for your help 

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 07 Jan 2022 at 02:07:47
    Re: Flow Trigger When Event is deleted

    Hi @Dan47 ,

     

    1\ This expression is used in the trigger setting.

    vxiaochenmsft_0-1641520997482.png

    vxiaochenmsft_1-1641521014750.png

     

    2\ Your flow error is not caused by this trigger.

    When one of your events is deleted, your trigger cannot get the values of starttime and endtime.

     

    Output of trigger :

    vxiaochenmsft_2-1641521193896.png

    This seems to be by design.

     

    Best Regards,

    Wearsky

     

     

     

  • Dan47 Profile Picture
    252 on 06 Jan 2022 at 15:09:53
    Re: Flow Trigger When Event is deleted

    Hi @tom_riha 

    Thanks for your reply.

     

    Do you mean like this?

    Dan47_0-1641481714513.png

    Somehow it doesn't run because the deleted event doesn't have a start time anymore:

    Dan47_1-1641482401864.png

    I think I have the wrong action.

    What do you think?

  • tom_riha Profile Picture
    10,085 Most Valuable Professional on 06 Jan 2022 at 14:58:38
    Re: Flow Trigger When Event is deleted

    Hello @Dan47 ,

    why can't you do it? Just make sure that the trigger uses connection to the right calendar, and add a trigger condition to run only for deleted events.

    @equals(triggerOutputs()?['body/ActionType'], 'deleted')

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,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,081 Most Valuable Professional

Leaderboard
Loading started
Loading started