Sync a safe read-only view of HollyHR people and time-off data into a Google
Sheet. This is useful for lightweight reporting, operations trackers, or a
spreadsheet-native team that wants HollyHR data in one place.
This recipe exports data from HollyHR into a sheet. It does not import people or
time off into HollyHR.
What it reads
GET /people
GET /time-off
You can also read reference-data endpoints if your own sheet needs lookup
tables for custom reporting, but this starter example only needs people and
time-off records.
Optional reference endpoints:
GET /reference/time-off-categories
GET /reference/time-off-statuses
Apps Script setup
Create a Google Sheet, then open Extensions > Apps Script. Add script
properties for:
HOLLYHR_API_BASE_URL
HOLLYHR_API_TOKEN
Use your organisation's HollyHR app origin, for example:
In Apps Script, add a time-driven trigger for syncHollyHr. Hourly or daily is
usually enough for spreadsheet reporting. Use updated_since later if you need
to reduce polling volume.
Privacy notes
This recipe uses the default people:read directory projection, which excludes
dates of birth and home contact details. Elevated personal profile fields need
people:personal:read and a separate detail call per person. Compensation, bank
details, tax identifiers, and document contents are not exposed. Keep the sheet
permissions at least as strict as the HollyHR data it contains.