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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Search for ID of o365 ...
Power Automate
Answered

Search for ID of o365 calendar event ID using Google event ID.

(0) ShareShare
ReportReport
Posted on by

When creating an o365 event from a google calenadar event i save the google event ID as the body. When deleting how can I search for that google event ID to find the o365 event ID?

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @trevco,

     

    Could you please share a screenshot of your flow’s configuration?

    Do you create two separated flows on your side?

    Could you please show a bit more about body of O365 calendar event? Is it the Body preview content?

    Further, do you want to search for the google event ID which is stored in body of O365 calendar event to find O365 event ID when deleting the google event?

     

    I have made a test on my side and please take a try with the following workaround:

    The first flow: Creating an O365 event from a google calendar event and save the google event ID as the body of O365 event:8.jpg

    The flow works successfully as below:9.JPG

    The second flow: search for the google event ID which is stored in body of O365 calendar event to find O365 event ID when deleting the google event:

    • Add a “When an event is deleted from a calendar” trigger.
    • Add a “Get events (V2)” action, specify Calendar id.
    • Add a “Filter array” action, From set to output of “Get events (V2)” action, click “Edit in advanced mode”, type the following formula:

     

    @equals(formatDateTime(item()?['Start'], 'MM/dd/yyyy'), formatDateTime(triggerBody()?['start'], 'MM/dd/yyyy'))

     

    • Add a “Apply to each”, Input parameter set to output of “Filter array” action. Within “Apply to each”, add a “Html to text” action, Content set to Body dynamic content of “Filter array” action. Then add a Condition, left input box set to output of “Html to text” action, right input box set to Event List Event Event ID dynamic content of the trigger, within middle drop down, choose is equal to.

     

    Within “If/yes” branch of Condition, add a “Get event (V2)” action, specify Calendar id, Item id set to Id dynamic content of “Filter array” action.

     

    Image reference:10.JPG

     

    11.JPG

    The flow works successfully as below:12.JPG

     

    13.JPG

     

    Best regards,

    Kris

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 822

#3
Haque Profile Picture

Haque 482

Last 30 days Overall leaderboard