Manage academy enrollments by appending rows to a Google Sheet (used by Zapier/n8n to grant LearnWorlds access).
LearnWorlds API is not available on the current plan, so enrollment actions are triggered by writing rows into a Google Sheet that Zapier/n8n watches.
~/.config/skills/config.json under academy_enrollments:
account: Google account for Sheets accesssheet_id: Spreadsheet IDExample:
{
"academy_enrollments": {
"account": "[email protected]",
"sheet_id": "spreadsheet_id_here"
}
}
Tabs (actual names in the sheet):
Dar acceso (append rows to grant access)Quitar accesoAñadir tagEliminar tagcolumns (A:E):
Dar accesoemail, nombre, apellidos, producto, precioNatural-language helper (best effort parser):
scripts/enroll-nl "Enroll Nombre Apellidos ([email protected]) in AI Expert precio 997"Low-level helper (explicit args):
scripts/enroll-grant-access.sh --email ... --nombre ... --apellidos ... --formacion "AI Expert" --precio 997--account and --sheet-id explicitly.List known product IDs seen in the sheet:
scripts/enroll-list-products.sh--account and --sheet-id explicitly.When the user asks in natural language to enroll someone:
email, full name, course name (e.g. "AI Expert"), optional price.Dar acceso via the helper.Avoid posting any sensitive data beyond the minimum necessary (email + course). Do not paste full sheet contents in chat.