Skip to main content

Update Ticket

AutomatR.Zendesk.Activities.UpdateTicket

The "Update Ticket" activity in AutomatR is part of the Zendesk activities package, allowing users to modify ticket details within Zendesk. This activity simplifies the process of updating various attributes of a Zendesk ticket, such as subject, status, priority, and more.

Properties

NameDescription
Input
Ticket IDThe ID of the ticket. Enter an Int64 or an Int64 variable.
SubjectThe value of the subject field for this ticket. This field supports only strings or String variables.
PriorityThe urgency with which the ticket should be addressed. Choose one of four options: Urgent, High, Normal, or Low.
TypeThe type of the ticket. Choose one of four options: Problem, Incident, Question, or Task.
StatusThe state of the ticket. Choose from "open," "pending," "hold," "solved," or "closed."
Assignee NameThe agent currently assigned to the ticket. Enter a user name or a user name variable.
Group NameThe group to which this ticket is assigned. Enter a group name or a group name variable.
Organization NameThe organization of the requester. Specify the ID of an organization associated with the requester. Enter an Int64 variable.
BodyThe value of the body field for this ticket. This field supports only strings or String variables.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity.
Output
ResponseOutputs the updated ticket information in the form of an IndividualTicketResponse object. This object contains details about the modified ticket, including the ticket's ID, subject, status, and other attributes. Variables of relevant types (e.g., IndividualTicketResponse) to store the updated ticket information.

How to use:

  1. Drag and drop the "Update Ticket" activity onto the workflow.
  2. Configure the properties by specifying the ticket ID and the attributes you want to update.
  3. Optionally, configure the delay.
  4. Execute the workflow to update the specified ticket in Zendesk.

Example:

Consider an example where the "Update Ticket" activity is used to modify the subject and priority of a ticket with ID 123:

Update Ticket:
Ticket ID: 123
Subject: "New Subject"
Priority: High
Delay: 0
Response: updatedTicket

In this example, the activity updates the ticket with ID 123, changing its subject to "New Subject" and priority to "High." The updated ticket information is stored in the variable "updatedTicket" for further analysis in the workflow.