Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Mailbox → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Mailbox resource with the Delete Undefined operation, it deletes a mailbox item identified by its ID. This is useful in scenarios where you need to programmatically remove mailbox entries from your Halo PSA system, such as cleaning up old or irrelevant mailboxes.

Practical examples include:

  • Automating mailbox cleanup based on certain criteria.
  • Integrating mailbox deletion into larger workflows that manage support tickets or communications.
  • Removing test or temporary mailboxes created during development or testing phases.

Properties

Name Meaning
Id The unique identifier (number) of the mailbox item 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 mailbox item. The structure typically contains 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, tenant identifier, client ID, and client secret.
  • The node uses HTTP requests to communicate with the Halo PSA API endpoints.
  • Proper configuration of these credentials within n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error indicating no credentials were returned.
    • Providing an invalid mailbox ID may result in an API error indicating the resource was not found.
    • Network connectivity issues can cause request failures.
  • Error messages:

    • "No credentials returned!": Ensure that the API credentials are correctly set up in n8n.
    • "Resource Mailbox not found" or "Operation Delete Undefined not found for resource Mailbox": Indicates misconfiguration of resource or operation parameters.
    • API errors returned from Halo PSA will be included in the output JSON under the error key if "Continue On Fail" is enabled.

To resolve errors:

  • Verify the mailbox ID exists and is correct.
  • Check API credentials and permissions.
  • Confirm network access to the Halo PSA API endpoint.

Links and References

Discussion