Question

Can I delete the original event in Google Calendar after creating a new detailed event on another Google Calendar?

  • 28 June 2023
  • 5 replies
  • 128 views

I am trying to copy events from google calendar A to google calendar B, and then delete the original event in google calendar A.   

The goal is that whenever an event is created in calendar A that matches specific search terms, zapier would create a new detailed event in calendar B, and then delete the original event in calendar A.   I am able to search and identify the events in calendar A using the “New Event matching Search in Google Calendar” trigger. The action is “Create Detailed Event in Google Calendar”  That is all working beautifully.   But I end up with two identical events in two separate calendars. 

So, how do I delete the original event off calendar A, after the new detailed event is created in calendar B?  

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 7
Badge +14

Hi @Nimblenurse 

Good question.

You can use the GCal API to delete the Event: https://developers.google.com/calendar/api/v3/reference/events/delete

Zap action: GCal - API Request

 

Thank you for your reply.  Perhaps I could use this if I were a computer programmer.  But I am a nurse practitioner, looking to design a workaround for an online appointment scheduling platform that doesn’t do what I need it to do. 

If I understand it right, to use this method, I would need to specify the EventID of each specific event I wish to delete. How is that even feasible?   I need to delete events in calendar A on a rolling basis, as they get scheduled, right after they get copied to Calendar B.  I can’t be going into Zapier to specify the event ID each time. It would be simpler to delete the event manually.  What am I missing here? 

Userlevel 7
Badge +14

@Nimblenurse 

You’d map the GCal Event ID variable between Zaps steps which makes that a dynamic value.

 

If you need help, I’m a Certified Zapier Expert and can be hired: https://zapier.com/experts/automation-ace

In order to use this method, I would have to authorize Google API which takes 4-6 weeks?  It seems like this ought to be possible to do without jumping through these kinds of hoops. I essentially want to move calendar events from one calendar to another. 

Also, does this entail a multi-step Zap? 

Userlevel 7
Badge +14

@Nimblenurse

Most Zap app integrations don’t expose their destructive endpoints. (e.g. GCal - Delete Event) as those could easily be misused in automations and cause data loss.

That is why the app API usually has to be used for those actions.

 

In order to use this method, I would have to authorize Google API which takes 4-6 weeks?

No.

The GCal - API Request uses the authentication for the GCal account you already have connected to Zapier.

You just have to configure the API request to perform the desired action.