Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Automation → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Automation resource with the Delete Undefined operation, it deletes an automation entity identified by a given ID. This is useful in scenarios where you want to programmatically remove obsolete or unwanted automations from your Halo PSA system.

Practical examples include:

  • Cleaning up automations that are no longer needed.
  • Automating maintenance tasks by removing automations based on certain criteria.
  • Integrating with other workflows to manage automations dynamically.

Properties

Name Meaning
Id The numeric identifier of the automation to delete. This property is required and specifies which automation will be removed.

Output

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

If the deletion is successful, the output JSON might include status information or an empty object depending on the API's response.

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 as an API key credential or similar authentication method.

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

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error indicating "No credentials returned!".
    • Providing an invalid or non-existent automation ID may result in an API error response.
    • 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 Automation not found" or "Operation Delete Undefined not found for resource Automation": Indicates misconfiguration of resource or operation parameters; verify these values.
    • API errors related to authorization or permissions: Check that the API credentials have sufficient rights to delete automations.
    • JSON parsing errors: If using additional JSON parameters elsewhere, ensure they are well-formed.
  • Enabling "Continue On Fail" allows the workflow to proceed even if some deletions fail, capturing error messages in the output.

Links and References


Note: The above links are placeholders; please replace them with actual URLs relevant to Halo PSA and n8n.

Discussion