Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Request Type → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the "Request Type" resource and the "Delete Undefined" operation, it deletes a request type identified by its ID. This is useful in scenarios where you need to programmatically remove obsolete or incorrect request types from your PSA system to keep data clean and relevant.

Practical examples include:

  • Automating cleanup of request types that are no longer used.
  • Integrating with other systems to synchronize request types by deleting those removed elsewhere.
  • Managing request types as part of a larger workflow for service management automation.

Properties

Name Meaning
Id The unique numeric identifier of the request type to delete. This property is required.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output object contains the response from the Halo PSA API after attempting to delete the specified request type. If the deletion is successful, the JSON will reflect the API's confirmation or status message. In case of failure, the 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.
  • No additional external dependencies beyond the Halo PSA API and n8n's HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error indicating no credentials were returned.
    • Providing an invalid or non-existent request type ID will result in an API error, which will be surfaced in the node output.
    • Network connectivity problems can cause request failures.
  • Error messages:

    • "No credentials returned!": Ensure that the API credentials are correctly configured in n8n.
    • "Resource Request Type not found" or "Operation Delete Undefined not found for resource Request Type": Indicates misconfiguration of resource or operation parameters.
    • API errors returned from Halo PSA (e.g., "Not Found", "Unauthorized") will appear in the output JSON under the error key. Check the ID value and credentials accordingly.
  • To handle errors gracefully, enable the "Continue On Fail" option in the node settings to process all items even if some fail.

Links and References

Discussion