LearningSuite icon

LearningSuite

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

Overview

The "Assign Badges to Member" operation in the Community resource allows users to assign one or more badges to a specific community member within the LearningSuite platform. This node is useful for automating badge assignments based on user activity, achievements, or administrative decisions. For example, it can be used to reward members who complete certain courses, participate actively in discussions, or meet other criteria defined by the community managers.

Practical scenarios include:

  • Automatically awarding badges after course completion.
  • Assigning special recognition badges during events.
  • Managing member status or roles visually through badges.

Properties

Name Meaning
Badge Group ID Optional filter to limit badge selection to a specific badge group. If set, only badges from this group are available for assignment.
Member Name or ID The target member to whom badges will be assigned. Can be selected from a list or specified via an expression. This property is required.
Badge Names or IDs One or more badges to assign to the member. Badges can be selected from a list filtered optionally by Badge Group ID or specified via expressions. This property is required.
Notice Informational message indicating that multiple badges can be selected and that the badge selector can be filtered by Badge Group ID.

Output

The node outputs a JSON array where each item represents the result of the badge assignment operation. Each output object typically contains information about the success or failure of assigning badges to the specified member. The exact structure depends on the API response but generally includes confirmation of assigned badges.

This node does not output binary data.

Dependencies

  • Requires a valid API key credential for authenticating with the LearningSuite API.
  • The node depends on the LearningSuite API being accessible at the configured base URL.
  • Proper permissions for badge management must be granted to the API key used.

Troubleshooting

  • Common Issues:

    • Invalid or missing member ID: Ensure the member exists and the ID or name is correctly specified.
    • Badge IDs not found or invalid: Verify that the badge IDs correspond to existing badges, optionally filtered by the Badge Group ID.
    • Insufficient permissions: The API key must have rights to assign badges.
    • Network or authentication errors: Check API credentials and network connectivity.
  • Error Messages:

    • "No handler for resource "community" and operation "assignBadgesToUser": Indicates a misconfiguration or unsupported operation; verify the resource and operation names.
    • API error messages returned from the LearningSuite service will be passed through; consult the API documentation for details.
    • NodeOperationError with message about missing parameters: Ensure all required fields (Member and Badge IDs) are provided.

Links and References

Discussion