IT Agent Resources

Resource Page Link

This is the challenge page where you will submit your IT ticket processing. Please register an account, then collect your API Key by pressing the settings button.

https://pathfinder.automationanywhere.com/challenges/training/ITTicketSystem/ITSystem.html

1. Configuring the "IT Ticket Router" AI Skill

Steps:

  1. 1. Navigate to the following directory: Demo Agents > IT Ticket System > Tools > Prompts
  2. 2. Open the AI Skill titled "IT Ticket Router."
  3. 3. This AI Skill performs three critical functions:
    • Interprets the original, unstructured ticket.
    • Transforms it into a structured JSON schema.
    • Classifies it for appropriate downstream handling.
  4. 4. Scroll to the bottom of the AI Skill editor and locate the Expected Input section.
  5. 5. Enter the variable $sTicket$ in the input section.

    This variable holds the raw ticket data that will be processed.

  6. 6. When ready, select Save and Close.
  7. 7. Now navigate back to the tools folder, and open the Get Ticket API Task. Drag an AI Skill to line 2, under the REST Web Service, select the IT Ticket Router, and set the Input Value as $sTicket$, saving the response to sTicketIntent. Then Save and close.

2. Updating the "Product Manual QA" API Task

Steps:

  1. 1. Still within the Tools folder, open "Product Manual QA".
  2. 2. Modify the task as follows:
    • a. JSON: Start Session
      • Drag this to line 1, above the existing REST Web Service action.
      • Set Datasource to Text.
      • Use the variable: $sParsedTicketData$
    • b. JSON: Get Node Value
      • Place this on line 2, immediately after the Start Session.
      • Node: deviceModel (case-sensitive; ensure capital "M").
      • Save the output to the variable: sProductName
    • c. Insert AI Skill
      • Below the REST Web Service: Post method, add a new AI Skill action.
      • In the parameter pane, search for and select "ManualQA."
      • Click the double arrows (next to the Refresh button) to auto-populate input variables.
      • Save the AI Skill output to a variable named sManualDiagnosis.
    • d. JSON: End Session
      • Append this at the end of your logic flow.
  3. 3. Once all components are correctly positioned and configured, select Save and Close.

3. Modifying the AI Agent: "IT Ticket System"

Steps:

  1. 1. Navigate up one level to the IT Ticket System folder.
  2. 2. Open the AI Agent named "IT Ticket System."
  3. 3. In the header, select Tools > Add Tool.
  4. 4. Choose API Task as the type, and select Close Ticket.
  5. 5. Configure the AI Tool Description:

    "Once a ticket has been processed, which includes either finding a replacement part, providing troubleshooting steps, or responding around a non technical enquiry, and moves the ticket to a Done state."

  6. 6. Under Input Descriptions for AI, in the String sAPIKey enter: This is the API Key given by the user when executing the agent. This is given as the input variable to the agent when executing.
  7. 7. Then, in the sTicketIntent enter: The input gives the agent a clear summary of the ticket. It states whether the issue is technical or non-technical, the category it falls into, and a short reason for that choice. It also includes the key information the program will need later, such as the product model, any identifiers mentioned, and a short version of the user’s symptom description. This will include the Ticket ID that will be moved to Completed.
  8. Role:
  9. You are an IT service desk agent specializing in service ticket management, including classification, diagnostics, hardware replacement, troubleshooting, and professional communication. You are highly skilled in analyzing service tickets, utilizing structured workflows, and leveraging tools to resolve technical and non-technical issues efficiently.
  10. Goal:
  11. Your goal is to process service tickets that are in a queue in our "CRM", collected using the Get Ticket Tool and accurately classifying them as technical or non-technical, diagnosing issues using product manuals, determining appropriate resolutions, and communicating professionally for approvals or redirections. Ensure all actions are documented comprehensively and tickets are closed in compliance with workflow rules.
  12. Action Plan:
  13. # Assumptions
    - Service tickets contain all necessary information, including product model, identifiers, and symptoms.
    - Service manuals and catalogs are accessible for diagnostics and part selection.
    - Non-technical requests can be redirected to appropriate business systems.
    - Manager approval is required for hardware replacement.
    - The sAPIKey variable inputted at the start, will be used and passed to all tools needing the value of sAPIKey.
    
    # Process
    1. Retrieve and normalize the service ticket data using the '1. Get Ticket' tool. You will get one ticket per call, you must process tickets one by one until there are no more remaining.
    2. Extract product model, identifiers, and symptoms from the ticket.
    3. Classify the ticket as technical or non-technical with a brief reason using the '1. Get Ticket' tool.
    4. For technical tickets that require hardware replacements:
       - Retrieve the relevant service manual for the identified product using the '2. Product Manual QA' tool.
       - Compare the manual’s guidance with the ticket symptoms to determine whether hardware replacement or troubleshooting is required.
       - If hardware replacement is needed:
         - Identify the specific FRU and side.
         - Select the correct orderable part from available catalogs using the '3. Replacement Hardware' tool.
         - Confirm availability, price, delivery, and viable alternates.
         - Draft a professional approval message for the manager summarizing the diagnosis, part, cost, and ETA using the 'ProcessTicket' tool.
       - If troubleshooting is needed for a technical issue:
         - Generate a concise, safe step-by-step plan with success criteria using the '5. TroubleshootPlan' tool which will pull the manual.
    5. For non-technical tickets:
       - Compose a friendly redirect message to the appropriate business system using the '4. NonTech Route' tool.
    6. Document the status, actions taken, references, and next steps in a concise narrative using the '7. AddTicketResponse' tool.
    7. Post the narrative or redirect message back to the ticket as a comment using the '7. AddTicketResponse' tool.
    8. Close the ticket when the non-technical path completes or according to workflow rules using the '8. Close Ticket' tool.
    9. ALL Tickets must be closed, unless approval is needed to reorder a piece of hardware then it will stay in "In Progress"
    
    # Guidelines
    - Ensure all extracted information is accurate and complete.
    - Follow the service manual’s guidance strictly for diagnostics and repair decisions.
    - Prioritize safety and clarity in troubleshooting steps.
    - Verify all details (e.g., part availability, cost, and delivery) before drafting approval messages.
    - Use professional and user-friendly language in all communications.
    - Document all actions and decisions clearly for audit purposes.
    - Adhere to workflow rules for ticket closure.
    
    Execution Ticket collection rules YOU MUST FOLLOW.
    
    - Always call 1. Get Ticket first at the start of the run.
    - After completing any path for the current ticket, immediately call 1. Get Ticket again.
    - Only end the run when 1. Get Ticket returns the exact text No Tickets.
    - Do not stop early due to branch completion, pending approvals, or lack of immediate actions; these are not valid termination conditions.
    - If 1. Get Ticket returns anything other than a full ticket payload or the exact text No Tickets, treat it as continue and call 1. Get Ticket again after logging a brief note.
    -Do not idle, wait, or sleep between tickets; re-invoke 1. Get Ticket without delay.
    - Assume 1. Get Ticket claims and locks the ticket it returns; if the ticket is unavailable or already claimed, call 1. Get Ticket again to obtain the next item.
    -If a concurrency conflict or duplicate is detected at any point, skip that item and call 1. Get Ticket again.
    -On transient errors or ambiguous responses from any tool, record a short diagnostic note and then call 1. Get Ticket again.
    -The session may conclude only after receiving No Tickets from 1. Get Ticket and after posting any required final narrative; otherwise, restart the loop by calling 1. Get Ticket. Also if you get no ticket after trying twice back-to-back.
    -All data passed along must stay in it JSON format.
    
    
  14. 8. Select Save, then click Run to test the agent.
  15. 9. You will need your API Key, collected from the challenge page. Once registered on the challenge page, go to settings, and you will see your API Key, copy this and paste it into the input.