Browse Guides

BACK TO TOP
AI Ability Use Case: Sentiment Analysis and Case Wrap up
Reading mode
Copy Link
Link Copied!
Print
Feedback
This guide is part of a collection:
<style> .chartjs-size-monitor { display: none !important; height: 0 !important; overflow: hidden !important; }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 data-pasted="true"><strong>- What is Halo AI&#39;s Sentiment Analysis and Case Wrap Up?</strong></p><p><strong>- How does it Work?&nbsp;</strong></p><p><strong>- Building Sentiment Analysis and Case Wrap Up</strong></p><p><strong>- Ticket Field Setup</strong></p><p><strong>- Create Runbook and AI Abilities</strong></p><p><strong>- Configure the Runbook&nbsp;</strong></p><p><br></p><p><br></p><p><strong><span style="font-size: 14pt;">What is Halo AI&#39;s Sentiment Analysis and Case Wrap Up?</span></strong></p><p>Sentiment analysis and case wrap up is an AI-driven automation that reviews each ticket as it closes. In seconds, it tells you how the user&rsquo;s experience went and what happened along the way.</p><p><br></p><p>AI looks at every action on the ticket and works out how the user&rsquo;s sentiment changed between opening and closure. It turns this into a numerical satisfaction score you can track and compare across tickets, and a sentiment analysis, which is a short summary of how the user felt over the lifetime of the ticket. It also produces a clear summary of the key events and actions on the ticket. Anyone reviewing tickets gets a complete overview of a ticket at a glance rather than piecing it together from long action histories. Account managers in particular can quickly see how their customers are feeling, spot tickets that ended on a low note, and walk into client conversations already informed, while spending far less time on ticket reviews.</p><p><br></p><p data-pasted="true">If you have a Halo environment provisioned for internal IT and enterprise solutions teams that was deployed after 28th August 2026, then this process will be pre-built in your system and ready to use without any further configuration. You can refer to the &quot;How does it Work&quot; section of this guide for information on how this functionality works out of the box.</p><p><br></p><p>If you have a Halo environment provisioned for internal IT and enterprise solutions teams that was deployed before this date, or you have an instance of another Halo solution (PSA, CRM, CSM), then you will need to set up the process using the &quot;Building Sentiment Analysis and Case Wrap Up&quot; section of this guide.</p><p><br></p><p><strong><span style="font-size: 14pt;">How does it Work?&nbsp;</span></strong></p><p data-pasted="true">The process is driven by a runbook prompting an <a href="https://www.usehalo.com/guides/2776" target="_blank" rel="noopener noreferrer">AI Ability.</a></p><p><br></p><p>By default, this process is triggered by incident tickets being closed (but this can be customised).&nbsp;</p><p><br></p><p>In the Figure 1 example, the ticket is about be to closed&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBiYmVkOTE4LTIyNDYtNGRmMi04NGJmLTYwN2E2YzQ5NjhiNCJ9.ijK3tQNxapQ_Cd9Sl-KvLJhFDxNhl8ngpVP2zubzWxc" class="fr-fic fr-fil fr-dib" width="1593" style="width: 1595px; height: 792.764px;" height="793"></p><p><strong><span style="font-size: 10pt;">Fig 1. Closing ticket</span></strong></p><p><br></p><p>Upon closure, the runbook &quot;Halo AI - Sentiment Analysis &amp; Case Wrap Up&quot; will run. When this runs the following process occurs:</p><ul><li>All actions on the ticket are compiled and sent to an AI model.</li><li>An Ability prompts the AI model to score the satisfaction of the user on a scale of 1-10 as well as provide an evaluation of the user&#39;s current emotional state (at the time of closing the ticket) based on the actions provided.&nbsp;</li><li>Another AI Ability prompts the AI model to summarise the ticket based on the actions provided.&nbsp;</li><li>The ticket is updated with the AI&#39;s response so this is visible to agents.&nbsp;</li></ul><p><br></p><p>Using the Figure 2 example, now the ticket is closed and the following fields have been updated:</p><ul><li>AI Satisfaction Level</li><li>AI Sentiment Analysis</li><li>Case Summary</li></ul><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImQ5ZTZjYjc4LTc5NGQtNDY2OC1hODljLTFjZjU3NTUyMTFkNSJ9.UQCa_64wEIZBMx_2RE2hceffJgKjMZ0qo1tqjDVyC4k" class="fr-fic fr-fil fr-dib" width="1515" style="width: 1517px; height: 955.472px;" height="955"></p><p><strong><span style="font-size: 10pt;">Fig 2. Ticket updated with sentiment analysis and case summary</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">Building Sentiment Analysis and Case Wrap Up</span></strong></p><p>The sentiment analysis and case wrap up automation requires the following to be built in your instance:</p><ul><li>Sentiment Analysis <a href="https://www.usehalo.com/guides/2776" target="_blank" rel="noopener noreferrer">AI Ability</a></li><li>Case Wrap Up AI Ability</li><li><a href="https://www.usehalo.com/guides/1630" target="_blank" rel="noopener noreferrer">Runbook</a></li><li><a href="https://www.usehalo.com/guides/1938" target="_blank" rel="noopener noreferrer">Custom Field</a> to store the case summary</li><li>Relevant <a href="https://www.usehalo.com/guides/1920" target="_blank" rel="noopener noreferrer">Fields to be added</a> to your ticket types</li></ul><p>The following sections of this guide will detail how to build this. Keep in mind that instances of Halo provisioned for internal IT and enterprise solutions teams, deployed after August 28th 2026 will have this built in already.</p><p><br></p><p><strong><span style="font-size: 14pt;">Ticket Field Setup</span></strong></p><p><strong><span style="font-size: 12pt;">Create Custom Field</span></strong></p><p>A custom field will need to be created to store the case summary AI generates for you.&nbsp;</p><p><br></p><p>Head to Configuration &gt; Custom Objects &gt; Custom Fields &gt; New &gt; Name the field accordingly and ensure the &quot;Type of Field&quot; is set to &quot;Text&quot;, then save.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM0YzQ5MDI4LTQxNzgtNDc0YS1hZjE4LTQ0NzFkYTJhNjUyMCJ9.tOlGvnR0vsO5mQMpae3P-USi7pl-EGhcLvyTPIKXWeU" class="fr-fic fr-fil fr-dib" width="1215" style="width: 1217px; height: 620.398px;" height="620"></p><p><strong><span style="font-size: 10pt;">Fig 3. Field to store case summary</span></strong></p><p><br></p><p>Once you have saved your custom field, make note of the field ID (visible in the URL) as this will be needed later.</p><p><br></p><p><strong><span style="font-size: 12pt;">Add Fields to Ticket Type</span></strong></p><p>Now, you will need to add the following fields to the field lists of the ticket types you intend to run this automation on:</p><ul><li>AI Satisfaction Level</li><li style="font-size: 11pt;">AI Sentiment Analysis&nbsp;</li><li>Your Case summary custom field&nbsp;</li></ul><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjhiYjZjMmJkLWFiYWQtNGRmNi1iOGFiLWRlODljMDMzZmQxZSJ9.2kxEZCZ_OTIy04xHkn5VJWMIOtS7iAB-GYN6n_BcZBs" class="fr-fic fr-fil fr-dib" width="1307" style="width: 1309px; height: 720.925px;" height="721"></p><p><strong><span style="font-size: 10pt;">Fig 4. Relevant Fields added to Ticket Type</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">Create Runbook and AI Abilities</span></strong></p><p>The runbook and AI abilities required can either be:</p><ul><li>Created in your instance manually</li><li>Downloaded from the online repository (from v2.250+)</li></ul><p><br></p><p>Downloading from the repository is a much faster method of setup.&nbsp;</p><p><br></p><p>We detail both methods of setup in this guide; you only need to follow one of the respective sections.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Creation by Downloading from the Online Repository (v2.250+)</span></strong></p><p>The runbook online repository can be found under Configuration &gt; Integrations &gt; Custom Integrations &gt; Integration Runbooks &gt; select the Globe symbol.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjZmMWM4ZjcyLWQwNmQtNGVkOC04MTNhLTIyYjk1YmVmNDhiZiJ9.uHdq5xv-p2Ses2EobjVByRq5J0ICFrK4geORHOnaPLc" class="fr-fic fr-fil fr-dib" width="1729" style="width: 1731px; height: 629.31px;" height="629"></p><p><strong><span style="font-size: 10pt;">Fig 5. Runbook Online Repository</span></strong></p><p><br></p><p>From here select &quot;Halo AI - Sentiment Analysis &amp; Case Wrap Up&quot;. Then use the &quot;Install to Halo&quot; button to add this to your instance (this will be disabled when added).&nbsp;</p><p><br></p><p data-pasted="true"><strong><em>Note: Some instances of Halo may already have the runbook and ability required added. If this is the case an &quot;Update local version&quot; button will be available in place of the &quot;Install to Halo&quot; button, you do not need to complete any further setup.&nbsp;</em></strong></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjMwZmM0ODFiLWJkMDctNGFkNS1hYWIwLWVlZmNhNTc3MTMyZiJ9.78pFJ_VBDM6Rfo_mArOyC-F5ogNbqrYURmjHskvsW80" class="fr-fic fr-fil fr-dib" width="1639" style="width: 1641px; height: 763.808px;" height="764"></p><p><strong><span style="font-size: 10pt;">Fig 6. Download Runbook from the Online Repository</span></strong></p><p><br></p><p>Adding this will create both the runbook and the required AI Abilities in your instance.&nbsp;</p><p><br></p><p>Once added head to Configuration &gt; Integrations &gt; Custom Integrations &gt; Integration Runbooks, to open up the runbook.&nbsp;</p><p><br></p><p data-pasted="true">Some additional configuration will need to be made to the runbook, so head to the &quot;Configure the Runbook&quot; section of this guide.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Manual Creation</span></strong></p><p><strong>Create Sentiment Analysis Ability&nbsp;</strong></p><p>To create the sentiment analysis AI Ability, head to Configuration &gt; AI &gt; Feature Library &gt; AI Abilities &gt; New. Name the Ability accordingly and choose which AI connection to use.&nbsp;</p><p><br></p><p>The instructions required for this ability can be found attached to this guide &quot;AI Ability - Sentiment Analysis&quot;. If you are viewing this guide on our website, you will need to obtain this attachment from our portal <a href="https://support.haloservicedesk.com/kb?id=3032" target="_blank" rel="noopener noreferrer">here</a>.&nbsp;</p><p><br></p><p>Enable &quot;Force JSON response&quot; then add the input variable shown in Figure 7. Ensure you copy the details of the input variable exactly (including the description).&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImIzY2ZiNmY5LWQzMWEtNDkzOS1hYWNjLWU5N2MzODEyM2Y5YyJ9.vmVNBWmWy6zMyr0N_zP9DWgAu8Z64yr7N0qn_9onDtc" class="fr-fic fr-fil fr-dib" width="1757" style="width: 1759px; height: 969.361px;" height="969"></p><p><strong><span style="font-size: 10pt;">Fig 7. Sentiment Analysis Ability</span></strong></p><p><br></p><p data-pasted="true"><strong>Create Case Wrap Up Ability&nbsp;</strong></p><p>To create the case wrap up AI Ability, head to Configuration &gt; AI &gt; Feature Library &gt; AI Abilities &gt; New. Name the Ability accordingly and choose which AI connection to use.&nbsp;</p><p><br></p><p>The instructions required for this ability can be found attached to this guide &quot;AI Ability - Case Wrap Up&quot;. If you are viewing this guide on our website, you will need to obtain this attachment from our portal <a href="https://support.haloservicedesk.com/kb?id=3032" target="_blank" rel="noopener noreferrer">here</a>.&nbsp;</p><p><br></p><p>Disable &quot;Force JSON response&quot; then add the input variable shown in Figure 8. Ensure you copy the details of the input variable exactly (including the description).&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjZjMzQyYjliLTM1YzMtNGMxMy05MmNmLWRkNjkwZWE2YzNmYiJ9.ukVMEBngeNsVPqA-L2Zwe9GG7o_1-s1nrk0R2GDxbWo" class="fr-fic fr-fil fr-dib" width="1745" style="width: 1747px; height: 970.106px;" height="970"></p><p><strong><span style="font-size: 10pt;">Fig 8. Case Wrap Up Ability&nbsp;</span></strong></p><p><br></p><p><strong>Create the Runbook</strong></p><p>To create the runbook required, head to Configuration &gt; Integrations &gt; Custom Integrations &gt; Integration Runbooks &gt; Import from JSON.</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjViMmQxM2JjLTJiZDEtNGU5OS04YmE4LTQ2MmQwYTRkZGM5MiJ9.EWX30AOKskLnu_5B7kex9NBTBblax6N2TroOiRSym6E" class="fr-fic fr-fil fr-dib" width="1782" style="width: 1784px; height: 560.569px;" height="561"></p><p><strong><span style="font-size: 10pt;">Fig 9. Import Runbook using JSON</span></strong></p><p><br></p><p>Here, paste the JSON attached to this guide, titled &quot;Runbook JSON - Sentiment Analysis and Case Wrap Up&quot;. If you are viewing this guide on our website, you will need to obtain this attachment from our portal <a href="https://support.haloservicedesk.com/kb?id=3032" target="_blank" rel="noopener noreferrer">here</a>.&nbsp;</p><p>&nbsp;</p><p>Once saved, click into the runbook that has been created (this will be disabled upon creation).</p><p><br></p><p>Head to the &quot;Flow Chart&quot; tab and edit the &quot;Emotional Evaluation&quot; step.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjdlYWFkZWM3LWRiNGYtNDJmMy05ZWEwLTUxNGEzZjI2ODljMiJ9.OWQf66LWV5j7THVmOnUFyo_yjdr6iZi4wZ-F2Drz0TQ" class="fr-fic fr-fil fr-dib" width="1397" style="width: 1399px; height: 648.401px;" height="648"></p><p><strong><span style="font-size: 10pt;">Fig 10. Edit Emotional Evaluation Step</span></strong></p><p><br></p><p>In this step, check the AI Ability for Sentiment Analysis you created earlier is set here, if it is not, set this here and save the step.</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFiNjVkZmU4LTgzMTEtNGMyYy1iYTgwLWU5MWZhMzFhMjBmYyJ9.cJK-bMuxAbdYSIQ56adLtJ7lghZDUCbpYopQi0C7Ox8" class="fr-fic fr-fil fr-dib" width="1558" style="width: 1560px; height: 652.639px;" height="653"></p><p><strong><span style="font-size: 10pt;">Fig 11. Sentiment Analysis Ability assigned to runbook step&nbsp;</span></strong></p><p><br></p><p>Now repeat this process for the &quot;Case Summarisation&quot; step, ensuring the case wrap up ability you created earlier is assigned here.</p><p><br></p><p><strong><span style="font-size: 14pt;">Configure the Runbook&nbsp;</span></strong></p><p>Regardless of whether you created the required runbook manually or downloaded this from the online repository, before the automation can be used, some properties of the runbook will need to be set.</p><p data-pasted="true"><br></p><p><strong><span style="font-size: 12pt;">Set Which Field is Updated with the Case Summary</span></strong></p><p>Under the &quot;Flow Chart&quot; tab edit the &quot;Update Case Summarisation&quot; step.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU4ZWIxMjlkLTRjNDYtNGZlNC1hMTE5LTBmZjY0OWIxOTBkZiJ9.noR-moRxojQvQUSwvzcN4MQmZcb9F23593OBkHS8ceg" width="1090" style="width: 1092px; height: 566.16px;" height="566" class="fr-fic fr-dii"></p><p><strong><span style="font-size: 10pt;">Fig 12. Edit Case Summarisation step&nbsp;</span></strong></p><p><br></p><p>Here replace the value in the JSON body highlighted in Figure 13 with the ID of the custom field you created earlier.&nbsp;<br><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM2MzE4ODdhLWUxMjUtNDdhNy05Yzg5LWQyNjg1MTJiN2VmMiJ9.iUEt0jE_LVWfvL8imcrdF-2HYqUJUj94qU5mpIu2vwg" width="1405" style="width: 1407px; height: 645.81px;" height="646" class="fr-fic fr-dii"></p><p><strong><span style="font-size: 10pt;">Fig 13. Value in JSON body to update</span></strong></p><p><br></p><p><strong><span style="font-size: 12pt;">Set when the Runbook will Trigger</span></strong></p><p>Now you will need to set when the runbook will trigger (run) by adding an &#39;Event&#39; under the &quot;Details&quot; tab.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImYyMzk1NzdmLTViOWMtNGIwOC05MDFkLTE2MDA3MzdjNTZmNSJ9.GPDQegeB2FqK-7dq758NGDTrG-GY8UgQYCFdDRz1P44" width="1779" style="width: 1781px; height: 610.649px;" height="611" class="fr-fic fr-dii"></p><p><strong><span style="font-size: 10pt;">Fig 14. Add Event to trigger runbook</span></strong></p><p><br></p><p>We recommend adding the event &quot;Closed&quot; to have the runbook trigger every time a ticket is closed. However, additional conditions can be added here.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImEzYmZmYjhmLTczNGUtNDMwNy1iODc1LWUxN2VkMzZhMjRlZSJ9.OpI2s3WWBm5PamHVZBqJJ-kNgofG8Z_IQE7cigS3iSY" width="1795" style="width: 1797px; height: 519.298px;" height="519" class="fr-fic fr-dii"></p><p><strong><span style="font-size: 10pt;">Fig 15. Runbook set to trigger every time a ticket is closed&nbsp;</span></strong></p><p><br></p><p>Now, just enable the runbook and the automation is ready to use.&nbsp;</p><p>&nbsp;<img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjgzYmZiZTFhLTU2OGYtNGQ3OC05NjQ4LWJjNWNmODAxNTdkNSJ9.0SwNeFr4rQdfhp1YuIt2ijok68W25vUZwuKVBILBH7E" width="1142" style="width: 1144px; height: 642.788px;" height="643" class="fr-fic fr-dii"></p><p><strong><span style="font-size: 10pt;">Fig 16. Enable the Runbook&nbsp;</span></strong></p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.