Browse Guides

BACK TO TOP
Process Agent - Closure Review Agent
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><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><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><strong>In this guide we will cover</strong></p><p><strong>Why create a Closure Review Agent?</strong></p><p data-pasted="true"><strong>How to create a Closure Review Agent</strong></p><p><strong>The Closure Review Agent in Action</strong></p><p><br></p><p data-pasted="true"><span style="font-size: 14pt;"><strong>Why create a Closure Review Agent?</strong></span></p><p><a href="https://www.usehalo.com/guides/2783" target="_blank" rel="noopener noreferrer">Process Agents</a> can be instructed to use AI to triage Tickets. These Agents are referred to as Closure Review Agents. The Closure Review Agent assesses the communications on a Ticket once it has been closed, providing a score and feedback on the closure of Ticket.</p><p><br></p><p data-pasted="true"><span style="font-size: 14pt;"><strong>Key Considerations</strong></span></p><p data-pasted="true">Business Teams &amp; Internal IT (ESM &amp; ITSM) trials created after September 2026 have this functionality built out of the box, and will not need to follow this setup. However, the Agent and Runbook can be customised as required, allowing full control over when the Process Agent is triggered, what the Agent is instructed to do, and what Tickets the Process Agent can run on.&nbsp;</p><p><br></p><p data-pasted="true">Clients on versions without this functionality provided out of the box can follow this guide to build a Closure Review Agent in their instance.&nbsp;</p><p><br></p><p>From v2.250+ when a runbook is downloaded from the online repository, if it contains a Process Agent, the Agent will be created in your instance automatically. Therefore from this version, if you download the Closure Review Agent from the Online Repository, you will not need to configure the Agent or Runbook yourself.&nbsp;</p><p><br></p><p data-pasted="true"><span style="font-size: 14pt;"><strong>How to create a <span style="font-size: 14pt;" data-pasted="true"><strong>Closure Review&nbsp;</strong></span>Agent</strong></span></p><p><br></p><p data-pasted="true"><span style="font-size: 12pt;"><strong>Before creating a Closure Review Agent</strong></span></p><p data-pasted="true">The Agent uses a Knowledge Base Article to understand how to evaluate the quality of the Ticket are assigned Tickets. In order for the Agent to successfully route Tickets you must have this article in your instance. A template can be downloaded using the &quot;Ticket Quality Evaluation Rubric.docx&quot; file attached at the end of this guide (Only available when viewing via the <a href="https://support.haloservicedesk.com/portal/kb?id=3000" target="_blank" rel="noopener noreferrer">Halo Portal</a>). Once this Article has been created, update the Article ID in the AI instructions.</p><p><br></p><p data-pasted="true"><span style="font-size: 12pt;"><strong>API Application (Versions v2.250+)</strong></span></p><p>On versions v2.250+ an Automation Identity API Application will be created for you automatically when creating a Process Agent, saving you needing to create an API Application yourself. Once &nbsp;the Agent is saved, a link to the created application will be available.&nbsp;</p><p><br></p><p data-pasted="true">The permissions the Automation Identity application has will be determined by the functions you enable for the Process Agent. E.g. adding the &quot;Get One Ticket&quot; function to the Agent automatically adds the &quot;read:tickets&quot; permission.</p><p><br></p><p data-pasted="true"><span style="font-size: 12pt;"><strong>API Application (Versions prior to v2.250+)</strong></span></p><p>To create a Closure Review Agent, you will first need to create an API Application to allow the Agent to connect to Halo. Head to Configuration &gt; Integrations &gt; Halo API, and click on the &quot;View Applications&quot; button.&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijk2NGRhZTgwLWY1NmMtNDRhZi1iYmVjLTI4MDY3ZWY5NGE4ZCJ9.PDY9QWONhe1ipVVtmaWIYN7Nfy6HEYetHq-AI1THjss" class="fr-fic fr-fil fr-dib" width="982" style="width: 984px; height: 214.691px;" height="215"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 1. API Applications</strong></span></p><p><br></p><p data-pasted="true">Click &quot;+ New&quot; to create a new API Application.&nbsp;</p><p><br></p><p data-pasted="true">Give this application a sensible name and set the Authentication Method to &quot;Halo Automation Identity&quot;.&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFmNDhhYzYzLTcwMjUtNGNiNC1hZGM2LThjYzkxMzBkNzBmNiJ9.uYp7kv3kBtnZPER7owln3C258vk179cUzsJzU8__X7w" class="fr-fic fr-fil fr-dib" width="994" style="width: 996px; height: 515.138px;" height="515"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 2. Creating an API Application with Halo Automation Identity</strong></span></p><p><br></p><p data-pasted="true">Once selected, you will need to specify an identity for the application. This informs the base level of access granted to the application. The option &quot;Application identity&quot; is recommended here, as you can use roles to control the base level of permission rather than having to pick a specific Agent. When this option is selected the &quot;Identity Roles&quot; field can be used to determine which roles to use as the base level permissions.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjAzMzQxMGIzLWIzOGEtNGVmNS1iMThkLWUwMGQ5ODBhMzBiNCJ9.sdA0FuYf6Qn-qCiNXnznEhxNVPCvejgV9f9QKWTxvrI" class="fr-fic fr-fil fr-dib" width="994" style="width: 996px; height: 233.026px;" height="233"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 3. API Application using Application identity&nbsp;</strong></span></p><p><br></p><p><span style="font-size: 12pt;"><strong>Creating the Process Agent</strong></span></p><p>To create your Closure Review Agent, head to Configuration &gt; AI &gt; AI Agents, and click the &quot;Process Agents&quot; button. Click &quot;+ New&quot; to create a new Process Agent.&nbsp;</p><p><br></p><p data-pasted="true">When you create a new AI Agent you will need to set a name, and connection for your Process Agent to use. On versions prior to v2.250+, you will need to set the &quot;Halo Application to authorise as&quot; to your newly created application. On versions v2.250+, you will need to set the &quot;Agent to log in as&quot; for the AI Agent. It is recommended this is set to &quot;Application Identity&quot;, and the relevant &quot;Identity Roles&quot; are added to determine which roles to use as the base level permissions.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjRiMDljNDY2LWQyOGMtNGVhYS1hN2QyLTkxMWY5ZDNmZjkyOCJ9.SBHNmQUCpiiNkHbjB2hb4076v2bLV6ouRReJP8hNPc8" class="fr-fic fr-fil fr-dib" width="1060" style="width: 1062px; height: 540.981px;" height="541"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 4. Creating a Process Agent</strong></span></p><p><br></p><p data-pasted="true">Next you can set the instructions for your AI Agent to follow. The instructions you set here control the request that is sent to the API. You must state exactly what you want the AI Agent to do here. The instructions for your Closure Review Agent to follow can be downloaded from the linked file titled &quot;Closure Review Agent Instructions.docx&quot; &nbsp;(Only available when viewing via the <a href="https://support.haloservicedesk.com/portal/kb?id=3000" target="_blank" rel="noopener noreferrer">Halo Portal</a>).&nbsp;</p><p><br></p><p data-pasted="true">These instructions include input variables in the format &lt;&lt;variable_name&gt;&gt;, which need to be specified in the table below. These variables let you change the instructions dynamically based on the event that triggered, or information obtained by the Runbook. The Closure Review Agents Input variables are as follows:&nbsp;</p><p><br></p><table class="styled-table grid" style="width: 63%; margin-left: 20px; height: 128px;"><colgroup><col style="width: 20.8438%;"></colgroup> <colgroup><col style="width: 16.7542%;"></colgroup> <colgroup><col style="width: 20.4547%;"></colgroup> <colgroup><col style="width: 41.9473%;"></colgroup><tbody><tr style="height: 37px;"><td style="text-align: center; background-color: rgb(0, 204, 248);"><strong><span style="color: rgb(255, 255, 255); font-size: 12pt;">Name</span></strong></td><td style="text-align: left; background-color: rgb(0, 204, 248);"><div style="text-align: center;"><strong><span style="color: rgb(255, 255, 255); font-size: 12pt;">Data Type</span></strong></div></td><td style="text-align: center; background-color: rgb(0, 204, 248);"><strong data-pasted="true"><span style="color: rgb(255, 255, 255); font-size: 12pt;">Mandatory</span></strong></td><td style="text-align: center; background-color: rgb(0, 204, 248);"><strong><span style="color: rgb(255, 255, 255); font-size: 12pt;">Description</span></strong></td></tr><tr style="height: 30px;"><td><strong data-pasted="true">TicketID&nbsp;</strong></td><td>&nbsp;Number</td><td style="text-align: left;"><p data-pasted="true">&nbsp;No</p></td><td style="text-align: left;"><p data-pasted="true">This parameter should be set to the ticket ID</p></td></tr><tr style="height: 30px;"><td id="name"><strong data-pasted="true">ConversationThread</strong><br></td><td>&nbsp;String</td><td style="text-align: left;"><p data-pasted="true">&nbsp;No</p></td><td style="text-align: left;"><p data-pasted="true">This parameter should be set to the conversational thread on the ticket</p></td></tr><tr style="height: 30px;"><td id="note"><strong>DocumentationUrl</strong><br></td><td>&nbsp;String</td><td style="text-align: left;"><p data-pasted="true">&nbsp;No</p></td><td style="text-align: left;"><p data-pasted="true">This parameter should be set to the URL</p></td></tr></tbody></table><p><br></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImRkMjczYWFhLTAwN2ItNDY4OC1hNTU1LTA4NTQxNGUzNWYxZSJ9.v8ae0LKoDZkeZFPRwpD7AuchhQFs09EdfvJasVCJ89A" class="fr-fic fr-fil fr-dib" width="1033" style="width: 1035px; height: 337.328px;" height="337"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 5. Input Variables</strong></span></p><p><br></p><p>Finally you will need to determine which functions the AI will have access to. For the Closure Review Agent, deselect &quot;Include all system functions&quot;, and add the following functions to the functions table:</p><p><br></p><p data-pasted="true"><br></p><table class="styled-table grid" style="width: 64%; margin-left: 20px; height: 102px;"><colgroup><col style="width: 37.482%;"></colgroup> <colgroup><col style="width: 43.7698%;"></colgroup> <colgroup><col style="width: 18.7482%;"></colgroup><tbody><tr style="height: 41px;"><td style="text-align: left; background-color: rgb(0, 204, 248);"><strong><span style="color: rgb(255, 255, 255); font-size: 12pt;"><strong data-pasted="true"><span style="color: rgb(255, 255, 255); font-size: 12pt;">&nbsp;Name</span></strong></span></strong></td><td style="text-align: center; background-color: rgb(0, 204, 248);"><strong><span style="color: rgb(255, 255, 255); font-size: 12pt;">&nbsp;Description&nbsp;</span></strong></td><td style="text-align: center; background-color: rgb(0, 204, 248);"><strong data-pasted="true"><span style="color: rgb(255, 255, 255); font-size: 12pt;">Use</span></strong></td></tr><tr style="height: 30px;"><td><strong data-pasted="true">CF_Get_Quality_Rubric&nbsp;</strong><br></td><td><p data-pasted="true">Use this function to get detailed information for one article</p></td><td style="text-align: left;"><p data-pasted="true">Get One Article</p></td></tr><tr style="height: 30px;"><td id="name"><strong data-pasted="true">CF_Add_Review_Note</strong><br></td><td>Use this function to add a note to the ticket<br></td><td style="text-align: left;"><p>Add Note to Ticket</p></td></tr></tbody></table><p><br></p><p data-pasted="true"><strong><em>Note: The <strong data-pasted="true">CF_Get_Quality_Rubric&nbsp;</strong>function pulls Article ID 45. You must have an Article outlining how to evalutae the quality of Ticket Closure, and this must be updated in the Instructions to pull the relevant Article ID.</em></strong></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4ZTFjODgyLTcwNjgtNGI4Ny05MzE2LTI3OGFlZjQzYmYxNyJ9.Z6u4ZpjtDKoVqgYFWHo78xWwKX9xbqg9nHFcWkV0BUc" class="fr-fic fr-fil fr-dib" width="1035" style="width: 1037px; height: 478.507px;" height="479"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 6. Agent Functions</strong></span></p><p><br></p><p><span style="font-size: 12pt;"><strong>Creating the Runbook</strong></span></p><p data-pasted="true">In order for the Dispatch Agent to run on a Ticket you will need to create a Runbook in your instance. The Runbook determines when the Closure Review Agent is triggered, and allows the &quot;ConversationThread&quot; variable to be populated, updating the AI instructions dynamically based on the information obtained via a SQL query.</p><p><br></p><p data-pasted="true">In Configuration &gt; Integrations &gt; Custom Integrations, click the &quot;Integration Runbooks&quot; button. Click &quot;+ New&quot; to create a new Runbook.&nbsp;</p><p><br></p><p>Set a name for the Runbook, and make sure the &quot;Enabled&quot; checkbox is selected.&nbsp;</p><p><br></p><p><img data-fr-image-pasted="true" src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEzNmQzOTkyLWQyNWQtNGRlYy1iNDgyLWFjZjc4YzU0YzEzZiJ9.PVil3wZO_0cIY_XRve6DQMOS3uphfwP8Pi7NfM9Pkxk" width="1060" height="556" style="box-sizing: inherit; border-style: none; cursor: pointer; padding: 0px 1px; user-select: none; max-width: calc(100% - 10px); min-width: 10px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; width: 1062px; height: 556.382px;" data-pasted="true" class="fr-fic fr-fil fr-dib"><br></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 7. Creating a Runbook</strong></span></p><p><br></p><p data-pasted="true">Further down the page, set the &quot;Runbook Start Access&quot; to &quot;Can only be started from Halo (e.g. through an Action, Event or Workflow)&quot;, then scroll down and add the trigger &quot;Action added by Agent&quot; to the events table.</p><p><br></p><p><img data-fr-image-pasted="true" src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNmZmNkYTcyLWFjMmQtNDAwNi1iZmQ4LTdjNTgxY2I3OGUxZCJ9.4geLsq4F4RQ0sP0CZQJHiVBphdflbpTEb4JolNjQffQ" width="1066" height="550" style="box-sizing: inherit; border-style: none; cursor: pointer; padding: 0px 1px; user-select: none; max-width: calc(100% - 10px); min-width: 10px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; width: 1068px; height: 549.614px;" data-pasted="true" class="fr-fic fr-fil fr-dib"><br></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 8. Settings for starting the Runbook</strong></span></p><p data-pasted="true"><br></p><p style="box-sizing: inherit; margin: 0px; line-height: 1.4285em;" data-pasted="true">The &quot;Action added by Agent - Resolved (Resolve Ticket)&quot; trigger will show a dropdown when selected. Here set the Action that will trigger the Runbook to your &quot;Resolved&quot; Action. Apply any relevant conditions to restrict when the Runbook will trigger by adding them to the table. &nbsp;</p><p style="box-sizing: inherit; margin: 0px; line-height: 1.4285em;"><br></p><p style="box-sizing: inherit; margin: 0px; line-height: 1.4285em;"><img data-fr-image-pasted="true" src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImM4NDAzZGQ4LTg2YjAtNGE1My1iMmNiLTk1YzIwMzdkZmYwZiJ9.AJG8LgQ_7DmIRKKbjIyMsxQKLDXFEaZt3DmKs58Jhys" width="546" height="651" style="box-sizing: inherit; border-style: none; cursor: pointer; padding: 0px 1px; user-select: none; max-width: calc(100% - 10px); min-width: 10px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; width: 548px; height: 650.75px;" data-pasted="true" class="fr-fic fr-fil fr-dib"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 9. Runbook trigger</strong></span></p><p><br></p><p data-pasted="true">Now save the Runbook, and select &quot;Import from JSON&quot;.</p><p><br></p><p>Download the file entitled &quot;halo-integrationrunbook&quot; linked at the end of this guide (Only available when viewing via the <a href="https://support.haloservicedesk.com/portal/kb?id=3000" target="_blank" rel="noopener noreferrer">Halo Portal</a>).</p><p><br></p><p>Copy the contents of this file, and paste this into the JSON field.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJkZjI0Zjc5LTU1OTAtNDQ4Ny1iNWYzLWI5YTJiOWNkMzFmZCJ9.BJXjId9MBXLKZlZ9JuldxzlO-uZKV0Sr9kiJFwSpYA0" class="fr-fic fr-fil fr-dib" width="1149" style="width: 1151px; height: 662.409px;" height="662"></p><p data-pasted="true"><span style="font-size: 10pt;"><strong>Fig 10. Importing Runbook JSON</strong></span></p><p><br></p><p data-pasted="true">Save the JSON and move to the Flow Chart tab.&nbsp;</p><p><br></p><p>You will see a Runbook Flow Chart similar to the below. Change back to &quot;Edit&quot; mode and click the edit icon on the Process Agent step.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImI2NTUwMjlkLThiMTAtNDc5Zi04ZTExLWRkODk5YzI1MjBlNyJ9.CPU7SQcNDydGzXdI-Dyqt49Bg1FnK5xrJ4KIoj1HuZ4" class="fr-fic fr-fil fr-dib" width="1143" style="width: 1145px; height: 655.846px;" height="656"></p><p data-pasted="true"><span style="font-size: 10pt;"><strong>Fig 11. Closure Review Agent step</strong></span></p><p><br></p><p data-pasted="true">Select your Closure Review Agent from the Process Agent dropdown, and the instructions will appear below.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYwYTAzN2Q0LWM4YzAtNGYzMC1iODkwLTk1NDgwNWY3ZWYyMyJ9.Ri5THikV8S6AyVSPHTvqEr-XS2AnSK05slslwuatFAo" class="fr-fic fr-fil fr-dib" width="1148" style="width: 1150px; height: 543.108px;" height="543"></p><p data-pasted="true"><span style="font-size: 10pt;"><strong>Fig 12. Setting the Closure Review Agent</strong></span></p><p><br></p><p data-pasted="true">Now save the Runbook.</p><p><br></p><p data-pasted="true"><strong><span style="font-size: 14pt;">The Closure Review Agent in Action</span></strong></p><p>When a Ticket is closed and meets the criteria specified for the Runbook to trigger (in this example, the Custom Field &quot;AI Closure Review&quot; is selected), then Runbook will be triggered.&nbsp;</p><p><br></p><p>The Runbook will run a SQL query to find information about the Actions on the Ticket. This information is stored in the &quot;ConversationThread&quot; variable and is used alongside the Ticket Quality Evaluation Rubric Article to establish a rating and feedback for the Ticket&#39;s closure. &nbsp; &nbsp;</p><p><br></p><p>Once the Closure Review Agent step has been completed you will see a Note provided by the Agent providing a score and feedback on the closure. &nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjkwZjU3MzdhLTM0NDAtNGQzMi1iNjlmLWU2ZGEyMTY0NGExNyJ9.gZSokzOzpaBeH2EiZJyY7NPuC1-b4UR8rpuHpAPTI7I" class="fr-fic fr-fil fr-dib" width="1099" style="width: 1101px; height: 676.769px;" height="677"></p><p data-pasted="true"><span style="font-size: 10pt;" data-pasted="true"><strong>Fig 16. Process Agent on a Ticket</strong></span></p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.