HaloPSA

Update HaloPSA Ticket Priority

Changes the priority of an existing HaloPSA ticket.

Unverified

Add this first. This tool needs an access token, so add Get HaloPSA Access Token to the same bot. The bot calls it first and passes the token in.

What the model is told

Get a HaloPSA access token first if you do not already have one. Change the priority of an existing ticket, for example when the customer says it has become urgent. Confirm the ticket ID and new priority with the customer first. The priority is a numeric ID defined in your Halo.

Request

POSThttps://YOUR_INSTANCE.halopsa.com/api/Tickets

Headers

  • Content-Typeapplication/json
  • AuthorizationBearer {{accessToken}}

Body

[
  {
    "id": "{{ticketId}}",
    "priority_id": "{{priorityId}}"
  }
]

Parameters

  • ticketId stringThe HaloPSA ticket ID.
  • priorityId stringThe numeric ID of the new priority in your Halo.
  • accessToken stringThe access_token value returned by Get HaloPSA Access Token. Reuse it for the rest of the conversation.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "c9c69a46-77f6-4f45-b161-97744a3af3ce",
    "type": "HTTP_REQUEST",
    "label": "Update HaloPSA Ticket Priority",
    "name": "update_halopsa_ticket_priority",
    "customName": false,
    "description": "Get a HaloPSA access token first if you do not already have one. Change the priority of an existing ticket, for example when the customer says it has become urgent. Confirm the ticket ID and new priority with the customer first. The priority is a numeric ID defined in your Halo.",
    "parameters": [
      {
        "name": "ticketId",
        "type": "string",
        "description": "The HaloPSA ticket ID."
      },
      {
        "name": "priorityId",
        "type": "string",
        "description": "The numeric ID of the new priority in your Halo."
      },
      {
        "name": "accessToken",
        "type": "string",
        "description": "The access_token value returned by Get HaloPSA Access Token. Reuse it for the rest of the conversation."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://YOUR_INSTANCE.halopsa.com/api/Tickets"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {{accessToken}}"
        }
      ],
      "body": "[\n  {\n    \"id\": \"{{ticketId}}\",\n    \"priority_id\": \"{{priorityId}}\"\n  }\n]",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.