assign-talentlms-compliance-training-on-hibob-department-changelisted
Install: claude install-skill zapier/awesome-zaps
# Assign TalentLMS compliance training on HiBob department change
The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/assign-talentlms-compliance-training-on-hibob-department-change. Read the files there if this skill was installed on its own.
## What it does
1. **Trigger:** an employee is updated in HiBob (`hibob`, `employee_updated`, no settings).
2. **Department:** the run looks up the employee's current department in `COMPLIANCE_COURSES_BY_DEPARTMENT`. A department that isn't listed, or a record with no email, ends the run without changes.
3. **TalentLMS** finds the user by email. If they have no TalentLMS account, the run stops.
4. **TalentLMS** enrolls them in each of the department's courses they aren't already in. One failed enrollment doesn't stop the others; if all of them fail, the run fails so it shows up in Zap history.
HiBob fires this trigger on any profile edit, so most runs end at step 2 or enroll nothing new. That's expected.
## 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 | What goes there |
| ------------------------------ | -------------------------------------------------------------------------------- |
| `REPLACE_DEPARTMENT_NAME` | A HiBob department with its own compliance training, spelled exactly as in HiBo