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 updatePhotosif setup)
git add .git commit -m "..."git push