Zendesk (Ticket Concierge)
Setting up Ticket Concierge for Zendesk
Introduction
The purpose of this document is to enable Aisera employees to set up Ticket Concierge (TC) on Zendesk independently.
Currently, Ticket Concierge functions in the following way:
First, it picks up a ticket in Zendesk ticketing system. It’s important to discuss different conditions under which the ticket needs to be picked up and analyzed by Aisera TC.
Once it identifies an intent and find the fulfillment, then it will send a push notification to the end user that consists of the preamble (conversation message) + fulfillment, which could be a KB or flow.
Limitations
TC does not support the email channel for fulfillment
This does not mean that users can not report Tickets via email. For instance, an end user can submit a request via email in Zendesk and receive fulfillment on Slack. This limitation means that the Aisera platform does not send TC fulfillment answers via email at this time. If the end user does not engage with any other channels and prefers to receive fulfillment via email, we recommend that you have TC post a comment on the Zendesk ticket, which then triggers an email notification from Zendesk to the user.
RAG, LLM, Public KB
Universal Bot
Prerequisites
Setup the Data Source Tenant Integration
Navigate to Aisera → Integrations
Click “+ New Integration”
Select Zendesk and enter:
Name
End point. The end point could be taken from the ticketing URL
Keep Public checked
Click “OK”
Setup the Application Data Source
Now, set up the Data Source for Ticket and User Learning.
Navigate to Settings → Data Sources
Click “ + New Data Source”
Select “Zendesk”
Under General:
Add Name
Select the previously created integration from the dropdown list for Integrations
Select “Downstream”
Functions: select Ticket Learning, User Learning
Define the schedule
Click “Next”
Step 3 of 7: Configuration skip and click “Next”
Step 4 of 7: Templates skip and click “Next”
Step 5 of 7: IngestionConfiguration skip and click “Next”
Step 6 of 7: Summary skip and click “Next”
Step 7 of 7: Overrides skip and click “Next”
Note: Most likely you already have intents setup on the app. However, if none is set up, for testing purposes create an intent. Once Intent is created and Activated, go to AI Lease and click “Retain” to publish this intent.
Finish the Aisera Application Setup
While the Data Source job is running, let’s review a few items:
Go to the App → enable the ticketing system as SOR. This will generate a token.
Scroll down to Conversation messages and click to view the list
From the list, search for Ticket Concierge and modify the copy as it will be viewed by end users.
Next, we need to create a Listener channel and add it to the application.
Navigate to Settings -> Channels
Click “+New Channel”
Select Listener Channel
Add Name
Select capability “Ticket Concierge”
Add the correct Integration
Keep everything else as is. The policy by default takes in consideration title + description for predictions
Click “OK”
Add channel to the AiseraGPT application.
Setup on Zendesk
Create a webhook
Log in ZD instance Acme Ride Share
Go to Admin Center → search for Webhook
Click “Create webhook”
Select “Trigger Automation” and hit”Next”
Add Name
Add End point URL. To generate the end point URL:
For Basic:
Open your terminal on the computer and enter a command: echo -n 'userNameToLoginToAisera:password' | openssl base64
Copy the returned value
Note: Oauth [Token expires in an hour needs external system set up to refresh the token on expiry] → reach out to engineering.
The App token could be taken directly from the AiseraGPT App:
Aisera Event = TicketCreated
Keep POST and everything else as is
Click “create webhook”
5.2 Create a trigger
Search and navigate to “Triggers”
Click on “Add Trigger”
Category: initial Category Conditions: Add conditions as per your requirement.
Actions: Notify active webhook → and select the webhook you created in previous steps.
Sample JSON body:
{
"subject":"{{ticket.title}}",
"id":"{{ticket.id}}",
"ticketUrl":"{{ticket.url}}",
"displayId":"{{ticket.id}}",
"description":"{{ticket.verbatim_description}}",
"status":"{{ticket.status}}",
"priority":"{{ticket.priority}}",
"tags":"{{ticket.tags}}",
"created_at":"{{ticket.created_at_with_timestamp}}",
"updated_at":"{{ticket.updated_at_with_timestamp}}",
"device": "{{ticket.ticket_field_24344043}}",
"isPublic": "{{ticket.is_public}}",
"form":"{{ticket.ticket_form}}",
"isAcmeZendesk":"true",
"assignee":"{{ticket.assignee.email}}",
"assigneeName":"{{ticket.assignee.name}}",
"reporter":"{{ticket.requester.email}}",
"reporterName":"{{ticket.requester.name}}",
"currentUserEmail":"{{current_user.email}}",
"currentUserName":"{{current_user.name}}",
"comments":"{{ticket.comments_formatted}}"
}
Click Create
Testing
Prerequisites:
For testing we need to make sure that user and ticket learning job has been completed
Have an intent to test with
First, navigate to the SOR and create a new ticket with a proper user selected and some request in the title and body copy of the ticket
Click “Submit”
Open a webchat, enter the same user profile and you should receive an answer from the bot!
Analytics
Ticket Concierge collects the same analytics as other channels. User requests could be reviewed under Requests page + filter the channel.
Last updated