LearningSuite icon

LearningSuite

Interact with LearningSuite API (powered by agentur-systeme.de)

Overview

The "Add Members to Groups (Summary)" operation in the Group resource allows users to add one or more members (users) to one or more groups within the LearningSuite platform. This node is useful for managing group memberships programmatically, such as enrolling users into specific groups for courses, projects, or organizational units.

Practical scenarios include:

  • Automatically adding new users to relevant groups based on onboarding workflows.
  • Bulk assigning multiple users to several groups at once.
  • Managing access control by grouping users dynamically.

Properties

Name Meaning
Group Names or IDs Select one or more groups by their names or IDs. You can choose from a list loaded dynamically or specify IDs via expressions.
User Name or IDs Select one or more users by their names or IDs. You can choose from a list loaded dynamically or specify IDs via expressions.
Additional Options Optional settings:
- Disable Access Notification Email: Whether to suppress sending an access notification email (default: false).

Output

The node outputs a JSON array where each item corresponds to the result of adding members to groups. The exact structure depends on the API response but generally includes confirmation of successful additions or error details per user-group assignment.

No binary data output is indicated for this operation.

Dependencies

  • Requires a valid API key credential for the LearningSuite API.
  • The node relies on dynamic loading methods to fetch available groups and members for selection.
  • Proper configuration of the base URL and authentication credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Providing invalid or non-existent group or user IDs will cause errors.
    • Network or authentication failures with the LearningSuite API.
    • Attempting to add members to groups without sufficient permissions.
  • Error messages:

    • "No handler for resource "group" and operation "addMembersSummary": Indicates the operation is not implemented or incorrectly specified.
    • API errors returned from LearningSuite will be passed through; check the message for details like invalid IDs or permission issues.
  • Resolutions:

    • Verify that group and user IDs exist and are correctly formatted.
    • Ensure API credentials are valid and have required scopes.
    • Use the "Disable Access Notification Email" option if email notifications cause issues or are undesired.

Links and References

Discussion