Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Service Category → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Service Category resource with the Delete Undefined operation, it deletes a service category identified by its unique ID.

Common scenarios where this node is useful include automating the management of service categories in Halo PSA, such as cleaning up obsolete or undefined categories programmatically without manual intervention.

For example, you might use this node in a workflow that periodically removes service categories that are no longer needed based on certain criteria, helping maintain an organized service catalog.

Properties

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

Output

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

If the operation fails and "Continue On Fail" is enabled, 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 of the Halo PSA instance
    • Tenant identifier
    • Client ID
    • Client Secret
  • These credentials must be configured in n8n prior to using the node.

  • The node makes HTTP requests to the Halo PSA REST API endpoints.

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 Service Category ID will likely result in an API error response.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • "No credentials returned!": Ensure that the Halo PSA API credentials are correctly set up in n8n.
    • "Resource Service Category not found" or "Operation Delete Undefined not found for resource Service Category": Indicates misconfiguration of resource or operation parameters.
    • API errors returned from Halo PSA (e.g., 404 Not Found if the ID does not exist) will be included in the output JSON under an error field if "Continue On Fail" is enabled.
  • Resolution Tips:

    • Verify all credential fields are correct and have necessary permissions.
    • Confirm the Service Category ID exists before attempting deletion.
    • Enable "Continue On Fail" during testing to capture error details without stopping the workflow.

Links and References

Discussion