Skip to content

Instantly share code, notes, and snippets.

/**
* === GOOGLE SHEETS -> GOOGLE CALENDAR SYNC (ONE-WAY, SHEET MASTER) ===
* Version: Pro v9.1 (Fixed Deletion Handling)
* Author: ChatGPT + Andy + Gemini + Claude
*
* Overview:
* - One-way sync from sheet (master) to Google Calendar(s) defined in CALENDAR_MAP.
* - Event ID as primary key - immune to sorting/filtering/row movement
* - Selective column writing - users can edit event details during sync
* - Handles new events (no Event ID) and existing events seamlessly