Webhooks with Google calendar API on Vercel
Looking for any general advice on listening to events from google calendar, in order to sync changes via the Google Calendar UI to my database.
The calendar api is a bit different from how Stripe or Clerk does webhooks. You need to create a transient notification channel which needs to be renewed after an interval (e.g 1 day or 1 week).
My initial thoughts are to just use a vercel cron job or similar to get the job done. Happy to take alternative suggestions though.
The calendar api is a bit different from how Stripe or Clerk does webhooks. You need to create a transient notification channel which needs to be renewed after an interval (e.g 1 day or 1 week).
My initial thoughts are to just use a vercel cron job or similar to get the job done. Happy to take alternative suggestions though.
