Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Approval Process → List Of Approval Process

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the "Approval Process" resource and its "List Of Approval Process" operation, the node fetches a list of approval processes from the Halo PSA system. This is useful in scenarios where you want to automate workflows that depend on approval processes, such as monitoring pending approvals, generating reports, or triggering subsequent actions based on approval states.

For example, an IT service management workflow could use this node to retrieve all approval processes and then notify relevant stakeholders or update tickets accordingly.

Properties

Name Meaning
Access Control Level Optional query parameter to filter the list of approval processes by access control level.

The property "Access Control Level" is sent as a query parameter named access_control_level when listing approval processes. It allows filtering the results based on the specified access control level.

Output

The node outputs an array of JSON objects, each representing an approval process retrieved from the Halo PSA API. The exact structure depends on the API response but typically includes details such as approval process ID, name, status, and related metadata.

If the node encounters an error during execution, it outputs a JSON object containing an error field with the error message.

No binary data output is involved in 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 before using the node.

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

Troubleshooting

  • No credentials returned!
    This error indicates missing or misconfigured API credentials. Ensure that the required API authentication details are correctly set up in n8n.

  • Resource or Operation not found
    If the specified resource or operation does not exist, verify that the correct resource ("Approval Process") and operation ("List Of Approval Process") names are used.

  • API request errors
    Network issues, invalid parameters, or insufficient permissions can cause API request failures. Check the error message returned in the output JSON's error field for details.

  • JSON parsing errors
    If additional query parameters or request bodies are provided as JSON strings, ensure they are well-formed JSON.

Links and References

Discussion