Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Approval Process → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Approval Process resource and the Delete Undefined operation, it deletes an approval process identified by a given ID.

Common scenarios where this node is beneficial include automating the management of approval processes within IT service management workflows, such as removing obsolete or undefined approval processes programmatically to keep the system clean and up-to-date.

For example, you might use this node in a workflow that periodically checks for approval processes that are no longer valid and deletes them automatically based on their IDs.

Properties

Name Meaning
Id The numeric identifier of the approval process to delete. This is a required property.

Output

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

If the operation encounters an error 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 an API key credential for authenticating with the Halo PSA API.
  • The node expects configuration of the following credentials parameters:
    • Base URL of the Halo PSA API instance.
    • Tenant identifier.
    • Client ID.
    • Client Secret.

These must be set up in n8n's credentials manager before using the node.

Troubleshooting

  • No credentials returned!
    This error occurs if the node cannot retrieve the necessary API authentication credentials. Ensure that the API key credential is properly configured and selected in the node.

  • Resource or Operation not found
    If the specified resource or operation does not exist, verify that the resource name is exactly "Approval Process" and the operation is "Delete Undefined". Typos or unsupported combinations will cause this error.

  • API request errors
    Errors returned from the Halo PSA API (e.g., invalid ID, permission issues) will appear in the output JSON under an error field if "Continue On Fail" is enabled. Otherwise, they will stop execution. Check the error message for details and ensure the ID is correct and the API user has sufficient permissions.

Links and References

Discussion