Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Workdays → List Of Workdays

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 List Of Workdays operation, it retrieves a list of workdays from the Halo PSA system. This can be useful for automating workflows that depend on business calendars, such as scheduling tasks, calculating deadlines excluding holidays or non-working days, or syncing workday data with other systems.

Practical examples include:

  • Fetching official workdays to adjust project timelines.
  • Integrating workday information into HR or payroll systems.
  • Automating notifications or reports based on working days.

Properties

Name Meaning
Access Control Level Filters the list of workdays by access control level (exact meaning depends on API).
Isconfig A filter parameter likely indicating whether to include configuration-related entries.
Showholidays Boolean or flag to indicate whether holidays should be included in the returned list.

These properties are sent as query parameters to the API when listing workdays.

Output

The node outputs an array of JSON objects representing the workdays retrieved from the Halo PSA API. Each item corresponds to one workday entry as returned by the API.

The exact structure of each workday object depends on the API response but typically includes date information and possibly metadata about the workday status.

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 credentials containing base URL, tenant identifier, client ID, and client secret.
  • Network access to the Halo PSA API endpoint is necessary.
  • No additional environment variables are required beyond the configured credentials.

Troubleshooting

  • No credentials returned!
    This error occurs if the node cannot find or access the required API authentication credentials. Ensure that valid credentials are configured in n8n before running the node.

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

  • API request failures
    Errors during the HTTP request to the Halo PSA API may occur due to network issues, invalid credentials, or incorrect parameters. Check the error message for details. Enabling "Continue On Fail" allows the workflow to proceed despite errors.

  • Invalid query parameters
    Passing unsupported or malformed values for access_control_level, isconfig, or showholidays may cause the API to reject the request. Validate input values according to the API documentation.

Links and References

Discussion