LearnUpon automation · runs weekly
Invite and enroll new LearnUpon learners
HR sends the names of this month's new hires, and someone in L&D has to turn the list into LearnUpon invites, a group and a set of course enrollments before the first day.
Cotlet does it in your own LearnUpon account with list_users, invite_users, list_courses and enroll_users, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can LearnUpon do this on its own?
LearnUpon offers invites in the interface, the batch CSV upload and the REST API with POST /portal_invite and POST /enrollments (checked 20 Oct 2026). The API needs API keys from Settings > Integrations > API Keys, and the official MCP server is described as reporting only. Nothing turns a list in an email or a chat into invites and enrollments for you.
How you do it in LearnUpon today
- An admin opens Users, chooses Invite from the action menu, types one or more email addresses separated by commas, keeps the default user type Learner and selects Invite.
- For a longer list the admin uses Users > Batch Upload, downloads the example file and fills the email column, which is required, then deletes the notes in the template and uploads it.
- In one batch upload the interface assigns users to groups or to courses, but not both, so the admin often runs a second step: Enrollments > Create New Enrollments.
- Invited people stay pending under Users > Pending users until they accept; the admin can still enroll a pending learner by typing the email address under Select Users.
- The same routine repeats for every cohort, and a typo in one address is only noticed when the invite bounces.
How to invite and enroll new LearnUpon learners
Invite these 12 new hires to LearnUpon as learners in the Onboarding group, and enroll anyone who is not covered by the group on Data privacy basics. - 01
Skip people who already exist
Your agent looks each address up with list_users and the query parameter. An address that already has an account is left out of the invite and reported, so nobody gets a second invite.
- 02
Invite the rest into the group
invite_users sends one invite per address with the user type you named and the group_id of the group, so the learners join that group when they accept. Invites go to real people, so each call waits for your OK by default.
- 03
Check what the group already assigns
list_courses shows the published courses. If courses are assigned to the group, LearnUpon enrolls new learners on them when they join it, so the agent enrolls by hand only on courses outside that assignment.
- 04
Enroll pending learners
enroll_users takes the email address, so a learner who has not accepted yet already has the course ready on the first login. It only works on published courses; a draft course fails and the agent lists it for you.
- 05
Report who is still pending
At the end list_users with status pending returns who has not accepted, so you can chase them or run the job again next week.
What you get back
Addresses received: 12
Already had an account: 2 (kept out of the invite)
Invited to Onboarding: 10
Enrolled on Data privacy basics: 10
Still pending: 10 Other ways to ask
- Every Monday, read the new-hire list from this sheet and invite everyone who is not in LearnUpon yet.
- Invite these 5 contractors as learners with access that expires on 31 December.
- Only check which of these addresses already have a LearnUpon account and tell me the rest.
What LearnUpon allows, and what to know first
- LearnUpon identifies a user by email address; first and last name are optional when you invite.
- The default user type of an invite is Learner, and you can pick Instructor, Manager or Admin instead.
- A manager can be invited, but a group cannot be assigned to them until they accept the invitation.
- LearnUpon does not enroll anyone on a draft course, so the course must be published first.
- Group enrollments can take longer to process than individual ones.
invite_users and enroll_users ask for your OK by default. To run it weekly without you, switch confirmation off for those tools in your dashboard.
Sources: LearnUpon Help: Add users to your portal · LearnUpon Help: Upload users by batch CSV file · LearnUpon Help: Enroll individual learners on a course · LearnUpon API guide
Call invite_users from a script
curl -X POST https://cotlet.dev/api/v1/learnupon/users/invite \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"emails":["maria.nowak@example.com","tom.reyes@example.com"],"user_type":"learner","group_id":"4821"}' {
"invited": 2,
"group_id": "4821",
"status": "pending",
"emails": [
"maria.nowak@example.com",
"tom.reyes@example.com"
]
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is learnupon_write → invite_users. Example data.
Schedule it in n8n, Make, Zapier or cronLearnUpon tools this automation uses
| Tool | Parameters |
|---|---|
| list_users | query, group_id, status, cursor |
| invite_users | emails, user_type, group_id, expires |
| list_courses | query |
| enroll_users | emails, course_ids, re_enroll_completed |
Frequently asked questions
Is it safe to connect LearnUpon to Cotlet?
Yes. You sign in to LearnUpon yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get LearnUpon once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to LearnUpon.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with LearnUpon.