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 / google calendar when a...
Power Automate
Unanswered

google calendar when an event is added updated or deleted - how to update/delete when the event ID is not output by the trigger?

(0) ShareShare
ReportReport
Posted on by 30

Hello,

I am using the built in When an event is added, updated or deleted trigger to sync to an O365 calendar.

The trigger flows into three conditions. 

  • If created T/F
  • If updated T/F
  • If deleted T/F

If Created works easily enough - you can use the trigger outputs to create an O365 calendar event, but for update or delete I can't work out how to to equate the GCal event output with an existing O365 event?
Using the GCal eventID results in an error - ID is malformed - how can I update an associated O365 event from the GCal = updated data?

2021-04-07_16h10_31.png2021-04-07_14h16_32.png

Categories:
I have the same question (0)
  • KL-17101346-0 Profile Picture
    4 on at
    I don't know if this will help, as I am doing something similar but for another outlook calendar. This is what I did.

    When creating the initial event, I copy the Id of the master event into the body of the slave event, since all that data goes away when the event is deleted.
     
    So I used a Get events (v4), and I pull from events up to two months in the future by using this in my filter query: start/dateTime ge '
    formatDateTime(addHours(utcNow(), -10), 'yyyy-MM-ddTHH:mm:ss.0000000')' and end/dateTime le '
    formatDateTime(addHours(utcNow(), 1440), 'yyyy-MM-ddTHH:mm:ss.0000000')'
     
    Then I use an Apply to each that looks at the body/value of the get events (v4), then I use a condition where I look to see if the body of the slave event contains the id of the master event that was deleted. If true, delete event (v2), using the id of the slave calendar event.
     
    Don't know if this helps. 

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard