StableN/ASyncedN/A

Process Agent Use Case: 1st Line Support Agent

Updated Oct 23, 20266 viewsView on usehalo.com

In this guide we will cover:

  • What is the AI 1st Line Support Agent?
  • 1st Line Support Agent in Action
  • Create Runbook to Allow the Agent to send Emails
  • Create Custom Field to Control when the Agent is Triggered
  • Creating an API Application (Versions prior to v2.250 only)
  • Creating the Process Agent
  • Creating the Runbook

What is the AI 1st Line Support Agent?

The Halo AI 1st Line Support Agent analyses incoming tickets in real time, cross-referencing your historical ticket data and knowledge base to identify accurate, context-aware troubleshooting and resolution steps. The Agent then delivers these steps to users as a polished, professional response, automatically. Resulting in a touch-free resolution experience, where routine enquiries are handled quickly and consistently. This frees up your team to handle more complex enquiries that require human expertise. Driving greater efficiency, faster resolution times, and a leaner, smarter service desk. 

The 1st Line Support Agent will be built into instances of Halo used by ITSM teams, that were deployed after September 2026. If this is already built into your instance no setup is required, you can refer to this guide to see how the agent should function out of the box (OOTB) and how it can be customised. If this Agent is not already built into your instance, this guide will walk you through how to build this into your instance. 

Pre-requisites:

  • A default AI connection must be set for your instance
  • Ticket embeddings must be enabled
    • Your chosen vector search database must contain some embeddings (vector scores) - in other words you need to have indexed your historical tickets
  • Article embeddings must be enabled
    • Your chosen vector search database must contain some embeddings (vector scores) - in other words you need to have indexed your articles

Note: To get the most out of the 1st Line Support agent we recommend having a strong store of embeddings in your vector search database, both for tickets and for articles. 

1st Line Support Agent in Action (out of the box)

Once a new incident ticket has been logged agents can complete the initial actioning of the ticket, this can include triaging the ticket, closing the ticket, or reaching out to the user for clarifying information. 

Fig 1. Enabling 1st Line Support agent for ticket

When actioning a new incident the agent will need to set whether the ticket is appropriate for the AI 1st Line support agent to handle using the "AI Auto Resolution" field. 

Then they can respond to obtain any clarifying information about the issue. 

Fig 2. Agent Responding to User

Note: The Agent has been set OOTB to not run automatically on tickets until an actual agent has reviewed the ticket and deemed it appropriate for the Agent. But this can be customised should you like the agent to complete all first responses automatically. 

Once the user responds (the ticket is updated with a user update) the 1st Line Support Agent will run, generating resolution steps and sending these out to the user automatically. 

Fig 3. Email sent to end user

Note: If no tickets or articles can be found that relate to this ticket the Agent will add an audit note to the ticket to state this and will not automatically email the user. 

The agent will also leave a note on the ticket to summarise what it has done (for auditing purposes), and set's the ticket's status back to "with User" so the ticket is on SLA hold. 

Fig 4. Auding note and ticket Status

Any further updates from the user will be automatically responded to by the 1st Line support agent.

Breakdown of the Process

  • The 1st Line Support agent is triggered each time the user updates the ticket, provided the ticket has "AI Auto Resolution" enabled.
  • The AI Agent is provided with the whole ticket conversation so far.
  • The Agent searches through similar historical tickets and knowledge base articles to construct a suggested resolution. 
  • The Agent constructs an email with resolution steps and sends this to the user.
  • The Agent adds an auditing note to the ticket outlining what it has done.
  • The ticket is placed on SLA hold "with User" until the user responds again. 

Create Runbook to Allow the Agent to send Emails

In order for the Agent to email users you will need to create a runbook in your instance. This runbook can be downloaded from our online repository, it is called "Halo AI - Triggered Automation: Send Email to User". Alternatively, the JSON required for this runbook can be found attached to this guide "Halo AI - Triggered Automation Send Email to User" (if you are viewing this guide on our website you will need to obtain the attachment from our portal here).

Once created the flow for the runbook should look as shown in Figure 5. 

Fig 5. Runbook to email user

Once you have the JSON head to Configuration > Integrations > Custom Integrations > Integration Runbooks > Import from JSON > Paste the JSON into the box provided. 

Create Custom Field to Control when the Agent is Triggered

In order for the agent to be triggered the ticket must have the field "CFAIAutoResolution" enabled on the ticket, this gives you granular control over which tickets have the agent run. Therefore, this field will need to be created and added onto the field list of the tickets you wish to use it on. 

Note: This is optional if you would not like the the Agent running to be based on a custom field.

Head to Configuration > Custom Fields > New, give the field the following configuration:

  • Field Name: AIAutoResolution
  • Field Label: AI Auto Resolution
  • Type of Field: Single Selection
  • Values: Yes, No

Fig 6. CFAIAutoResolution

Once created, ensure you add it to the field list of the ticket types you would like the 1st Line Support Agent to run on. 

Creating an API Application (Versions prior to v2.250 only)

If you are on a versions prior to v2.250 you will need to create an API application, this will be given to your process agent to authorise it access you execute requests in your Halo instance. On v2.250+ you can skip this section and head to "Creating the Process Agent" as an application will be created for you automatically when the agent is created. 

To create an API application head to Configuration > Integrations > Halo API, and click on the "View Applications" button. 

Head to Configuration > Integrations > Halo API, and click on the "View Applications" button. 

Fig 7. View Applications

Click "+ New" to create a new API Application. 

Give this application a sensible name and set the Authentication Method to "Halo Automation Identity". 

Fig 8. Create API application using Halo Automation identity

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 "Application identity" 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 "Identity Roles" field can be used to determine which roles to use as the base level permissions.

Now under the permissions tab assign the application the following permissions:

  • read:tickets
  • edit:tickets
  • read:kb

Creating the Process Agent

The process agent can either be created manually, or if you are on v2.250+ you will have the option to download the "Halo AI -1st Line Support" runbook from the online repository. When downloading this from the repository the agent will be created for you automatically, in which case you can skip this step and start using your Agent right away.

To create a Process agent, head to Configuration > AI > AI Agents > Process Agents > New. Give the Agent a name and choose the AI connection method to use. 

Then in the "Halo Application to authorise as" field select the application created earlier, or if you are on v2.250+, you have the option to create an application identity to authorise the agent with here. 

Fig 9. Create the Process Agent

Instructions

In the "Instructions" field you need to enter the instructions given the to Agent. The instructions required can be found in the "1st Line Support Agent - Process Agent Instructions" file attached to this guide (if you are viewing this guide on our portal you will need to obtain the attachment from our portal here). 

Fig 10. Instructions for Agent

"Force JSON response" does not need to be enabled. 

Add Input Variables

Now you will need to the variables shown in Figure 11 to the agent. 

Name
Data Type
MandatoryDescription
TicketID  Number

 No

This parameter should be set to the ticket ID
TicketSymptom String

 No

This parameter should be set to the ticket subject.
ConversationThread String

 No

This should be set to the details of the incoming ticket.
UserInformation String

 No

This parameter should be set the conversation thread of the ticket thus far.

Fig 11. Input Variables to add to the Agent 

These variables allow data to dynamically be used in the prompt for the agent based on the ticket the agent is being used on. 

Add Functions

No you will need to disable "Include all system functions" and add the functions to the variables shown in Figure 12. 

NameUseDescription
Get_Matching_Tickets_and_KBs

 Get matching Articles and Tickets for a Ticket

Use this function to get the semantically matched tickets and knowledge base articles for the ticket record.

Get_One_Article

Get One Article

Use this function to get the semantically matched tickets and knowledge base articles for the ticket record.

Search_Knowledge_Base

Search Knowledge Base

Use this function to get detailed ticket information for one ticket.

Get_One_Ticket

 Get One Ticket

Use this function to send an email back to the user. Ensure that the relevant documentation has been searched and format the response as a technician an ITSM Service Desk.

Send_Public_Email

 Execute a Runbook

Runbook : Halo AI - Triggered Automation: Send Email to User

Runbook execution mode: Execute and await completion

Use this function to send an email back to the user. Ensure that the relevant documentation has been searched and format the response as a technician an ITSM Service Desk.

Add_A_Note_To_Ticket

Add Note to Ticket

Use this function to add a note to the ticket. 
Resolve_TicketUse a Specific Action
Action: Resolved (Resolve Ticket)
Use this function to close the ticket when you determine the user's issue is resolved. This could be when they confirm they no longer need help or the fix provided has worked. 

Fig 12. Functions to assign to the Agent 

Note: CF_ will be prepended to these functions names after saving.

The function "Send_Public_Email" also requires some additional parameters to be set. 

Fig 13. Send_Public_Email function

Set the parameters here as follows:

Name
Data Type
MandatoryDescription
TicketID  Number

 Yes

Set this to a Ticket ID. This will be the Ticket ID input from the instructions

EmailBody​ String

 No

This parameter should be set to the full HTML email body we're sending to the end user.

Fig 14. Parameters to assign Function

Creating the Runbook

A runbook is required to trigger the process agent and provide the agent with the information from the ticket. The runbook can be created by either:

  • Importing the JSON required for the runbook manually
  • Downloading the runbook into your instance from our runbook repository (v2.250+)

If downloading the runbook from our online repository the Process Agent required will be created automatically for you, so ensure you have not already created one. 

If importing JSON to create the runbook, the JSON required for the runbook can be found attached to this guide "Halo AI - Agent 1st Line Support", if you are viewing this guide on our website, you will need to navigate to our portal here. 

Once the runbook has been created edit it > Flow Chart Tab > edit the step '1st Line Support Agent Action' > set the "Process Agent" field to use the agent created earlier (if downloading the runbook from the repository this should already be set). 

Fig 15. Select Process Agent to run

This ensures this agent is triggered at this step of the runbook. 

Control/Set when the Runbook Triggers

Now you will need to set when the runbook triggers, this controls when the 1st Line Support Agent is in use. Navigate to the Details Tab > Events section > add an Event. 

OOTB the event will be set to "Ticket Updated by User - All" with the conditions shown in Figure 16. 

Fig 16. Events to trigger 1st Line Support Agent

Setting up as shown in Figure 16 will result in the agent running each time the ticket is updated by the user provided the ticket type is an incident and the field "AI Auto Resolution" field is enabled. 

However, you can customise this if you would like the Agent to come into effect at different times. For example, if you would like the agent to complete initial responses you could set this to trigger after the ticket has been logged, or triaged. 

Now setup is complete and the 1st Line Support Agent is ready to use. 

Referenced by