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 bundles. Specifically, the "Add Bundles to Group" operation allows users to add one or more bundles to a specified group within LearningSuite. This is useful in scenarios where you want to assign multiple learning content packages (bundles) to a group of users efficiently.
Practical examples include:
- Automatically assigning new course bundles to a training group when onboarding employees.
- Managing access rights by grouping bundles under specific user groups for easier administration.
- Bulk updating group content by adding multiple bundles at once without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Group Name or ID | The identifier of the target group to which bundles will be added. Can be selected from a list or set via expression. |
| Bundle Names or IDs | One or more bundles to add to the group. Selectable from a list or specified via expressions. |
| Additional Options | Optional settings for the operation: |
| - Disable Access Notification Email | Boolean flag to disable sending access notification emails when bundles are added. Defaults to false (emails sent). |
Output
The node outputs a JSON array containing the results of the add bundles operation for each input item. Each element typically includes details about the success or failure of adding bundles to the specified group.
If the operation involves binary data (not indicated here), it would represent related files or attachments, but this node primarily deals with JSON responses from the LearningSuite API.
Dependencies
- Requires an active connection to the LearningSuite API via an API key credential configured in n8n.
- The base URL for the API is taken from the credentials configuration.
- The node depends on LearningSuite's API endpoints for groups and bundles management.
- Load options for groups and bundles are dynamically fetched using internal methods to populate dropdowns.
Troubleshooting
Common Issues:
- Invalid or missing Group ID or Bundle IDs can cause the operation to fail.
- Network or authentication errors if the API key is incorrect or expired.
- Attempting to add bundles that do not exist or are already assigned may result in errors or no changes.
Error Messages:
"No handler for resource "group" and operation "addBundles": Indicates a misconfiguration or unsupported operation; ensure correct resource and operation names.- API errors returned from LearningSuite will be passed through; check the error message for details such as invalid IDs or permission issues.
Resolutions:
- Verify that the Group ID and Bundle IDs are valid and accessible.
- Confirm API credentials and permissions.
- Use the "Disable Access Notification Email" option carefully if email notifications are undesired.
Links and References
- LearningSuite API Documentation (general reference, replace with actual API docs if available)
- n8n Expressions Documentation – for using expressions in property fields
- n8n official documentation on Creating Custom Nodes