Package Information
Downloads: 165 weekly / 165 monthly
Latest Version: 0.1.1
Author: Social Masla
Available Nodes
Documentation
n8n-nodes-socialmasla-moodle
This is an n8n community node. It lets you automate interactions with Moodle's native Web Services API in your n8n workflows.
Moodle is the world's most popular open-source learning management system. This node allows you to automate student onboarding, course enrollments, and user management directly from webhooks or other integrations (e.g. Stripe, Razorpay).
n8n is a fair-code licensed workflow automation tool.
Installation
Community Nodes Panel (Recommended)
- Open your n8n UI and click Settings.
- Click Community Nodes.
- Select Install.
- Enter
n8n-nodes-socialmasla-moodleand click Install.
CLI Installation
If you self-host n8n using npm or Docker, run the following in your n8n custom nodes directory:
npm install n8n-nodes-socialmasla-moodle
Operations
Currently, this node supports the core operations necessary for automated student funneling:
- User
- Create User (Creates a generic student account in the Moodle database). Maps directly to
core_user_create_users.
- Create User (Creates a generic student account in the Moodle database). Maps directly to
- Course
- Enroll User (Unlocks a specific course for a given Moodle User ID). Maps directly to
enrol_manual_enrol_users.
- Enroll User (Unlocks a specific course for a given Moodle User ID). Maps directly to
Credentials
To use this node, you must configure your Moodle VPS to accept REST Web Services.
- In Moodle, go to Site Administration > Advanced Features and enable Web Services.
- Go to Server > Web services > Manage protocols and enable REST.
- Create a Custom Service, add the required functions (
core_user_create_users,enrol_manual_enrol_users), and mark it as 'Authorized users only'. - Go to Manage tokens and generate a token for an admin user.
- In n8n, input your Site URL (e.g.,
https://learn.socialmasla.com) and the generated Web Services Token.
License
MIT