Enroll new HiBob employees in TalentLMS onboarding courses
On a new hire's first day in HiBob, they get a TalentLMS account and are enrolled in the onboarding courses for everyone and for their department.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/enroll-new-hibob-employees-in-talentlms-onboarding-courses/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Human Resources (HR) · Learning development
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/enroll-new-hibob-employees-in-talentlms-onboarding-courses
Set it up with the CLI
- Add it. Copies the folder into
zaps/enroll-new-hibob-employees-in-talentlms-onboarding-courses/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/enroll-new-hibob-employees-in-talentlms-onboarding-courses - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy enroll-new-hibob-employees-in-talentlms-onboarding-courses - Check it. Its recent runs, with status and errors.
npx zap-pack logs enroll-new-hibob-employees-in-talentlms-onboarding-courses
zaps/enroll-new-hibob-employees-in-talentlms-onboarding-courses/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/hibob.tsThe
hibobaccount it uses - connections/talentlms.tsThe
talentlmsaccount it uses - triggers/employee-joined.tsWhat starts it:
hibobemployee_joined - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: an employee's start date arrives in HiBob (
hibob,employee_joined, no settings). - No email: if the HiBob record has no email, the run stops.
- Courses: every hire gets the courses in
EVERYONE_COURSE_IDS, plus any listed for their HiBob department inCOURSES_BY_DEPARTMENT. - TalentLMS finds the user by email. If there is none, it creates one with their name, using the email as the login.
- TalentLMS enrolls them in each course. One failed enrollment doesn't stop the others; if every enrollment fails, the run fails so it shows up in Zap history.
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_ONBOARDING_COURSE_ID |
Each TalentLMS course every new hire takes, by its ID (one per course) |
Also review the defaults with them:
COURSES_BY_DEPARTMENT(workflow.ts): HiBob department names mapped to extra TalentLMS course IDs, such as"Engineering": ["12"]. Empty by default. Do some departments have their own onboarding courses?
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/enroll-new-hibob-employees-in-talentlms-onboarding-courses, replace each REPLACE_… value as this file says, then run npx zap-pack deploy enroll-new-hibob-employees-in-talentlms-onboarding-courses, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. Either way, name the workflow Enroll new HiBob employees in TalentLMS onboarding courses (zapier.sh/enroll-new-hibob-employees-in-talentlms-onboarding-courses): zap-pack takes that name from this file's title, so leave the title as it is, and with Zapier MCP give the workflow that name when you create it. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
hibob(can see employee start dates) to the user's HiBob connection andtalentlms(an admin who can create users and enroll them) to their TalentLMS connection. Every app in this zap needs a connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/employee-joined.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run. HiBob may send the email and department under different keys than
emailandwork.department; fixInputSchemainworkflow.tsto match the sample.
Test it
Run this sample once as a draft test, with email set to an address the user controls and the course IDs pointing at a test course:
{
"id": "3332883884017713238",
"email": "test.hire@example.com",
"firstName": "Test",
"surname": "Hire",
"work": { "department": "Operations" }
}
Check that a TalentLMS user exists for that email and is enrolled in each course. If run-status tools aren't available, check TalentLMS directly. Ask the user to remove the test user; the agent doesn't delete test data. Then publish, and tell the user to confirm the trigger is active before relying on it.
Notes
- TalentLMS requires a password to create a user. The Zap sets a random one, so hires sign in with SSO or use "Forgot password" on the TalentLMS login page. Tell them which in the welcome email.
- Enrollment happens on the start date, not when the hire is entered. Use HiBob's
employee_createdtrigger instead to enroll earlier. - To customize: add the user to a TalentLMS group or branch per department, or post a Slack message when enrollment fails.
- Never commit a real email address.