Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Custom Button → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Custom Button resource and the Delete Undefined operation, it deletes a custom button identified by its ID. This is useful in scenarios where you want to programmatically remove obsolete or unwanted custom buttons from your Halo PSA system.

Practical examples include:

  • Automating cleanup of custom buttons that are no longer needed.
  • Integrating with other workflows to maintain UI consistency by removing deprecated buttons.
  • Managing customizations dynamically based on external triggers or conditions.

Properties

Name Meaning
Id The numeric identifier of the custom button to delete. This property is required.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the Halo PSA API after attempting to delete the specified custom button. If the deletion is successful, the response typically confirms the deletion; if there is an error, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses these credentials to authenticate API requests via HTTP headers.
  • No additional external dependencies beyond the Halo PSA API and n8n's HTTP request helper.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error "No credentials returned!".
    • Providing an invalid or non-existent custom button ID may result in an API error indicating the resource was not found.
    • Network connectivity issues can cause request failures.
  • Error messages and resolutions:

    • "No credentials returned!": Ensure that the API key credential is properly configured and connected in n8n.
    • "Resource Custom Button not found" or "Operation Delete Undefined not found for resource Custom Button": Verify that the resource and operation names are correctly set.
    • API errors returned in the output JSON under the error field: Check the validity of the ID and API permissions.
    • To continue processing other items even if one fails, enable the "Continue On Fail" option in the node settings.

Links and References

Discussion