← ClaudeAtlas

assign-on-call-contact-from-next-calendar-event-to-rosterlisted

Build a Zap on Zapier that, shortly before a rotation event starts on Google Calendar, writes the on-call contact for that shift into the event description. Use when an engineering team keeps on-call rotations as calendar events and wants the person responsible shown on the event before the shift.
zapier/awesome-zaps · ★ 2 · AI & Automation · score 78
Install: claude install-skill zapier/awesome-zaps
# Assign on-call contact from next calendar event to roster The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/assign-on-call-contact-from-next-calendar-event-to-roster. Read the files there if this skill was installed on its own. ## What it does 1. **Trigger:** `google-calendar`, Event Start (`event_start`). It fires 15 minutes before any event on the chosen calendar starts. 2. **Resolve contact:** the event title is checked against a roster of rotation names. The first name found sets the contact. If none matches, the default contact is used. 3. **`google-calendar`** updates that event's description. Any earlier `On call:` line is removed, then `On call: <contact>` is appended. Attendees are not changed and no invitation is sent. ## Ask the user Each `REPLACE_…` value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up. | Setting | Where | What goes there | | ------------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `REPLACE_CALENDAR_ID` | `triggers/event-start.ts`, `calendarid`; `config.ts`, `CALENDAR_ID` | The Google Calendar t