Log IT helpdesk tickets through AI chat

Workflow purpose

This guide demonstrates how to use Proto's AI agent as the front door to your IT helpdesk – fixing the everyday problems staff can sort out themselves, and logging a complete ticket for everything else.

The workflow first checks for known outages, so the helpdesk isn't flooded with the same report. It then answers from your IT knowledge base – password resets through your identity provider's self-service page, VPN set-up, printer problems – and asks whether that solved it. If not, it collects the device, a screenshot and the details, lets AI set the category and urgency, and opens a ticket for the right IT team. Urgent problems go straight to an IT live agent.

It is part of the same employee AI agent as HR policy questions, so staff have one place to ask for help.

Who can benefit from this guide:

  • IT service desks in ministries, agencies and public bodies
  • Banks and digital finance providers supporting branch and back-office staff
  • Telecom operators with shop, call centre and field teams
  • Hospitals where clinical staff can't wait in a phone queue for IT
  • Shared IT services supporting several organisations

Log IT helpdesk tickets

This workflow solves common IT problems from your knowledge base and logs a categorised ticket when self-help isn't enough. See how to build an IT helpdesk workflow.

Just starting with the platform?
For initial setup of your AI agent – including workspace setup, agent training, and channel deployment – please start here. This workflow guide assumes your AI agent is set up and ready for more advanced configurations.

1. Create a trigger

Start the flow when a staff member reports an IT problem or asks for IT help.

  • Navigate to the Workflows tab in the AI agent settings.
  • Click New workflow and select Message received as the Workflow type.
  • Name the trigger (e.g. “IT Helpdesk”) and add a short description (e.g. “Triggers if a member of staff has a problem with a computer, laptop, phone, password, account, email, VPN, printer, software or network, or wants to log an IT ticket.”).
  • Add training phrases (e.g. “I forgot my password”, “The VPN won’t connect”, “My laptop is really slow”, “The printer on floor 3 isn’t working”, “I need help from IT”).

Deploy the AI agent on your signed-in intranet Webchat, where {_customer.email} identifies the person, and on WhatsApp – the channel staff can still reach when they’re locked out of their computer.

2. Load the IT knowledge base

Self-help answers only work if they come from your own guides.

Open the AI agent’s Knowledge tab › Knowledge base:

  • Add URL for the IT self-help pages on your intranet, choosing all pages under the IT section and using Excluded pages for internal runbooks and admin-only pages.
  • Upload file for step-by-step guides – VPN set-up, connecting to a printer, setting up email on a phone – as PDFs.
  • Paste snippet for short facts that change often, such as the self-service password reset link and the IT service desk’s hours.

Check that Large language model is on under Personalization on the Agent tab, and add to the Agent persona: “You help staff with IT problems using only the IT knowledge base. You never ask for a password, PIN or one-time code, and you never tell anyone how to get around a security control.”

3. Check for known incidents

Tell people about an outage before they spend time describing it.

Add a Send API action:

  • HTTP method: GET
  • URL endpoint: your IT service management tool’s endpoint for open major incidents
  • Headers: the authorisation key your system requires
  • Resulting variable: incidents

Add a Branch: if _.len(incidents) > 0, add a Send message:

“There’s a known issue right now: {incidents[0][“title”]}. IT is working on it – next update expected {incidents[0][“next_update”]}. Is this what you’re contacting us about?“

with quick replies Yes, that’s it | No, something else. Under Yes, that’s it, send “Thanks – no need to log a ticket. Updates are on the IT status page.” and add a Close chat action. Live agents can tag these chats known-incident to count how many people each outage affected. Under No, something else, or under Error and Timed out, continue to Step 4.

4. Offer self-help from the knowledge base

Many problems are solved in two minutes with the right steps.

Add an LLM Processing action:

  • Input: {_user_input}
  • Model: your preferred model
  • Temperature: 0
  • System prompt: “You are an IT helpdesk. Using only the IT knowledge base provided, give numbered steps (no more than six) that the staff member can follow themselves. For forgotten passwords or locked accounts, always give the self-service password reset link from the knowledge base. If the knowledge base doesn’t cover the problem, or the fix needs admin rights, reply only with NONE.”
  • Use Knowledge info to provide more context: on
  • Resulting variable: it_answer

Add a Branch. If it_answer == "NONE", skip to Step 6. Under Else, add a Send message with {it_answer}.

5. Ask whether it worked

Close the chat when self-help solved it, and log a ticket when it didn’t.

Add a Send message:

“Did that solve it?”

with quick replies Yes, it’s fixed | No, still not working.

  • Under Yes, it’s fixed, send “Great – glad it’s working.” and add a Close chat action. These are problems the helpdesk never had to touch.
  • Under No, still not working, send “Sorry about that – let’s get it to the IT team.” and continue to Step 6.

6. Collect the ticket details

Give the IT team what they would otherwise phone back to ask.

Add an Ask survey action. Action title: IT ticket details

Field Variable Type Invalid reply
Device or asset number (on the sticker on your device) asset_number Text Please enter the asset number, or skip if you don’t know it
Where are you working today? location Text Please give your building and floor, or say you’re remote
A screenshot or photo of the error screenshot Attachment Please upload an image of the error
A phone number IT can call you on callback_phone Phone Please enter a valid phone number

Turn on Enable skip for the asset number and screenshot. On signed-in Webchat, take the email from {_customer.email}; on WhatsApp, add an Email field, or use {_channel_profile.phone_number} in place of the phone field.

7. Set the category and urgency with AI

Let the AI agent read the conversation, so staff don’t have to choose from IT’s own categories.

First, create two single-select custom fields for tickets: IT category (Accounts and passwords, Email, Hardware, Network and VPN, Printing, Software, Other) and Urgency (Low, Medium, High, Critical).

Add an Auto fill field action that fills both fields, with the resulting variable it_fill. It reads the last 15 messages of the conversation, so the person’s own description and the self-help they tried both count. Agree with IT what each urgency means – for example, Critical when a whole team or a patient-facing or customer-facing service can’t work, High when one person can’t work at all – and check a sample of filled tickets each week.

Under Success, add a Set variable action for it_category (it_fill["IT category"]["new_value"]["name"]) and urgency (it_fill["Urgency"]["new_value"]["name"]). Under Error, set it_category to Other and urgency to Medium, so the ticket is still created and triaged by a person.

8. Send urgent problems to an IT live agent

Someone who can’t work at all shouldn’t wait for a ticket queue.

Add a Branch: if urgency == "Critical" or urgency == "High", add a Send message – “This sounds urgent. I’m connecting you to the IT service desk now.” – and a Live agent handoff action assigned to your IT service desk team, with Live agent availability check on. The live agent sees the self-help steps already tried, the asset number and the screenshot in the Inbox.

Under If there is no live agent online, continue to Step 9 and add urgent to the ticket’s tags. Under Else, continue to Step 9.

9. Create the ticket for the right team

Route each ticket by category, with everything attached.

Add a Branch on it_category, with one Create ticket action per route – for example:

Condition Assignee
it_category == "Network and VPN" Network team
it_category == "Accounts and passwords" Identity and access team
it_category == "Hardware" or it_category == "Printing" Desktop support team
Else IT service desk team

In each Create ticket action:

  • Subject: IT – {it_category} – {location}
  • Description: the problem in the person’s words, the self-help steps tried ({it_answer}), the asset number and the callback number
  • Full name and Email: from the staff record or the survey
  • Attachment(s): screenshot
  • Custom fields: IT category and Urgency from Step 7
  • Auto-apply tags: it-helpdesk, plus urgent where it applies
  • Email template (to the person): a confirmation with the ticket reference

Then send: “Your ticket {_new_ticket.short_id} has been logged with the {it_category} team. They’ll contact you by email or on {callback_phone}.”

The teamspace’s overdue rule in Settings › Tickets › Overdue rules applies to every ticket. For faster handling of urgent ones, have the IT team Create view in the Inbox filtered on the urgent tag and the Urgency field, and pin it.

10. Test the flow

Validate every path before going live using the AI agent tester side panel.

  • Say “I forgot my password” and confirm the answer gives the self-service reset link and never asks for the password.
  • Make the incidents endpoint return an outage, answer Yes, that’s it and confirm no ticket is created.
  • Describe a broken printer, answer No, still not working, upload a screenshot and check the ticket’s category, assignee and attachment.
  • Say “Nobody in our branch can log in” and confirm the urgency is Critical and the chat goes to an IT live agent.
  • Build and test in an undeployed version – Duplicate the live version on the Workflows tab – then Deploy when every path passes.

Finalise the AI agent deployment by configuring your preferred channels and languages.