Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Sla Head → List Of Sla Head

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Sla Head resource and the List Of Sla Head operation, it retrieves a list of SLA (Service Level Agreement) heads from the Halo PSA system. This is useful in scenarios where you want to fetch SLA configurations or details programmatically, such as automating reporting, syncing SLAs with other systems, or dynamically adjusting workflows based on SLA parameters.

Practical examples include:

  • Automatically retrieving all SLA heads to display or process them in another system.
  • Filtering SLA heads by access control level or configuration status.
  • Including additional details like priorities or workdays related to SLA heads.

Properties

Name Meaning
Access Control Level Filter the list by access control level.
Isconfig Filter by configuration status (e.g., whether the SLA head is configured).
Showpriorities Option to include priority details in the response.
Showworkdays Option to include workday details in the response.

All these properties are sent as query parameters to the API request when listing SLA heads.

Output

The node outputs an array of JSON objects representing SLA heads retrieved from the Halo PSA API. Each item corresponds to one SLA head and includes its details as returned by the API, potentially including fields filtered or expanded based on the input properties.

If binary data were involved (not in this operation), it would be included accordingly, but for this operation, output is purely JSON.

Example output structure (simplified):

[
  {
    "id": "string",
    "name": "string",
    "accessControlLevel": "string",
    "isConfig": true,
    "priorities": [...],        // present if showpriorities=true
    "workdays": [...]           // present if showworkdays=true
    // ... other SLA head fields
  }
]

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 via custom headers.
  • No additional external dependencies beyond the Halo PSA API and n8n's HTTP request capabilities.

Troubleshooting

  • No credentials returned!
    This error occurs if the node cannot find or access the required API credentials. Ensure that the API key credential is properly configured in n8n.

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

  • API request errors
    Errors from the Halo PSA API (e.g., authentication failure, invalid query parameters) will be returned in the node output if "Continue On Fail" is enabled; otherwise, they will stop execution. Check credentials and parameter values.

  • Invalid JSON in parameters
    If using JSON parameters (not typical for this operation), ensure they are well-formed.

Links and References


If you need further details about other resources or operations, feel free to ask!

Discussion