Skip to main content

Create a ticket in Freshservice

Creates a ticket in Freshservice. To create a ticket you must provide a value for at least one of requestor ID, requestor email, or requestor phone.

Application

  • Freshservice

Inputs (what you have)

NameDescriptionData TypeRequired?Example
StatusStatus of the ticketPre-defined drop down listYesOpen
PriorityPriority of the ticketPre-defined drop down listYesLow
SourceThe channel through which the ticket was created. The default value is Portal.Pre-defined drop down listYesPortal
Unique ticket IDUnique ID of the ticketIntegerNo123
Workspace IDWorkspace ID of the ticket. The input is applicable only for accounts with the 'Workspaces' feature enabled. The default value is the ID of the primary workspace of the accountIntegerNo1
Requestor nameName of the requesterText (Short)NoJohn Smith
Requestor IDUser ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's emailIntegerNo123
Requestor emailEmail address of the requester. If no contact exists with this email address in Freshservice, it will be added as a new contactEmailNoJohn.Smith@wrk.com
Requestor phonePhone number of the requester. If no contact exists with this phone number in Freshservice, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatoryPhone numberNo123-456-7890
SubjectSubject of the ticket. The default value is null. The max length is 255 charactersText(Short)NoThis is your ticket subject
DescriptionHTML content of the ticketText (Long)NoLong description of the problem
Responder IDID of the agent to whom the ticket has been assignedIntegerNo456
AttachmentTicket attachment. The total size of this attachment cannot exceed 40 MBFileNoscreenshot.png
CC emailsEmail address added in the 'cc' field of the incoming ticket emailList of EmailsNojane.smith@wrk.com
Custom fieldsKey value pairs containing the names and values of custom fieldsText (Long)No{“custom_field1”:”custom_value1”, “custom_field2”:”custom_value2”}
Due byTimestamp that denotes when the ticket is due to be resolvedDatetimeNo2023-07-01 12:00:00
Email configuration IDID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com)IntegerNo1
First response due byTimestamp that denotes when the first response is duedatetimeNo2023-07-01 12:00:00
Group IDID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given Email configuration IDIntegerNo1
TagsTags that have been associated with the ticketList of TextNotag1,tag2
Requester department IDDepartment ID of the requester.IntegerNo1
CategoryTicket categoryText(Short)NoCategory X
Sub categoryTicket sub categoryText(Short)NoSub category Y
Item categoryTicket item categoryText(Short)NoItem category Z
UrgencyTicket urgencyIntegerNo1
ImpactTicket impactIntegerNo1

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

TitleDescriptionData TypeRequiredExample
Ticket linkLink to the ticketurlRequiredhttps://wrk.freshservice.com/helpdesk/tickets/20

Outcomes

NameDescription
SuccessThis status is selected when a ticket is successfully created
ITCThis status is selected in the event of the following scenarios:The external system is not accessibleUnable to access with the provided credentialsUnable to perform the requested task with the provided credentialsThe Freshservice base link is not a valid ticket linkValidation error (inputs were not capable of creating a ticket)

Requirements

  • N/A