LearningSuite icon

LearningSuite

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

Overview

This node allows users to create webhook subscriptions in the LearningSuite platform. Specifically, it enables setting up a webhook that listens for specific event types and sends event data to a user-defined URL endpoint. This is useful for automating workflows triggered by events such as new logins, completed exams, community post activities, and more.

Common scenarios include:

  • Automatically processing user activity data when a new login occurs.
  • Triggering notifications or updates when an exam is graded.
  • Integrating with external systems by receiving real-time event data from LearningSuite.

For example, you could use this node to subscribe to the "New Login" event type and have all login events sent to your custom analytics system via a webhook URL.

Properties

Name Meaning
Hook URL The URL endpoint where webhook event data will be sent. Example: https://your-endpoint.com/webhook
Event Type The type of event to subscribe to. Options include:
- Community Post Created
- Community Post Moderated
- Custom Popup Interaction
- Exam Completed
- Exam Graded
- Feedback Created
- Group User Access Changed
- Lesson Completed
- New Login
- Progress Changed

Output

The node outputs a JSON array containing the response from the LearningSuite API after attempting to create the webhook subscription. Each item in the output corresponds to the result of creating a subscription for the input item processed.

The exact structure of the JSON depends on the API response but typically includes details about the created webhook subscription such as its ID, status, and subscribed event type.

This node does not output binary data.

Dependencies

  • Requires a valid API authentication token configured in n8n credentials to access the LearningSuite API.
  • The base URL for the API must be set in the credentials configuration.
  • Internet connectivity to reach the LearningSuite API endpoints.

Troubleshooting

  • No handler for resource and operation: If you see an error indicating no handler exists for the specified resource-operation pair, verify that you selected "Webhook" as the resource and "Create Webhook Subscription" as the operation.
  • Invalid Hook URL: Ensure the Hook URL is a valid, publicly accessible HTTPS endpoint capable of receiving POST requests.
  • API Authentication Errors: Check that the API key or token credential is correctly configured and has sufficient permissions.
  • Event Type Not Supported: Confirm that the event type selected is one of the supported options listed in the properties.
  • Network Issues: Verify network connectivity and firewall settings allow outbound calls to the LearningSuite API.

Links and References

Discussion