Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Addressbook → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform operations on various resources, including the Addressbook. Specifically, for the Addressbook - Delete Undefined operation, it deletes an address book entry identified by its unique ID.

Common scenarios where this node is useful include automating contact management tasks such as removing obsolete or invalid entries from an address book within the Halo PSA system. For example, a user might use this node in a workflow to clean up contacts that are no longer needed based on certain criteria or external triggers.

Properties

Name Meaning
Id The unique numeric identifier of the address book entry 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 address book entry. The structure typically contains confirmation of deletion or error details if the operation failed.

No binary data output is produced by this operation.

Example output JSON might look like:

{
  "success": true,
  "message": "Address book entry deleted successfully."
}

or in case of failure:

{
  "error": "Entry not found or already deleted."
}

Dependencies

  • Requires valid credentials to authenticate with the Halo PSA API, including:

    • Base URL of the Halo PSA instance.
    • Tenant identifier.
    • Client ID and Client Secret for API authentication.
  • The node uses HTTP requests to communicate with the Halo PSA REST API.

  • Proper configuration of these credentials in n8n is necessary before using the node.

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 Id may result in an error from the API stating the entry was not found.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • "No credentials returned!": Ensure that the API credentials are correctly set up in n8n.
    • "Resource Addressbook not found" or "Operation Delete Undefined not found for resource Addressbook": Indicates misconfiguration of resource or operation parameters.
    • API errors returned in the JSON output under the error key should be reviewed and addressed according to the message (e.g., invalid ID).
  • To handle errors gracefully, enable the "Continue On Fail" option in the node settings to allow workflows to proceed even if some deletions fail.

Links and References


If you need further details about other operations or resources, feel free to ask!

Discussion