How to sync a Calendar (database items to e.g. outlook and vice versa)

Hi all,

I’ve already searched the forum and also google but didn’t find anything.
Is there a solution to synchronise calendar elements.
I’ve a calendar (stored in my database) with some Events.
It would be very nice to insert a button for example. If the user clicks the button, then there should run a calendar-sync-“workflow”.
I know that it possible to generate an ics file to import in an email client but how to handle if a event will be deleted or updated?
Anyone any ideas or tipps?

Thanks many times,
jupxi

Definitely possible…need to first read the connected calendar, like outlook or google and import to your database all returned events, then look at database and send to connected calendar all events that exist in db but not the connected calendar. Best to use API for that stuff.

Outlook and google do not provide webhooks based on events in their systems, so there is no way to have automatic updates when an event is deleted or updated in the connected calendar…this is just something you have to run when syncing via your button click.

Okay, seems to be possible. Could you provide more details?
How to export/import/format?

thanks,
jupxi

I think you may be mistaken regarding webhooks from google calendar…

I dont want to use google calendar or another service.
The user should should be able to sync easy with his own mail client

Is this how Google is doing it? Push notifications  |  Google Calendar  |  Google for Developers

Sorry I read the title as dealing with Calendars and saw e.g. outlook and just made a connection.

Screen Shot 2024-11-19 at 12.36.49 AM

I don’t know how to sync with the mail client.