Use Ask Lex to review Halo tickets, make controlled updates and turn resolved issues into reusable documentation. Halo defines the available actions and workflow rules; Lex calls the tools you enable.
Configure the actions your team needs, then make them available to Ask Lex. Adapt the example names, fields and workflow steps to your service desk. Connecting Halo does not create these custom tools automatically.
Connect Halo first
Follow Connect Ask Lex to HaloPSA for the MCP endpoint, OAuth application registration and per-user sign-in. Use the exact Redirect URL displayed in Lexful’s connector editor and set Scope (optional) for the Halo tasks you need. Save before connecting, then refresh and enable your tools. Changing or clearing a saved scope signs everyone out of the connector; each user must reconnect.
This is separate from Halo data sync. The connector performs tasks during an Ask Lex conversation; it does not turn Lexful into a replacement ticket queue.
Build the Halo workflow before exposing tools
There are three separate pieces: a ticket action defines the fields and behavior, a workflow step allows that action on a ticket, and an MCP tool lets Ask Lex call it. Creating a tool does not automatically add its action to a workflow.
1. Prepare the ticket actions
Open Configuration → Tickets → Actions. Start with your existing service-desk actions where they already implement the behavior you want.
Triage Ticket: expose the triage fields you intend to change, such as priority, category, impact and urgency.
Internal Note: expose Note and the status/time fields you need. Set Hide from Contact to Yes and keep customer email off.
Re-Assign, Escalated, Close and Re-Open: use the corresponding actions from your process. Review their required fields, assignment defaults and resulting status rather than relying on the action name.
Reply: use the customer-facing reply action. Check its recipient, email behavior and status defaults separately from Internal Note.
Update Ticket Subject: create the action and runbook described below. Its required Note becomes the new subject.
2. Add the actions to the right workflow steps
Open Configuration → Tickets → Workflows and locate the workflow used by your target tickets.
For initial testing, clone that workflow and give the copy a clear test name. Editing an in-use workflow can affect tickets already on its steps.
Open the step where technicians should use the action. For example, Start - Service Desk.
Add an Allow Actions rule and select Triage Ticket.
For an edit that should leave the ticket on the same workflow step, choose the corresponding remain-on-step outcome. For example, choose Remain at Service Desk.
Add Update Subject and the other actions needed on that step. Repeat on other steps where you want those actions available. Preserve the intended transitions for escalation, closure and reopening rather than making every action stay on the current step.
Save the workflow. On a designated test ticket, use its Workflow field to select the test copy, then reload the ticket.
Check that the intended actions now appear on the ticket. If an action is absent, resolve its workflow availability before testing it through Ask Lex.
To allow triage without moving the ticket to another workflow step, add Allow Actions → Triage Ticket → Remain at Service Desk to Start - Service Desk. Use the corresponding step and remain-on-step option in your workflow. Add Update Subject to each step where technicians should be able to rename a ticket.
3. Map each action to an MCP tool
Open Configuration → AI → MCP Server → Tools → Add.
Choose Use a specific Action, then select the Halo action you prepared.
Give the tool a clear name and description. For example, bind
update_ticket_internallyto Internal Note,triage_ticketto Triage Ticket, andset_ticket_subjectto Update Ticket Subject.Review the exposed parameters and required fields. Repeat for your reassignment, escalation, close, reopen and reply actions.
The history tool below uses Execute a Runbook instead of Use a specific Action. Runbooks use the execution identity configured in Halo; choose its access and enabled tools to suit your team.
4. Refresh Lexful and test the complete path
Open Platform → Integrations → Connectors in Lexful and reopen Halo.
Select Refresh tools, enable the intended mappings and save. Leave retired or experimental mappings disabled.
Enable Halo in an Ask Lex conversation and request one specific change on the test ticket.
Reload the ticket in Halo. Verify the requested field, note visibility, time or assignment, and confirm unrelated fields stayed unchanged.
For close and reopen, verify both the workflow behavior and the ticket’s current status. A workflow step and a ticket status are separate; a recorded Re-Open action alone does not prove the ticket is no longer Closed.
Once the test copy behaves correctly, apply the intended action rules to your operational workflows through your normal Halo change process. You do not need to move all tickets to the test workflow.
Choose tools by task
The names below are suggested names to enter when configuring your tools in Halo. Use the fields and allowed choices exposed by your own actions.
Triage:
triage_tickettakesticket_idand the requested fields, such aspriority,impact_level,urgencyorcategory_1. Send only the changes requested.Private notes, status and time:
update_ticket_internallyusesticket_id, withnote,statusandtime_takenas needed. Time useshh:mm, for example00:05. Keep Hide from Contact enabled on the action. Only include a client CRM note when you intend to update the client’s CRM record.Handoffs: map
reassign_ticketandescalate_ticketto your reassignment and escalation actions. Include the justification required by your escalation action. Check the resulting team and agent.Close and reopen: map
close_ticketandreopen_ticketto your workflow actions. A recorded Re-Open action can leave the ticket Closed; verify current status and apply an explicit status update when your workflow requires it.Customer replies:
reply_to_customeruses the configured reply action. Draft first, and send only when requested. A reply recorded in Halo is not proof of inbox delivery.
Keep private notes and customer replies separate. The native add_note_to_ticket tool posts a public note. Check visibility, recipient and any automatic status changes on the action you choose.
Set up a reliable subject change
Create a tool named set_ticket_subject that accepts ticket_id and note, where note contains the new subject. Use a ticket action to queue a runbook that updates the ticket’s subject.
Under Configuration → Tickets → Actions, create Update Ticket Subject with button label Update Subject.
Set System Use to Send Webhook/Queue Integration Runbook (Send after Action is saved) and select the subject-update runbook.
In Field List, add the standard Note and make it required. In Defaults, enable Hide from Contact and keep email off.
Allow Update Subject on the intended workflow steps.
Under Configuration → Integrations → Custom Integrations → Integration Runbooks, configure the runbook with Halo-only start access. Validate a positive linked ticket ID and populated note, then use Halo API Action → Update Ticket. Finish with success or failure without an automatic retry.
In the MCP tool configuration, bind
set_ticket_subjectusing Use a specific Action → Update Ticket Subject, then refresh it in Lexful.
Use this Update Ticket payload:
{"id":<<action^ticket_id>>,"summary":<<action^note>>}
Use Halo’s JSON variable substitution rather than adding quotes around the note variable. The action’s success means it was accepted; reload the ticket after the queued runbook completes and compare the saved subject.
Read ticket history for documentation
Create a tool named get_ticket_history that accepts ticket_id and returns the ticket with its action timeline, including internal notes and contact-visibility flags. Use this timeline to give Lex the context needed for troubleshooting and documentation. An empty conversation in a ticket response does not necessarily mean the ticket has no history.
Configure the history runbook:
In Integration Runbooks, create Get Ticket History with Halo-only start access.
Start with Halo API Action → Get Ticket, using key
ticket_idand value<<request^ticket_id!>>.On success, use a Halo SQL action to retrieve the ticket timeline. Use the ID returned by Get Ticket to scope the query.
Map the SQL step’s
responseto an Array output namedticket_timeline, then return it with the ticket fields.In the MCP configuration, bind
get_ticket_historyto Execute a Runbook → Get Ticket History, choose Execute and await completion, and require numericticket_id.
Use this query to retrieve actions for the selected ticket:
SELECT ActionNumber AS action_id, ActOutcome AS outcome, Note AS note,
Whe_ AS occurred_at, Who AS author,
CAST(ActionHide AS bit) AS hidden_from_contact
FROM Actions
WHERE FaultID = <<apiresponse1^id>>
ORDER BY ActionNumber
The return mapping is:
{
"ticket_id":<<apiresponse1^id>>,
"subject":<<apiresponse1^summary>>,
"status":<<apiresponse1^status_name>>,
"description":<<apiresponse1^details>>,
"timeline":<<ticket_timeline>>
}
Match the step references above to the names in your runbook. Check the runbook’s configured execution identity and access before enabling it for your team, particularly because it returns internal notes. Refresh tools in Lexful and enable only the current history mapping.
Prompts your team can adapt
Replace the example ticket reference with a ticket you are authorized to work on. The update examples change ticket data when executed.
Read: “Show me Halo ticket [ID], its current status, customer replies and internal resolution. Cite action IDs and label which entries the contact can see.”
Triage: “Set impact to Single User Affected and urgency to Medium on ticket [ID]. Leave the subject, priority and assignment unchanged.”
Subject: “Rename ticket [ID] to ‘VPN sign-in fails for one user’. Change only the subject and verify the saved title.”
Private note and time: “Add an internal note to ticket [ID]: ‘Reproduced the sign-in error after reconnecting’, and log five minutes.”
Escalate: “Escalate ticket [ID] with justification ‘Reproduced the issue; Tier 2 needs to review the VPN logs’. Confirm the resulting team.”
Reopen: “Reopen ticket [ID] and verify its current status.”
Draft a reply: “Draft a customer reply for ticket [ID] saying we reproduced the issue and are investigating. Show me the draft; do not send it.”
Draft an SOP update: “Use the resolved ticket [ID] to draft a reusable troubleshooting SOP update. Cover symptoms, confirmed cause, fix and validation. Cite the ticket and action IDs, omit client-specific details, label inferences and leave the draft unpublished.”
For repeatable tasks, capture your team’s instructions in a Lexful skill. The skill guides how Lex works; the Halo tools and permissions determine which actions it can perform.
Verify the result
After an update, check the persisted field or action in Halo before reporting completion. Verify time and note visibility separately, and check current status rather than inferring it from an action name. For history, compare a known public reply and internal resolution with the timeline returned to Lex.
If an action is unavailable, check the active workflow step. If tools are missing or duplicated, refresh discovery, select the intended mapping and save; leave retired or experimental tools disabled. Reconnect after permission changes if the existing token lacks the new scope.
Review SOP drafts against their cited ticket actions before saving or publishing. Missing history is a gap to investigate, not a reason to invent a cause or resolution.