Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Pager Duty Mapping → List Of Pager Duty Mapping

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the "Pager Duty Mapping" resource and its "List Of Pager Duty Mapping" operation, the node retrieves a list of pager duty mappings associated with a specified service ID. This is useful in scenarios where you want to automate or synchronize incident management data between Halo PSA and PagerDuty services.

Practical examples include:

  • Fetching all pager duty mappings for a given service to audit or report on integrations.
  • Automating workflows that require up-to-date mapping information for alert routing or escalation policies.

Properties

Name Meaning
Service Id The identifier of the service for which to list pager duty mappings. This value is sent as a query parameter named service_id.

Output

The node outputs an array of JSON objects representing the pager duty mappings retrieved from the Halo PSA API. Each item corresponds to one mapping entry returned by the API.

  • The output is structured under the json property of each item.
  • No binary data output is involved in this operation.

Example output structure (simplified):

[
  {
    "json": {
      "id": "mapping_id_1",
      "serviceId": "service_id_value",
      "pagerDutyIntegrationId": "integration_id",
      "details": { /* additional mapping details */ }
    }
  },
  {
    "json": {
      "id": "mapping_id_2",
      "serviceId": "service_id_value",
      "pagerDutyIntegrationId": "integration_id",
      "details": { /* additional mapping details */ }
    }
  }
]

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 custom headers.
  • No other external dependencies are required.

Troubleshooting

  • No credentials returned!
    This error occurs if the node cannot retrieve the necessary API credentials. Ensure that the API key credential is properly configured in n8n.

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

  • API request errors
    Errors from the Halo PSA API (e.g., authentication failure, invalid service ID) will be returned in the node's output if "Continue On Fail" is enabled; otherwise, they will cause the node to fail. Check the error message for details and verify the service ID and credentials.

  • Invalid JSON in parameters
    If additional JSON parameters are used (not applicable here but possible in other operations), ensure they are correctly formatted.

Links and References


Note: The above summary is based solely on static analysis of the provided source code and input properties.

Discussion