Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Webhook → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Webhook resource and the Delete Undefined operation, it allows users to delete a webhook by specifying its unique identifier. This is useful in scenarios where you want to programmatically manage webhooks registered in Halo PSA, such as cleaning up obsolete or test webhooks.

Practical examples include:

  • Automatically removing webhooks that are no longer needed after a certain event.
  • Managing webhook lifecycle as part of an automated workflow to keep integrations tidy.

Properties

Name Meaning
Id The unique identifier of the webhook to be deleted. This is a required string input.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified webhook. The structure typically contains confirmation of deletion or error details if the operation failed.

No binary data output is produced by this operation.

Example output JSON might look like:

{
  "success": true,
  "message": "Webhook deleted successfully"
}

or in case of failure:

{
  "error": "Webhook not found"
}

Dependencies

  • Requires an API key credential for authenticating with the Halo PSA API.
  • The node expects configuration of the following credentials parameters:
    • Base URL of the Halo PSA instance.
    • Tenant identifier.
    • Client ID.
    • Client Secret.

These must be set up in n8n's credentials manager before using the node.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an incorrect or non-existent webhook Id will result in an error indicating the webhook was not found.
    • Network connectivity problems can prevent the node from reaching the Halo PSA API.
  • Error messages:

    • "No credentials returned!" — Ensure that the API credentials are properly configured and selected in the node.
    • "Resource Webhook not found" or "Operation Delete Undefined not found for resource Webhook" — Indicates misconfiguration of resource or operation; verify these selections.
    • API errors returned from Halo PSA (e.g., 404 Not Found) will be passed through in the output JSON under an error field.

To resolve errors:

  • Double-check the webhook Id value.
  • Verify API credentials and permissions.
  • Confirm network access to the Halo PSA API endpoint.

Links and References

Discussion