Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Audit → Post Undefined

AI-generated

Overview

This node integrates with the Halo PSA API, allowing users to perform various operations on different resources within the Halo PSA system. Specifically for the Audit resource and the Post Undefined operation, it sends a custom JSON body payload to the corresponding API endpoint.

Typical use cases include sending audit-related data or logs to Halo PSA for tracking changes, compliance, or monitoring purposes. For example, a user might send an audit record whenever a ticket is updated or a configuration change occurs in their IT service management workflow.

Properties

Name Meaning
Body A JSON object representing the request body to be sent to the Audit API endpoint. This allows full customization of the audit data being posted.

Output

  • The node outputs the JSON response returned by the Halo PSA API after posting the audit data.
  • The output is structured as an array of items, each containing a json field with the API response for the corresponding input item.
  • No binary data output is produced by this node.

Example output structure:

[
  {
    "json": {
      // Response fields from Halo PSA API, e.g.:
      "id": "12345",
      "status": "success",
      "message": "Audit record created"
    }
  }
]

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

Troubleshooting

  • No credentials returned!
    This error indicates that the required API authentication credentials are missing or not configured properly in n8n. Ensure you have set up the Halo PSA API credentials correctly.

  • Resource or Operation not found
    If the specified resource or operation does not exist, verify that the resource name is "Audit" and the operation is exactly "Post Undefined" as expected.

  • JSON parsing errors
    Since the Body property expects a JSON string, invalid JSON syntax will cause parsing failures. Make sure the JSON provided in the Body field is well-formed.

  • API request failures
    Network issues, incorrect credentials, or invalid request bodies can cause the API call to fail. Check the error message returned in the node output for details.

Links and References

Discussion