Browse Guides

Boost Ticket Processing using AI
Reading mode
Copy Link
Link Copied!
Print
Feedback
This guide has multiple versions available:
<style>p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}.fr-fic.fr-dii{ float: none; margin: 5px auto;}.fr-fic.fr-dii.fr-fil{ float: left; margin: 5px auto;}.fr-fic.fr-dii.fr-fir{ float: right; margin: 5px auto;}img.fr-dib.fr-fir { margin-right: 0; text-align: right;}img.fr-dib.fr-fil { margin-left: 0; text-align: left;}img.fr-dib { margin: 5px auto; display: block; float: none;}img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC;}img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc;}img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;}</style><style> p { margin: 0; } span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left: 0; padding-left: 5px; } blockquote blockquote { border-color: #00bcd4; color: #00bcd4; } blockquote blockquote blockquote { border-color: #43a047; color: #43a047; } table.grid { border-collapse: collapse; } table.grid td, table.grid th { border: 1px solid #ddd; } .fr-fic.fr-dib { display: block; margin: 5px auto; } .fr-fic.fr-dib.fr-fir { text-align: right; margin: 5px 0 5px auto; } .fr-fic.fr-dib.fr-fil { text-align: left; margin: 5px auto 5px 0; } .fr-fic.fr-dii { float: none; margin: 5px auto; } .fr-fic.fr-dii.fr-fil { float: left; margin: 5px auto; } .fr-fic.fr-dii.fr-fir { float: right; margin: 5px auto; } img.fr-dib.fr-fir { margin-right: 0; text-align: right; } img.fr-dib.fr-fil { margin-left: 0; text-align: left; } img.fr-dib { margin: 5px auto; display: block; float: none; } img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC; } img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc; } img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } </style><p><strong>In this guide we will cover:</strong></p><p><strong>- Use AI to Generate automatic user responses</strong></p><p><strong>- Sending auto-generated responses automatically</strong></p><p><strong>- Improve Agent responses with AI</strong></p><p><span style="font-size: 13px;"><strong>-&nbsp;</strong></span><strong>Previewing responses</strong></p><p><strong>-Thank you detection</strong></p><p><br></p><p style="box-sizing: inherit; margin: 0px; line-height: 1.4285em;" data-pasted="true"><span style="box-sizing: inherit; font-size: 11pt;"><strong style="box-sizing: inherit; font-weight: bolder;">Related Guides:</strong></span></p><ul style="box-sizing: inherit; margin-bottom: 1rem; margin-top: 0px;"><li style="box-sizing: inherit; font-weight: bold;"><a href="https://usehalo.com/haloitsm/guides/2695"><strong>AI Acknowledgement Emails</strong></a></li></ul><p id="isPasted">AI can be used to enhance the responses written by agents to improve spelling, vocabulary, tone, etc. and even generate an automatic response based on the details of the ticket.&nbsp;</p><p><br></p><p><strong>Prerequisites</strong></p><ul><li>Own Open AI / Azure OpenAI must be used as the AI connection method</li></ul><p><br></p><p><strong><span style="font-size: 14pt;">Generate automatic user response</span></strong></p><p>Actions can be configured to generate a response to be sent to the user. This can be used to provide a more personal/tailored response to the user to confirm their ticket has been logged. Information/resources can also be sent to the user to assist them with their request/issue.&nbsp;</p><p><br></p><p>To configure this head to Configuration &gt; Tickets &gt; Actions &gt; create new or edit an existing action, ensure the action you have chosen or have created is configured to send an email to the user. Now under the AI section of the details tab set the &#39;Operations&#39; field to be &#39;Generate User response&#39;. Once chosen you will need to enter your &#39;Azure OpenAI Deployment&#39; and a prompt in the &#39;System Message&#39; field for the AI model to use to generate a response.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijk1ZGRjNjdkLTg3ZjItNGZmOS05Zjc1LTM4NmZhMzhlNjdlNSJ9.CJ3XMNpt52t9Ck5V2a5ZlA2j5qPnwbgp3wuDCSPN5bw" class="fr-fic fr-fil fr-dib" width="1348" style="width: 1350px; height: 407.962px;" height="408"></p><p><strong><span style="font-size: 10pt;">Fig 1. AI action configuration</span></strong></p><p><br></p><p>Dollar variables can be included in the system message field too. This allows you to provide details of matched articles to assist the AI in writing an answer, you may find the following variables particularly useful:</p><ul><li>$-BESTARTICLEMATCHES - Can be used to show a table of AI matched articles.<span style="font-size: 13px;"><br></span></li><li>$-BESTARTICLEMATCHESJSON - Can be used to show the AI matched articles and the content of the articles in JSON format.</li></ul><p>If using &#39;$BESTARTICLEMATCHESJSON&#39; you will need to specify in the prompt that you are giving data in JSON format but the response needs to be generated on HTML. For example the following prompt will allow the AI to attempt to answer the ticket using the details of the matched knowledge base articles:</p><p><br></p><p id="isPasted" style="margin-left: 20px;"><em>You will be given a conversation between an Agent and a User on a service desk ticket. The user may be asking for help, or have an issue.&nbsp;</em><span style="font-size: 13px;"><em>The following JSON is an array of matched knowledge base articles regarding the topic, where title is the name of the article, description is the content of the article, and the resolution contains details on the resolution where applicable. Please read these and write a response to the user in HTML format using the articles provided. Do not answer in Markdown.</em></span></p><p style="margin-left: 20px;"><span style="font-size: 13px;"><em><br></em></span></p><p style="margin-left: 20px;"><span style="font-size: 13px;"><em>$-BESTARTICLEMATCHESJSON</em></span></p><p style="margin-left: 20px;"><br></p><p><strong><em>Note: Consistent use of large articles here may result in OpenAI rate limits being breached or additional cost in OpenAI.</em></strong></p><p><br></p><p>We recommend also enabling &#39;Preview the OpenAI response before saving the action&#39; if you would like to preview the AI generated response before sending the email to the user.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Send auto-generated responses automatically</span></strong></p><p>For even more automation you can have AI generate a response to the user and create a workflow automation to have this send out to the user automatically when they have logged a ticket. This allows you send a response that is more tailored than a standard acknowledgement email would be.&nbsp;</p><p><br></p><p>To do this configure an automated response action as shown above, however you will need to set this to be a quick action (see figure 5) and disable &#39;Preview the OpenAI response before saving the action&#39;.&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImRjYjM5ODViLTI3ODctNDlhZC1iYjc0LWVmZWUxZGFiN2RhNiJ9.UnYU-hyZqudMQvK52YTwqmyHL72c-io7bHNux5SJ4Wg" class="fr-fic fr-fil fr-dib" width="913" style="width: 915px; height: 458.213px;" height="458"></p><p><strong><span style="font-size: 10pt;">Fig 2. Quick action setting</span></strong></p><p><br></p><p>Now edit the workflow you would like the automation to take place on, in the example here I will add the automation to my incident management workflow. Create a new step on your workflow and add an automation to the actions table that completes your &#39;auto-response&#39; action when the ticket is at this step (shown in figure 6).&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImUyYTI1YjJmLWE0MzQtNDY1ZC1hOWQwLTExZjI5YzQ2MDhhZSJ9.udIjB5y0-8LAH4tBHDV5c1D618i2TLjV1eFG7uRGHdc" class="fr-fic fr-fil fr-dib" width="638" style="width: 640px; height: 834.182px;" height="834"></p><p><strong><span style="font-size: 10pt;">Fig 3. Workflow automation to send auto-response</span></strong></p><p><br></p><p>Set the automation to move the ticket to the next step of the workflow when it is complete.&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjlmMjQ2NDc0LTY4ZTQtNGVjZi1iMTEzLTcyODJhODBlZDdhNSJ9.COYVjKk-bep191k-UxkkmY8u69ytNNfmoSnra2cdDNg" class="fr-fic fr-fil fr-dib" width="963" style="width: 965px; height: 719.205px;" height="719"></p><p><strong><span style="font-size: 10pt;">Fig 4. Workflow with automation to send an automatic response to user</span></strong></p><p><br></p><p>In my figure 4 example I have set the automation to be the starting step of the workflow, this will ensure when the ticket is logged the automated response will be sent then the ticket will progress into the following stages of the workflow as usual.&nbsp;</p><p><br></p><p>In this example I am using the auto-response to send a response to all users when their ticket is logged, however you can add additional restrictions to this, such as only sending the automation when the ticket is logged from the portal. You could also have the automation run at a different stage of the workflow, such as when the ticket needs to be escalated. For more information on configuring workflows (and other automations) see our guide on <a href="https://usehalo.com/haloitsm/guides/1922" target="_blank" rel="noopener noreferrer"><strong>workflows</strong></a>.</p><p><br></p><p><strong><em>Note: If using an automation to send out an AI generated response this will not be able to be previewed by the agent before being sent. We only recommend using this functionality if you are happy with the reliability of your AI generated responses.&nbsp;</em></strong></p><p><br></p><p><span style="font-size: 14pt;"><strong>Improve Agent responses</strong></span></p><p>AI can be used to improve agent responses to users, such as correcting spelling and grammar and making language more concise/user friendly.&nbsp;</p><p><br></p><p>Each action will need to be configured to allow AI to make these improvements. Head to Configuration &gt; Tickets &gt; Actions &gt; edit an action (such as email user) &gt; see AI section under Details tab. Set the &#39;Operation&#39; field to be &#39;Improve agent note&#39;.</p><p><br></p><p><span style="font-size: 13px;"><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjNmOGM1YWVjLTlmOGUtNDJhZC04OTRmLWUwMWJhNDQyMzRhNiJ9.JQy_AGxzkFO0cEIdhqLq5yzugV6RfciMkLwRiRXOQHE" class="fr-fic fr-fil fr-dib" width="1126" style="width: 1128px; height: 485.116px;" height="485"></span></p><p><strong><span style="font-size: 10pt;">Fig 5. Improve agent note action configuration</span></strong></p><p><br></p><p>Now you will need to enter your &#39;Azure OpenAI Deployment&#39; and enter a prompt for what improvements the AI model should make. The dollar variable for each field against this action that you would like the improvements to be made to should be added into the prompt. In the figure 8 example I would like the text entered into the &#39;Note&#39; field on the action to be improved, the variable for this field is $-RICHACTIONNOTE, therefore this variable has been given in the AI prompt. Rich text fields use HTML therefore variables for these fields will be passed to the AI model in HTML format, this will need to be specified to the AI prompt to ensure the formatting of the field remains after improvements are made.&nbsp;</p><p><br></p><p>If you are not using rich text fields you do not need to specify that the field is in a HTML format in the prompt. The associated variable for each ticket field can be found at <a data-fr-linked="true" href="https://YOURHALODOMAIN.halopsa.com/variables">https://YOURHALODOMAIN.halopsa.com/variables</a>.</p><p><br></p><p>Now when completing the note action against the field an &#39;Improve agent note&#39; option will appear.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjUzZTAxZTZmLTRjNjctNDMxNC1iODQyLWZhM2E2MzVlMzcwYiJ9._sRiomFLG-uANr97WjAgek2t6Ko4CmcaVe5t1FUa7I8" class="fr-fic fr-fil fr-dib" width="898" style="width: 900px; height: 500.507px;" height="500"></p><p><strong><span style="font-size: 10pt;">Fig 6. Improve agent note button</span></strong></p><p><br></p><p>When selected the text in the rich text box will be improved, shown in figure 7.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjMwMTQ0MTNkLTJhYjUtNDYzNi1iNGQ0LWJmOWJhNzIwNDc3ZiJ9.3CBNXoiFatkRJW_kR2VNtgN_w-nqKASUXIuTfH0SX48" class="fr-fic fr-fil fr-dib" width="886" style="width: 888px; height: 437.328px;" height="437"></p><p><strong><span style="font-size: 10pt;">Fig 7. AI improved response</span></strong></p><p><br></p><p><strong><em>Note: Improvements to other (non rich text) fields will be visible on the preview screen. The preview screen will appear once the action is saved, you will then need to save it again on the preview screen for it to send.&nbsp;</em></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">Previewing responses</span></strong></p><p>Ensure you have the setting highlighted in figure 9 enabled if you would like to be able to preview responses before they are sent to a user. Found under Configuration &gt; Email &gt; General Settings.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImI4YTczZmM5LWY0NDMtNGNhYi04MWY3LTBiOTU0YjQ2ZTA5OCJ9.D3wzSiXU9gbtRX6Wk2c556z9hEfYdRRztO3iDNp5CJs" class="fr-fic fr-fil fr-dib" width="858" style="width: 860px; height: 383.097px;" height="383"></p><p><strong><span style="font-size: 10pt;">Fig 8. Show email preview setting</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">Thank you detection</span></strong></p><p>AI can be used to detect whether a user update on a closed ticket should re-open the ticket, or if the user is just thanking the agent.&nbsp;</p><p><br></p><p><strong>Prerequisites</strong></p><ul><li>Incoming service must be enabled (configuration &gt; advanced settings)&nbsp;</li></ul><p><br></p><p>To enable this functionality head to configuration &gt; AI, enable &#39;Enable AI &#39;Thank you&#39; email detection on closed/pending closure Tickets&#39;.</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImI3NzIzYzIxLWY3MmUtNGVkNC1iOTE2LWIxNjYyMjkxZjA5ZSJ9.ZmRtdIyFvv51hFRNuawjxMaqODjlSG9bTHuAaJg0Ap0" class="fr-fic fr-fil fr-dib" style="width: 887px; height: 338.803px;" width="885" height="339"></p><p><strong><span style="font-size: 10pt;">Fig 9. Enable AI &#39;Thank you&#39; email detection on closed/pending closure Tickets setting</span></strong></p><p><br></p><p id="isPasted">This will override the settings shown in figure 11, in ticket type settings.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImI5MTZlMDBiLWJlZjQtNDk4ZC04MzYyLWM4MmVjODQyOWEzNyJ9.vSSY4-i5C0yMD0NdLklJmoj7E_vSY0VB92OOOi017AM" class="fr-fic fr-fil fr-dib" width="616" style="width: 618px; height: 356.112px;" height="356"></p><p><strong><span style="font-size: 10pt;">Fig 10. Ticket type closure settings</span></strong></p><p><br></p><p>Once enabled any incoming email from users to a ticket that has a closed/pending closure status will ne evaluated by AI to determine if further action is required on the ticket or the user is just saying thank you. If the AI model determines the user is just saying thank you the ticket&#39;s status will not be updated. If the AI model determines further action is required the ticket status will be updated in line with the ticket type settings (in figure 11).&nbsp;</p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.