Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Email Rule → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Email Rule resource and the Delete Undefined operation, it deletes an email rule identified by its ID. This is useful in scenarios where you want to programmatically remove obsolete or unwanted email rules from your Halo PSA system as part of workflow automation.

Practical examples include:

  • Automatically cleaning up email rules that are no longer needed based on certain triggers.
  • Managing email routing rules dynamically in response to changes in your support process.

Properties

Name Meaning
Id The unique identifier (number) of the email rule to delete. This property is required.

Output

The node outputs a JSON object representing the response from the Halo PSA API after attempting to delete the specified email rule. The structure depends on the API's response but typically includes confirmation of deletion or error details.

If the operation fails and "Continue On Fail" is enabled, the output will contain an error field with the error message.

No binary data output is involved in this operation.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses these credentials to authenticate API requests.
  • No additional external dependencies beyond the Halo PSA API and n8n's HTTP request helper.

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 email rule ID will result in an API error.
    • Network connectivity issues can cause request failures.
  • Error messages:

    • "No credentials returned!": Ensure that the API credentials are correctly configured in n8n.
    • "Resource Email Rule not found" or "Operation Delete Undefined not found for resource Email Rule": Indicates misconfiguration of resource or operation parameters.
    • API errors returned from Halo PSA will be included in the output if "Continue On Fail" is enabled; otherwise, they will stop execution.

Links and References

Discussion