Actions56
- API Call Actions
- Bundle Actions
- Community Actions
- Course Actions
- Group Actions
- Hub Actions
- Member Actions
- Module Actions
- Popup Actions
- Webhook Actions
Overview
This node integrates with the LearningSuite API to manage groups and their associated courses. Specifically, the "Add Courses to Group" operation allows users to add one or more courses to a specified group within the LearningSuite platform. This is useful in scenarios where an organization wants to assign multiple training courses or learning modules to a particular user group efficiently.
Practical examples include:
- Automatically enrolling a team or department into new training courses.
- Managing course access for different user groups based on roles or projects.
- Bulk updating group course assignments as part of onboarding workflows.
Properties
| Name | Meaning |
|---|---|
| Group Name or ID | The identifier of the target group to which courses will be added. Can be selected from a list or set via expression. |
| Course Names or IDs | One or more courses to add to the group. Selectable from a list or specified by IDs using expressions. |
| Disable Access Notification Email | Option to disable sending notification emails to users about their new course access. Defaults to false (notifications sent). |
Output
The node outputs a JSON array containing the results of the add courses operation for each input item. Each element typically includes details confirming the successful addition of courses to the specified group or error information if the operation failed.
If the operation supports binary data output, it is not indicated here; thus, the output is primarily JSON structured data representing the API response.
Dependencies
- Requires a valid API key credential for authenticating with the LearningSuite API.
- The node depends on the LearningSuite API endpoint configured in the credentials (base URL).
- Proper permissions on the API key to modify group-course relationships are necessary.
- The node uses internal methods to load options dynamically for groups and courses, so network connectivity to the API is required during option loading.
Troubleshooting
Common Issues:
- Invalid or missing group ID: Ensure the group exists and the ID is correct.
- Invalid or empty course list: At least one valid course must be specified.
- Insufficient API permissions: The API key must have rights to modify group memberships.
- Network or authentication errors: Verify API credentials and connectivity.
Error Messages:
"No handler for resource "group" and operation "addCourses": Indicates the node does not support this operation, possibly due to misconfiguration.- API errors returned from LearningSuite (e.g., 401 Unauthorized, 404 Not Found) will be surfaced; check credentials and resource identifiers.
- If
continueOnFailis disabled, the node execution stops on first error; enabling it allows processing remaining items.
Links and References
- LearningSuite API Documentation (generic link, replace with actual if available)
- n8n Expressions Documentation – for using expressions in property fields
- n8n Node Development Guide – for understanding node structure and error handling