calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
31.42k stars 7.61k forks source link

Sync Availability with Google Calendar Working Locations #13979

Open leoherzog opened 6 months ago

leoherzog commented 6 months ago

Is your proposal related to a problem?

The days where I'm in the office or working remotely change, and I denote them in Google Calendar with the Working Locations feature. If I want to make an availability in Cal.com for people to schedule with me in-person, I would have to create and maintain a separate Availability that matches my in-person days/hours.

Describe the solution you'd like

I would like to create a new Availability that is synced from Google Calendar Working Locations. The Cal.com Availability settings page has a [+ New] button, and if the user has configured the Google Calendar app, the modal that pops up should ask if the user wants this new Availability to keep itself up-to-date with Working Locations of a certain type. I could then choose from "Remote", "Office", or "Other" (the options in Google Calendar), give it a name, and have a new un-editable Availability in the list.

Availability list in settings, with one of them having an icon indicating it's syncing from another source

The "add a new availability" modal, but with a "Sync with Google Calendar Working Locations"

Requirement/Document

Cal.com can list workingLocation events, as well as subscribe to watch for updates.

PeerRich commented 6 months ago

i must admit i have never seen this feature before

i dont see this option, how do i add it?

CleanShot 2024-03-07 at 13 37 35@2x

is the workaround you mentioned really that bad? I think that works, no?

leoherzog commented 6 months ago

Creating and modifying Working Locations

Working Locations is a standard Google Workspace feature, but it doesn't exist for Gmail accounts.

https://workspaceupdates.googleblog.com/2021/08/share-where-youre-working-from-in.html

https://workspaceupdates.googleblog.com/2022/07/working-location-enabled-by-default-google-calendar.html

I guess double-entering all of my availability on my calendar and again in Cal.com is fine enough. Isn't that kind of like asking users to enter all of my free/busy events on Google Calendar into Cal.com as well? The whole point of a tool like Cal.com is to have it check against my calendar information and to then present the times that I'm free. I already maintain my "Availabilities" on my calendar in addition to my events themselves. It would be nice if I could bring them into Cal.com, ya know?