Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Company → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Company resource and the Delete Undefined operation, it deletes a company entity identified by its ID. This is useful in scenarios where you need to programmatically remove company records from your PSA system, such as cleaning up test data or removing obsolete entries.

Practical examples include:

  • Automating cleanup of companies that no longer exist or are duplicates.
  • Integrating with other systems to synchronize company deletions.
  • Managing company lifecycle within automated workflows.

Properties

Name Meaning
Id The unique numeric identifier of the company to delete. This is required to specify which company record should be removed.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified company. Typically, this will contain confirmation of deletion or details about the deleted entity. If an error occurs, the output JSON will include 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, tenant identifier, client ID, and client secret.
  • The node uses HTTP requests to communicate with the Halo PSA REST API.
  • Proper configuration of these credentials in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error "No credentials returned!".
    • Providing an invalid or non-existent company ID may result in an API error indicating the resource was not found.
    • Network connectivity problems can cause request failures.
  • Error messages and resolutions:

    • "No credentials returned!": Ensure that the Halo PSA API credentials are correctly set up in n8n.
    • "Resource Company not found" or "Operation Delete Undefined not found for resource Company": Indicates misconfiguration or unsupported operation; verify the resource and operation names.
    • API errors returned in the JSON output under error field: Check the message for details, such as permission issues or invalid IDs.
    • To continue processing other items despite errors, enable the "Continue On Fail" option in the node settings.

Links and References

Discussion