Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Incoming Email → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Incoming Email resource with the Delete Undefined operation, it allows users to delete an incoming email by specifying its unique identifier.

Common scenarios where this node is beneficial include automating email management workflows within a service desk or IT support environment that uses Halo PSA. For example, automatically removing unwanted or processed incoming emails from the system to keep the mailbox clean and organized.

Practical example:

  • Automatically deleting an incoming email after processing its content or creating a ticket based on it, ensuring no duplicate handling occurs.

Properties

Name Meaning
Id The unique numeric identifier of the incoming email to be deleted. This property is required.

Output

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

If the operation succeeds, the output JSON will likely confirm the deletion status. If it fails, the output JSON will contain an error field with a descriptive message.

No binary data output is involved in 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 instance.
    • Tenant identifier.
    • Client ID.
    • Client Secret.

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

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an incorrect or non-existent email Id will result in an error from the API indicating the resource was not found.
    • Network connectivity problems can prevent the node from reaching the Halo PSA API.
  • Error messages:

    • "No credentials returned!": Indicates that the node could not retrieve the necessary API credentials. Ensure credentials are properly configured.
    • "Resource Incoming Email not found" or "Operation Delete Undefined not found for resource Incoming Email": Suggests a misconfiguration or typo in resource or operation names.
    • API error messages returned in the error field of the output JSON provide details on why the deletion failed (e.g., invalid Id).

To resolve errors, verify credentials, ensure the Id is correct, and check network connectivity.

Links and References

Discussion