LearningSuite icon

LearningSuite

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

Overview

This node integrates with the LearningSuite API to manage webhook subscriptions. Specifically, the Delete Webhook Subscription operation allows users to remove an existing webhook subscription by specifying its ID or name. This is useful for cleaning up unused or obsolete webhook subscriptions to prevent unnecessary callbacks or notifications.

Typical use cases include:

  • Automating the removal of webhook subscriptions when they are no longer needed.
  • Managing webhook lifecycle within workflows that dynamically create and delete subscriptions.
  • Ensuring that only active and relevant webhooks remain registered in LearningSuite.

Properties

Name Meaning
Subscription Name or ID The identifier of the webhook subscription to delete. You can select from a list of existing subscriptions or specify an ID using an expression.

Output

The node outputs a JSON array containing the result of the deletion operation. Typically, this will be an object confirming the successful deletion or providing details about the deleted subscription. If an error occurs (e.g., invalid subscription ID), the output may contain an error message if "Continue On Fail" is enabled.

No binary data is produced by this operation.

Dependencies

  • Requires a valid API key credential for authenticating with the LearningSuite API.
  • The node depends on the LearningSuite API endpoint configured via credentials, including the base URL.
  • The node uses internal handlers mapped to the webhook resource and deleteSubscription operation to perform the API call.

Troubleshooting

  • Common Issues:

    • Providing an invalid or non-existent subscription ID will cause the operation to fail.
    • Network connectivity issues or incorrect API base URL configuration can prevent successful API calls.
    • Insufficient permissions associated with the API key may block deletion requests.
  • Error Messages:

    • "No handler for resource "webhook" and operation "deleteSubscription": Indicates a misconfiguration or missing implementation; ensure the correct resource and operation are selected.
    • API errors returned from LearningSuite (e.g., 404 Not Found) typically mean the subscription ID does not exist.
  • Resolutions:

    • Verify the subscription ID is correct and exists by listing subscriptions first.
    • Check API credentials and base URL settings.
    • Enable "Continue On Fail" to handle errors gracefully within workflows.

Links and References

Discussion