Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Budget Type → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Budget Type resource and the Delete Undefined operation, it deletes a budget type identified by its ID. This is useful in scenarios where you need to programmatically remove obsolete or undefined budget types from your PSA system to keep data clean and up-to-date.

Practical examples include:

  • Automating cleanup of budget types that are no longer used.
  • Integrating with other workflows that manage financial data, ensuring only valid budget types remain.
  • Bulk deleting budget types based on certain criteria by looping over IDs.

Properties

Name Meaning
Id The unique identifier (number) of the Budget Type 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 Budget Type. If successful, this typically includes confirmation details from the API. 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 connection to the Halo PSA API.
  • Needs an API authentication credential containing:
    • Base URL of the Halo PSA instance.
    • Tenant identifier.
    • Client ID.
    • Client Secret.
  • The node uses these credentials to authenticate requests via HTTP headers.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error "No credentials returned!".
    • Providing an invalid or non-existent Budget Type ID may result in an API error indicating the resource was not found.
    • Network connectivity problems can cause request failures.
  • Error messages and resolutions:

    • "No credentials returned!": Ensure the API credentials are properly configured and connected in n8n.
    • "Resource Budget Type not found" or "Operation Delete Undefined not found for resource Budget Type": Verify that the Resource and Operation names are correctly set.
    • API errors returned in the output's error field: Check the validity of the ID and API permissions.
    • JSON parsing errors if input parameters are malformed: Confirm that the ID is a valid number.

Links and References

Discussion