Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Workdays → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Workdays resource and the Delete Undefined operation, it deletes a workday entry identified by its unique ID. This is useful in scenarios where you need to programmatically remove undefined or unwanted workday records from your PSA system.

Practical examples include:

  • Automating cleanup of invalid or placeholder workday entries.
  • Integrating with HR or scheduling systems to synchronize and remove obsolete workday data.
  • Managing time tracking data by deleting incorrect or test entries.

Properties

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

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the Halo PSA API after attempting to delete the specified workday. If successful, this typically includes confirmation details of the deletion. In case of failure, the output JSON will contain an error field with the error message.

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

These must be set up in n8n’s credentials manager before using the node.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an invalid or non-existent workday ID will result in an error from the API.
    • 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 Workdays not found" or "Operation Delete Undefined not found for resource Workdays": Suggests a misconfiguration or typo in resource or operation names.
    • API errors returned in the output JSON under the error field provide details on why a deletion failed (e.g., "Workday ID not found").
  • Resolution tips:

    • Verify all credential fields are correctly filled.
    • Confirm the workday ID exists before attempting deletion.
    • Enable "Continue On Fail" if you want the workflow to proceed despite individual item errors.

Links and References

Discussion