ICS url sync to Google Calendar

Hey everyone :wave:,
I’m trying to automate syncing an ICS url to my Google calendar. I’ve got something working, but it basically deletes everything in Google Calendar and then puts the new ICS data in the calendar. I’m thinking this could be done much more efficient (and with less errors, my workflow isn’t the most stable). Could someone give me a hint on how I could compare the Google Calendar with the ICS file item by item and then decide which action to take (delete/edit/nothing)?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @OpenSourceSimon,

Assuming you can split the ICS events what about using a merge node to check if the event names match then only add the ones that don’t or use the compare dataset node which will tell you if there are changes so you could maybe update the dates if needed.

Hey @Jon,
That’s an amazing idea! I don’t have experience with that, is it possible that you could make a quick outline workflow so I can test how it works?

Hey @OpenSourceSimon,

Annoyingly as much as I would like to I am not going to have a chance to this week but we do have some examples on using that node already which may help which you can find here: n8n workflow templates

Once I have managed to catch up on forum replies I can look at a more specific example for you.