Portfolio
In production

Google Sheets to Calendar sync for event scheduling

A Google Apps Script that keeps a shared Google Calendar in sync with the client’s event schedule spreadsheet. Each row links to a calendar event with the right store address, staff and guests, and edits in the sheet reach the calendar within about a minute.

A sample row in the test sheet and the event the script made from it (the sheet is in Eastern time, the calendar in Pacific).

The problem

The client schedules in-store promotional events in one large spreadsheet and needs every event on a shared calendar, with invites going to the right people. The staff are non-technical and the sheet is their production system, so reliability and validation are key.

What I built

  • A one-minute sync that stays within Google’s rate limits: new and changed rows create or update events, and status columns show each row’s sync state.
  • Store addresses, staff and guest emails validated and auto-filled from lookup tables.
  • Duplicate-invite protection: before creating an event, the script looks for a matching one and links to it instead.
  • Guards against accidents: large or unusual edits go through several validation checks, and past a set threshold they alert both me and the user.
  • A sandbox copy of the sheet with a throwaway calendar, for end-to-end testing before production.

Same client as the Wix website and contractor portal.

How AI was used

I first wrote this by hand, then rebuilt it with Claude Code to keep the client’s costs down without giving up data quality or reliability.

Claude Code was given a sandbox with made-up sample data and a test calendar. It was to reconcile the business logic behind thousands of sample records with the output of its code before greenlighting, in addition to a number of automated tests surrounding Google rate limits and data quality.