Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Service Availability → Delete Undefined

AI-generated

Overview

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

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

For example, you might use this node in a workflow that periodically checks for service availability entries marked as undefined and deletes them automatically based on their IDs.

Properties

Name Meaning
Id The numeric identifier of the service availability entry to delete. This property is required.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The response from the Halo PSA API after attempting to delete the specified service availability entry. This typically includes confirmation of deletion or error details.
  • If an error occurs and "Continue On Fail" is enabled, the output will contain an error field with the error message instead of the usual response.

The node does not output binary data.

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

  • No credentials returned!
    This error indicates that the node could not retrieve the necessary API credentials. Ensure that the Halo PSA API credentials are properly set up in n8n.

  • Resource or Operation not found
    If the specified resource or operation is invalid or misspelled, the node will throw an error. Verify that "Service Availability" is selected as the resource and "Delete Undefined" as the operation.

  • API request errors
    Errors returned from the Halo PSA API (e.g., invalid ID, permission issues) will appear in the output under the error field if "Continue On Fail" is enabled. Otherwise, they will cause the node to fail. Check the API response message for details and ensure the ID exists and the credentials have sufficient permissions.

  • Invalid ID format
    The Id property must be a number. Providing a non-numeric value may cause the request to fail.

Links and References

Discussion