Zendesk

Update Zendesk Ticket Priority

Raises or lowers a ticket's priority.

Unverified

What the model is told

Change the priority of a Zendesk ticket, for example when the customer says it has become urgent. Allowed values are low, normal, high and urgent. Only use a ticket ID the customer has given you, and confirm the change first.

Request

PUThttps://YOUR_SUBDOMAIN.zendesk.com/api/v2/tickets/{{ticketId}}.json

Headers

  • Content-Typeapplication/json
  • AuthorizationBasic YOUR_BASE64_EMAIL_SLASH_TOKEN_AND_API_TOKEN

Body

{
  "ticket": {
    "priority": "{{priority}}"
  }
}

Parameters

  • ticketId numberThe numeric ticket ID.
  • priority stringThe new priority: low, normal, high or urgent.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "6f5fe369-95ef-4cce-83ba-1da6d5914220",
    "type": "HTTP_REQUEST",
    "label": "Update Zendesk Ticket Priority",
    "name": "update_zendesk_ticket_priority",
    "customName": false,
    "description": "Change the priority of a Zendesk ticket, for example when the customer says it has become urgent. Allowed values are low, normal, high and urgent. Only use a ticket ID the customer has given you, and confirm the change first.",
    "parameters": [
      {
        "name": "ticketId",
        "type": "number",
        "description": "The numeric ticket ID."
      },
      {
        "name": "priority",
        "type": "string",
        "description": "The new priority: low, normal, high or urgent."
      }
    ],
    "config": {
      "endpoint": {
        "method": "PUT",
        "url": "https://YOUR_SUBDOMAIN.zendesk.com/api/v2/tickets/{{ticketId}}.json"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Basic YOUR_BASE64_EMAIL_SLASH_TOKEN_AND_API_TOKEN"
        }
      ],
      "body": "{\n  \"ticket\": {\n    \"priority\": \"{{priority}}\"\n  }\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.