Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

VM Workspace Details → Post Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the "VM Workspace Details" resource and the "Post Undefined" operation, it sends a POST request with a JSON body payload to create or update VM workspace details in the Halo PSA system.

Typical use cases include automating the management of virtual machine workspace configurations by sending structured data mappings and criteria to Halo PSA. For example, you might use this node to programmatically define field mappings, site mappings, import types, and other configuration details related to VM workspaces as part of an IT service management workflow.

Properties

Name Meaning
Body A JSON object representing the detailed configuration for VM workspace details. It includes arrays such as vmworkspace_fieldmappings, sitemappings (with nested criteria), halo_integrator_import_types, and mappings_xtype (which itself contains field_mappings, tag_list_pairs, and criteria). This JSON defines how VM workspace data should be mapped and integrated within Halo PSA.

The property expects a JSON structure similar to:

{
  "vmworkspace_fieldmappings": [{}],
  "sitemappings": [
    {
      "criteria": [{}]
    }
  ],
  "halo_integrator_import_types": [{}],
  "mappings_xtype": [
    {
      "field_mappings": [{}],
      "tag_list_pairs": [{}],
      "criteria": [{}]
    }
  ]
}

Output

The node outputs the JSON response returned by the Halo PSA API after performing the POST request. The output is structured as:

  • json: Contains the parsed JSON response from the API, which typically reflects the result of the creation or update operation on VM workspace details.
  • If the API returns binary data (not expected in this operation), it would be included accordingly, but this operation primarily deals with JSON data.

Each output item corresponds to one input item processed, paired by index.

Dependencies

  • Requires valid credentials for the Halo PSA API, including:

    • Base URL of the Halo PSA instance.
    • Tenant identifier.
    • Client ID.
    • 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 retrieve the required API credentials. Ensure that the API key credential is properly configured in n8n.

  • Resource or Operation not found
    Indicates that the specified resource or operation does not exist in the node's configuration. Verify that "VM Workspace Details" and "Post Undefined" are correctly selected.

  • API request errors
    Errors returned from the Halo PSA API (e.g., authentication failures, validation errors) will be surfaced in the node output. Check the API response message for details.

  • JSON parsing errors
    Since the body property expects valid JSON, malformed JSON input will cause errors. Use the built-in JSON editor or validate your JSON before running the node.

  • Continue On Fail behavior
    If enabled, the node will continue processing subsequent items even if some fail, returning error messages in the output JSON.

Links and References

Discussion