Skip to main content

Retrieve ticket details in Freshservice

Retrieves details from a ticket within Freshservice.

Common use cases

  • Data Management

Application

  • Freshservice

Inputs (what you have)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Freshservice API keyAPI key for the accountConnected accountYesA9023
Freshservice ticket linkThe link to ticket to retrieve details forURLYeshttps://wrk.freshservice.com/helpdesk/tickets/20
Fields to captureThe fields of the ticket to captureTextNoFieldx

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)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Ticket IDUnique ID of the ticketIntegerYes20
Workspace IDID of the workspace to which the ticket belongs. The attribute is applicable only for accounts with the 'Workspaces' feature enabledIntegerYes3
TypeHelps categorize the ticket according to the different kinds of issues your support team deals withTextYesIncident
StatusStatus of the ticketIntegerYes1
PriorityPriority of the ticketIntegerYes1
UrgencyUrgency of the ticketIntegerYes1
ImpactImpact of the ticketIntegerYes1
SubjectSubject of the ticketTextYesTicket title
DescriptionHTML content of the ticketTextYesthis is a sample ticket
Description textContent of the ticket in plain textTextYesthis is a sample ticket
Due byTimestamp that denotes when the ticket is due to be resolvedDate & TimeYes2021-01-18 21:00
First response due byTimestamp that denotes when the first response is dueDate & TimeYes2021-01-11 03:00
First escalated responseSet to true if the ticket has been escalated as a result of the first response time being breachedTrue / FalseYesFalse
CategoryTicket CategoryTextYesHardware
Sub categoryTicket sub categoryTextYesComputer
Item categoryTicket item categoryTextYesInk bottle
Department IDID of the department to which this ticket belongsIntegerYes12
Group IDID of the group to which the ticket has been assignedIntegerYes45
Is escalatedSet to true if the ticket has been escalated for any reasonTrue / FalseYesFalse
DeletedSet to true if the ticket has been deleted/trashed. Deleted tickets will not be displayed in any views except the "deleted" filterTrue / FalseYesFalse
SpamSet to true if the ticket has been marked as spamTrue / FalseYesFalse
AttachmentsDoes the ticket contain attachmentsTrue / FalseYesFalse
To emailsEmail addresses to which the ticket was originally sentList of emailsYesperson1@wrk.com, person2@wrk.com
CC emailsEmail addresses added in the 'cc' field of the incoming ticket emailList of emailsYesperson1@wrk.com, person2@wrk.com
Fwd emailsEmail addresses added while forwarding a ticketList of emailsYesperson1@wrk.com, person2@wrk.com
Reply CC emailsEmail addresses added while replying to a ticketList of emailsYesperson1@wrk.com, person2@wrk.com
Requester IDUser ID of the requesterIntegerYes19938921
NameName of the requesterTextYesJohn Doe
PhonePhone of the requesterList of emailsYes+1 234 567 8912
EmailEmail address of the requesterList of emailsYesperson1@wrk.com, person2@wrk.com
Responder IDID of the agent to whom the ticket has been assignedIntegerYes10000982
SourceThe channel through which the ticket was createdIntegerYes3
TagsTags that have been associated with the ticketList of textYesFix
Created atTicket creation timestampDate % TimeYes2017-09-08 11:03
Updated atTicket updated timestampDate & TimeYes2017-09-08 11:37

Outcomes

NAMEDESCRIPTION
SuccessThis status is selected when details are successfully retrieved from the provided ticket link
No ResultThis status is selected in the event of the following scenarios no ticket can be found with the provided link
UnsuccessfulThis status is selected in the event of the following scenarios:The external system is not accessibleThe Freshservice ticket link is not a valid ticket linkCan not extract the base Freshservice URLCan not extract the ticket id

Requirements

  • N/A