Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Serv Status → Delete Undefined

AI-generated

Overview

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

Common scenarios where this node is beneficial include automating the cleanup or management of service statuses in Halo PSA, such as removing obsolete or undefined service statuses programmatically without manual intervention.

For example, you might use this node in a workflow that periodically checks for service statuses marked as undefined and deletes them automatically to keep your system tidy.

Properties

Name Meaning
Id The unique identifier of the service status entry to delete. 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 service status. The structure typically includes confirmation of deletion or error details if the operation failed.

If an error occurs and the node is configured to continue on failure, 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 before using the node.

  • The node uses HTTP requests to communicate with the Halo PSA API endpoints.

Troubleshooting

  • Common Issues:

    • Missing or invalid credentials will cause the node to throw an error "No credentials returned!".
    • Providing an incorrect or non-existent service status ID will likely result in an API error.
    • Network connectivity issues can cause request failures.
  • Error Messages:

    • "Resource Serv Status not found": Indicates the resource name is incorrect or not supported.
    • "Operation Delete Undefined not found for resource Serv Status": Indicates the operation name is incorrect or not supported for the given resource.
    • API errors returned from Halo PSA (e.g., 404 Not Found if the ID does not exist).
  • Resolutions:

    • Ensure credentials are correctly set up and valid.
    • Verify the service status ID exists before attempting deletion.
    • Check network connectivity and API endpoint accessibility.
    • Use the "Continue On Fail" option to handle errors gracefully within workflows.

Links and References

Discussion