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 / 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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard