copy-leave-events-to-personal-google-calendarlisted
Install: claude install-skill zapier/awesome-zaps
# Sync new leave events from Google Calendar to personal calendar
The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/copy-leave-events-to-personal-google-calendar. Read the files there if this skill was installed on its own.
## What it does
1. **Trigger:** a new event is created on the source Google Calendar (`google-calendar`, `new_event`).
2. **Filter (in code):** the event is skipped if it is cancelled, if its title doesn't match the leave pattern (`leave`, `PTO`, `OOO`, `out of office`, `vacation` or `holiday`, case-insensitive), or if it has no start or end. Nothing is created for skipped events.
3. **Google Calendar** creates a copy on the personal calendar with the same title, start, end, all-day setting, description and location, shown as busy.
## Ask the user
Each `REPLACE_…` value is set per person. Resolve calendar names to IDs with the user's own Google Calendar connection; don't ask them to paste an ID you can look up.
| Setting | Where | What goes there |
| ------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------- |
| `REPLACE_SOURCE_CALENDAR` | `triggers/new-event.ts`, `calendarid` | The calendar that holds leave events, such as a team or leave calendar |
| `REPLACE_TARGET_CALEN