Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Company → Get One Company

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Company resource and the Get One Company operation, it retrieves detailed information about a single company by its unique identifier.

Typical use cases include:

  • Fetching company details to enrich customer data in workflows.
  • Integrating company information into CRM or support systems.
  • Automating reporting or auditing processes that require company metadata.

For example, you might use this node to get all relevant details of a company before creating a support ticket or sending a personalized email.

Properties

Name Meaning
Id The unique numeric identifier of the company to retrieve.
Includedetails Optional flag/query parameter to specify whether to include additional detailed info.

Output

The node outputs a JSON object representing the company data returned from the Halo PSA API. This includes all fields provided by the API for the requested company, such as name, address, contact details, and any extended information if Includedetails is set.

If an error occurs during the request, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant ID, client ID, and client secret.
  • The node uses these credentials to authenticate API requests via custom HTTP headers.
  • No additional external dependencies beyond the Halo PSA API are required.

Troubleshooting

  • No credentials returned!
    Ensure that the API credentials are properly configured and connected in n8n before running the node.

  • Resource or Operation not found errors
    These indicate misconfiguration of the resource or operation parameters. Verify that "Company" is selected as the resource and "Get One Company" as the operation.

  • API request failures
    Could be due to invalid company ID, network issues, or incorrect credentials. Check the error message in the output JSON for details.

  • JSON parsing errors
    If using advanced parameters like JSON query or body inputs, ensure they are correctly formatted.

Using the node's "Continue On Fail" option can help handle errors gracefully within workflows.

Links and References

Discussion