Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Sales Mailbox → Delete Undefined

AI-generated

Overview

This node interacts with the Halo PSA API to perform various operations on different resources. Specifically, for the Sales Mailbox resource and the Delete Undefined operation, it sends a request to delete an item identified by its ID. This is useful in scenarios where you need to programmatically remove entries from the Sales Mailbox within Halo PSA, such as cleaning up obsolete or incorrect records.

Practical examples include:

  • Automating cleanup of sales mailbox entries that are no longer relevant.
  • Integrating with other workflows to maintain data hygiene by deleting specific mailbox items based on business logic.

Properties

Name Meaning
Id The unique identifier (number) of the Sales Mailbox entry to delete. This property is required.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting the deletion. The structure typically contains confirmation of the deletion or details about any error encountered.

If the deletion is successful, the output JSON will likely confirm the removal of the specified Sales Mailbox entry.

If an error occurs (e.g., invalid ID, permission issues), 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 of the Halo PSA instance.
    • Tenant identifier.
    • Client ID.
    • Client Secret.
  • These credentials must be configured in n8n prior to using the node.

  • The node uses HTTP requests to communicate with the Halo PSA API endpoints.

Troubleshooting

  • Common Issues:

    • Missing or invalid credentials will cause the node to throw an error "No credentials returned!".
    • Providing an invalid or non-existent Sales Mailbox ID may result in an API error indicating the item 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.
    • Errors returned from the API will appear in the output JSON under the error key. Review the message for details.
    • If the node is set to continue on failure, errors will be included in the output without stopping the workflow.
  • Resolution Tips:

    • Verify the correctness of the Sales Mailbox ID before running the node.
    • Confirm that the API credentials have sufficient permissions to delete Sales Mailbox entries.
    • Check network connectivity and API endpoint accessibility.

Links and References

Discussion