Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Workflow Target → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Workflow Target resource and the Delete Undefined operation, it deletes a workflow target identified by its ID. This is useful in scenarios where you need to programmatically remove obsolete or unwanted workflow targets from your Halo PSA system.

Practical examples include:

  • Automating cleanup of workflow targets that are no longer needed.
  • Integrating with other systems to delete workflow targets based on external triggers or conditions.
  • Managing workflow targets as part of a larger automated service management process.

Properties

Name Meaning
Id The numeric identifier of the workflow target 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 workflow target. The 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 these credentials to authenticate API requests.
  • No additional external dependencies beyond the Halo PSA API and n8n's HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an invalid or non-existent workflow target ID will result in an error from the API.
    • Network connectivity issues can prevent successful API calls.
  • Error messages:

    • "No credentials returned!": Indicates that the node could not retrieve the necessary API credentials. Ensure credentials are properly configured.
    • "Resource Workflow Target not found" or "Operation Delete Undefined not found for resource Workflow Target": Suggests misconfiguration of resource or operation parameters.
    • API errors returned in the JSON output under the error field provide details on why the deletion failed (e.g., "ID not found", "Unauthorized").

To resolve errors:

  • Verify that the API credentials are correctly set up and have sufficient permissions.
  • Confirm that the workflow target ID exists in the Halo PSA system.
  • Check network connectivity and API endpoint accessibility.

Links and References

Discussion