To create a rule that uses webhooks within iiQ, follow these steps:
Navigate to Administration > Rules in the left sidebar.
Click Create New Rule.
Select webhook as the action.
Select the request type: GET or POST.
Add the destination URL.
POST Webhook Body Configuration
When using POST webhooks, you can add iiQ variables in the Body field to post information.
Required Header:
Key: Content-Type
Value: application/json
Variable Format Example: Variables should be formatted like this: "outsourcesystem":"{Ticket.SiteName}"
Full List of Available Ticket Variables
The following variables can be used in the body of POST webhooks for tickets:
SiteId
SiteName
ProductId
TicketId
IsDeleted
TicketNumber
TicketCreatedDate
TicketModifiedDate
TicketStartedDate
TicketClosedDate
TicketDueDate
TicketSubject
TicketPriority
IsClosed
IsTraining
SourceId
HasSensitiveInformation
TicketIsUrgent
TicketWizardCategoryId
AdditionalDetails
IsIssueConfirmed
TicketTemplateId
IsCustomSubject
IssueCategoryId
IssueCategoryName
IssueId
IssueTypeId
IssueTypeName
IssueDescription
CloseReasonTypeId
CloseReasonName
WorkflowId
WorkflowName
WorkflowStepId
WorkflowStepName
TicketStatusId
TicketStatusName
PreviousTicketStatusId
PreviousTicketStatusName
IsRequestorInputNeeded
OwnerId
OwnerFirstName
OwnerLastName
OwnerEmail
OwnerPhotoId
OwnerLocationId
OwnerRoleId
ForId
ForFirstName
ForLastName
ForEmail
ForPhotoId
ForLocationId
ForSchoolIdNumber
ForRoleId
ForRoleName
AssignedToUserId
AssignedUserFirstName
AssignedUserLastName
AssignedUserEmail
AssignedUserPhotoId
AssignedUserLocationId
AssignedToTeamId
AssignedTeamName
LocationId
LocationName
LocationDetails
LocationAbbreviation
LocationRoomId
LocationRoomName
LocationRoomDescription
LocationTypeId
LocationTypeName
ServiceLevelAgreementId
ServiceLevelAgreementName
ServiceLevelAgreementResolutionTime
ServiceLevelAgreementResponseTime
ActualResponseTime
ActualResolutionTime
OverallSurveyRating
SiteWorkHoursStart
SiteWorkHoursEnd
Assets
Tags
CustomFieldValues
Attachments
TicketFollowerUserIds
TicketFollowerTeamIds
TicketSurveys