Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Screen Layout → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Screen Layout resource and the Delete Undefined operation, it deletes a screen layout identified by its unique ID. This is useful in scenarios where obsolete or undefined screen layouts need to be cleaned up from the system to maintain organization and prevent clutter.

Practical examples include:

  • Automating cleanup of unused or deprecated screen layouts in a service management platform.
  • Integrating with workflows that manage UI configurations dynamically based on business rules.

Properties

Name Meaning
Id The unique numeric identifier of the screen layout 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 screen layout. The output 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 REST API.
  • 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 or non-existent screen layout ID will likely result in an API error response.
    • Network connectivity issues can cause request failures.
  • Error Messages:

    • "No credentials returned!": Ensure that the API credentials are correctly set up in n8n.
    • "Resource Screen Layout not found" or "Operation Delete Undefined not found for resource Screen Layout": Indicates misconfiguration of resource or operation parameters.
    • API errors returned from Halo PSA (e.g., 404 Not Found if the ID does not exist) will be included in the output JSON under the error key if "Continue On Fail" is enabled.

To resolve errors, verify credentials, confirm the existence of the screen layout ID, and check network connectivity.

Links and References

Discussion