This Google Apps Script uses the BambooHR employee API and the Google Workspace AdminDirectory API to automatically download the employee directory from BambooHR, and then upload it to a Google Workspace organization.
git clone https://github.com/nwfem/directorySync.git
(or git pull
if already cloned)
clasp login
Open /directorySync/Code.js
in your code editor and modify the file
- Upload:
clasp push
- Run: Run using the web interface (or
clasp run updatePhotos
if setup)
git add .
git commit -m "..."
git push