web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Check for existing Out...
Power Automate
Unanswered

Check for existing Outlook event

(0) ShareShare
ReportReport
Posted on by 4

I'm taking an email that includes event details (including one required attendee) in its body and I create an Outlook event with those details. I can receive many emails for the same event, each with a different required attendee. If I get a new required attendee for an event that had already been created, I want to updated the existing event with the new additional attendee. If the event has not been created, I want to created it for the first time.

 

When I create an event I use the Outlook Create Event(V2) action. My original plan was to use the subject and start time that I set for my events to determine if there is already an event that exists with those parameters.

 

I can not figure out how to check if the event already exists and how to get the event id if it does exist.

 

Please help 😞 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @thor101,

     

    How do you specify the subject of the event? Does it come from the event details?

     

    I assume that your flow is triggered by When an email arrives. Before adding a Condition, use the action Get events to get all the existing events. Then use the Condition to check if the email body contains the subject, if yes, do nothing, update the event, if no, create a new event.

     

    Hope this could be a reference for you. Please take a try with it on your side.

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    on at

    Hey, @thor101!

     

    Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

     

    Thank you for being an active member of the Flow Community!

     

    -Gabriel
    Flow Community Manager

  • thor101 Profile Picture
    4 on at

    You are right that my flow is triggered by When An Email Arrives. I get the subject of the event from that email's body. I get all of the details for the event from the body of the email. 

    I also have a Get Events action that does not return anything in the array when I pass it the same subject that I get from the email that triggered the flow (even if there is another event on my calander that matched the subject). So I'm not able to check if there's another email that matches the subject.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard