cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jdent
Regular Visitor

Using an event acceptance as a trigger for sending an email (Outlook 365)

Disclaimer: I am new to Power Automate

 

My work calendar (Outlook 365) is regularly populated with appointments that are generated from a secondary system and are boilerplate (same sender, predictable subject, etc.). Each time I accept one such appointment, I need to manually send an email with additional stock information to one of the people included in the appointment. This person changes with each appointment and is both named in the subject line and included in the to: field. I would like to automate this process.

 

So far I have tried working with “When an event is modified (V3)” and “When an event is added, updated or deleted (V3)” with no luck. At this point I’m guessing I will have to include trigger conditions and/or add custom code, both of which I am unfamiliar with. While I have coding experience, I am not familiar with the schema behind Power Automate.

 

Is there a relatively straightforward way to accomplish this? I’ve searched through the forums a bit and have yet to find a similar template or example to work with. I’m happy to get into the weeds, but need some structure to get started. Any help would be appreciated. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @jdent,

 

I think you can use the responseType field for this.

 

responsetype.png

 

Add the following expression as trigger condition to a When an event is added, updated or deleted (V3) action.

@equals(triggerOutputs()?['body/responseType'], 'accepted')

triggercondition.png

 

Hope this helps a bit. Let us know if you need any additional help with the email stock information part of your flow.

View solution in original post

4 REPLIES 4
Expiscornovus
Super User
Super User

Hi @jdent,

 

I think you can use the responseType field for this.

 

responsetype.png

 

Add the following expression as trigger condition to a When an event is added, updated or deleted (V3) action.

@equals(triggerOutputs()?['body/responseType'], 'accepted')

triggercondition.png

 

Hope this helps a bit. Let us know if you need any additional help with the email stock information part of your flow.

View solution in original post

jdent
Regular Visitor

Thanks @Expiscornovus! Exactly the nudge I needed. I'll dig in to the rest and see how things go. As an aside, it seems to work without the initialize variable step. Does that just help with error avoidance or something similar? Thanks again.

Expiscornovus
Super User
Super User

@jdent you don't need that variable. I just used that for testing purposes 🙂

Hello 

 

thank you for this helpful information. Do you know, how the trigger needs to look like, if it should be fired on event accepted but not if a a event is gonna be cancelled? 

 

Thank you in advance!

 

Best regards

Mini25 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (3,034)