Skip to main content

Create Ticket

AutomatR.Zendesk.Activities.CreateTicket

The "Create Ticket" activity in AutomatR is part of the Zendesk activities package, allowing for the automation of ticket creation within a Zendesk environment. This activity streamlines the process of generating new tickets, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
Assignee NameThe agent currently assigned to the ticket. Enter an Int64 or an Int64 variable.
BodyThe value of the body field for this ticket. This field supports only strings or String variables.
Organization NameThe organization of the requester. You can only specify the ID of an organization associated with the requester. Enter an Int64 variable.
PriorityThe urgency with which the ticket should be addressed. From the drop-down, choose one of four options: Urgent, High, Normal, or Low.
SubjectThe value of the subject field for this ticket. This field supports only strings or String variables.
TypeThe type of the ticket. From the drop-down, choose one of four options: Problem, Incident, Question, or Task.
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
DelaySpecifies the amount of time (in seconds) to wait before executing the "Create Ticket" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Assignee NameThe agent currently assigned to the ticket. Enter an Int64 or an Int64 variable.
PriorityThe urgency with which the ticket should be addressed. From the drop-down, choose one of four options: Urgent, High, Normal, or Low.
StatusThe state of the ticket. From the drop-down, choose one of the options - Allowed values are "new", "open", "pending", "hold", "solved", or "closed".
TypeThe type of the ticket. From the drop-down, choose one of four options: Problem, Incident, Question, or Task.
Output
Ticket IDThe ID of the new ticket. Returns ticket ID as an Int64 variable.

How to use:

  1. Drag and drop the "Create Ticket" activity onto the workflow.
  2. Configure the properties by specifying the assignee name, body, delay, organization name, priority, subject, and type.
  3. Optionally, configure the optional properties like priority, status, and type.
  4. Execute the workflow to create a new ticket within Zendesk.

Example: Consider an example where the "Create Ticket" activity is used to create a new ticket with the following details:

Create Ticket:
Delay: 0
Assignee Name: "JohnDoe"
Body: "This is the body of the ticket."
Organization Name: "CustomerSupport"
Priority: High
Subject: "Issue with Service"
Type: Incident
Ticket ID: newTicketID

In this example, the activity creates a new ticket with the specified details, and the ID of the newly created ticket is stored in the variable "newTicketID" for further handling in the workflow.