Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Request Type Group → Post Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform operations related to "Request Type Group" resources. Specifically, it supports a POST operation that allows creating or posting data for a Request Type Group by sending a structured JSON body.

Typical use cases include automating the creation or updating of request type groups in Halo PSA from workflows, such as syncing configuration data, bulk importing request types, or dynamically managing request groups based on external triggers.

For example, you might use this node to programmatically create new request type groups with detailed field configurations and access controls, which can be useful in IT service management automation scenarios.

Properties

Name Meaning
Body A JSON object representing the detailed structure of the Request Type Group to post. This includes nested fields such as fields, fieldinfo (with sub-properties like customfields, validation_data, access_control), group details (including fields, translations, tickettypes, outcomes), and various restrictions and visibility conditions. The JSON structure is complex and allows specifying comprehensive configuration for the request type group.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The response from the Halo PSA API after posting the Request Type Group data. This typically includes confirmation of the created resource or error information.
  • If an error occurs and "Continue On Fail" is enabled, the output will contain an error field with the error message.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Halo PSA API.
  • The node expects credentials providing:
    • Base URL of the Halo PSA instance
    • Tenant identifier
    • Client ID
    • Client Secret
  • These credentials must be configured in n8n prior to using the node.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Malformed JSON in the "Body" property can lead to parsing errors or API rejections.
    • Incorrect or incomplete field definitions in the JSON body may result in API validation errors.
  • Error messages:

    • "No credentials returned!" — Indicates missing or misconfigured API credentials.
    • API error responses are passed through; typical HTTP errors (e.g., 400 Bad Request) suggest issues with the posted JSON structure.
  • Resolutions:

    • Ensure all required credentials are correctly set up in n8n.
    • Validate the JSON body against the expected schema before running the node.
    • Use the "Continue On Fail" option to handle errors gracefully during batch processing.

Links and References


Note: The provided JSON example in the "Body" property is a template illustrating the complex nested structure accepted by the API. Users should customize it according to their specific request type group configuration needs.

Discussion