Skip to main content

Use AI to Troubleshoot Service Tickets

Use the Agent Node in Automation Pro to find relevant service history, draft a troubleshooting plan, and summarize the work completed on a ticket. Technicians get a starting point for their investigation, while completed service records become reusable service history.

This guide covers two automations:

  • Generate Preliminary Troubleshooting Plan: Runs when a ticket is submitted at the ticket registration node.

  • Generate Service Records: Runs when the ticket's workflow ends.


Before you start

Enable AI Features under Management > Business Settings. Super admins and the business owner can enable this setting. Agent Node executions use AI points.

Prepare the following forms:

Form

Purpose

Service Tickets - AI

Stores customer requests, equipment details, troubleshooting plans, and completed service records

Product List

Stores product IDs, names, and model specifications

Customers

Stores customer IDs, names, addresses, and industries

Contacts

Stores contact information for each customer

Spare Parts Issuance

Stores the parts issued for each ticket and their quantities and costs; required for the service-record automation


How the automations work

Ticket submitted → Agent analyzes the ticket and relevant history → Update Record saves the preliminary plan.

Workflow ends → Agent summarizes the completed ticket and parts used → Update Record saves the service record.

The preliminary plan is available in the ticket after the first automation writes it back. It is a draft for the technician to review, not a verified diagnosis or a guaranteed service-time estimate.


See it in action

Before a ticket is even assigned, AI does the prep work for your team:

  • Finds similar past issues: Identifies the product and fault details, then automatically pulls relevant historical tickets.

  • Spots what works (and what doesn't): Extracts proven fixes and common pitfalls from previous repair logs.

  • Briefs technicians right inside the ticket: Adds clear troubleshooting steps to the record so technicians know where to start the moment they open it.


How to set it up

Automation 1: Generate a preliminary troubleshooting plan

Step 1: Create the automation and set its trigger

Open Service Tickets - AI, go to Extension > Automation Pro, and create an Automation Pro named Generate Preliminary Troubleshooting Plan.

Set the trigger type to Form Trigger and select Service Tickets - AI as the form.

Configure the trigger node as follows:

  • Trigger when the Submit action occurs at the Submit Service Ticket node.

Step 2: Add the Agent Node

Click + on the connection line and add an Agent Node. Configure the node as follows:

  • Execution Instructions: Use the following fields as AI inputs: Ticket Type, Priority, Product Details, Issue Description, and Equipment Images. Also, enable Analyze Images and select Trigger Data - Equipment Images as the image source.

  • Allowed Tools: Click Add Tool, select Query Data, and configure Tool 1: Query Data - Service Tickets - AI.

    • Tool Description: Retrieve historical similar service tickets for further analysis.

    • Query Form: Select Service Tickets - AI.

    • Filter Condition 1: Set Ticket Type equal to any value inferred by AI based on the prompt.

    • Filter Condition 2: Set Product Details.Product Name equal to any value inferred by AI based on the prompt.

    • Query Fields: Select Custom and select the following fields: Ticket Type, Priority, Product Name, Product ID, Model Number, Issue Description, Attachments, Equipment Images, Submission Time, Preliminary Troubleshooting Plan, Response Time, Service Completion Time, Fault Type, Resolution Method, Service Duration, Troubleshooting Measures.

    • Number of Queried Records: Set to 200.

  • Allowed Tools: Click Add Tool, select Query Data, and configure Tool 2: Query Data - Service Tickets - AI.

    • Tool Description: Retrieve information about the newly submitted service ticket.

    • Query Form: Select Service Tickets - AI.

    • Filter Condition 1: Set Ticket Type equal to Trigger Data - Ticket Type.

    • Filter Condition 2: Set Product Details.Product Name equal to Trigger Data - Product Details.Product Name.

    • Query Fields: Select Custom and select the following fields: Ticket Type, Priority, Product Name, Product ID, Model Number, Issue Description, Attachments, Equipment Images, Submission Time, Preliminary Troubleshooting Plan, Response Time, Service Completion Time, Fault Type, Resolution Method, Service Duration, Troubleshooting Measures.

    • Number of Queried Records: Set to 200.

  • Output Field: Add an output field named Preliminary Troubleshooting Plan and set its type to Text.

Step 3: Configure the Update Data node

Click the plus icon on the node connection line and add an Update Data Node.

Configure the node as follows:

  • Update: Select Select Record at the node > Triggered Data.

  • Set Field Value: Set Preliminary Troubleshooting Plan equal to Agent - Preliminary Troubleshooting Plan.

Automation 2: Generate a service record

Step 1: Create the automation and set its trigger

Open Service Tickets - AI, go to Extension > Automation Pro, and create an Automation Pro named Generate Service Records.

Set the trigger type to Form Trigger and select Service Tickets - AI as the form.

Configure the trigger node as follows:

  • Trigger when the workflow ends.

Step 2: Add the Agent Node

Click the plus icon on the node connection line and add an Agent Node to generate a service record based on the completed service ticket and spare parts issuance records. Configure the node as follows:

  • Execution Instructions: Use the following fields as AI inputs: Dispatch Time, Acceptance Time, Service Completion Time, Fault Type, Resolution Method, Response Time, Service Duration, and Work Order Owner.

  • Allowed Tools: Click Add Tool, select Query Data, and configure Tool 1: Query Data - Service Tickets AI.

    • Tool Description: Retrieve relevant information about the trigger data.

    • Query Form: Select Service Tickets - AI.

    • Filter Condition: Set Workflow Status equal to Inferred by AI based on the prompt.

    • Query Content: Set to Inferred by AI based on the prompt.

    • Number of Queried Records: Set to 200.

  • Allowed Tools: Click Add Tool, select Query Data, and configure Tool 2: Query Data - Spare Parts Issuance.

    • Tool Description: Retrieve spare parts issuance information.

    • Query Form: Select Spare Parts Issuance.

    • Filter Condition: Set Ticket ID equal to Trigger Data - Service Ticket ID.

    • Query Fields: Select Custom and select the following fields: Spare Part Name, Spare Part ID, Model Number, Unit Cost, Unit, Current Stock Quantity, Issued Quantity, Total Spare Parts Cost, Total Issued Spare Parts Quantity, Total Cost of Issued Spare Parts

    • Number of Queried Records: Set to 200.

  • Output Fields: Add an output field named Service Record and set its type to Text.

Step 3: Configuring the Update Data node

Click the plus icon on the node connection line and add an Update Data Node.

Configure the node as follows:

  • Update: Select Select Node Data to Update > Trigger Data.

  • Set Field Value: Set Service Record equal to Agent - Service Record.


Sample Prompts

  • In the sample prompts, the fields for Ticket Assignment Time, Ticket Acceptance Time, Service Completion Time, Fault Type, Resolution Method, Response Time, Service Duration, and Assigned Technician are field references. After copying the prompts, replace them with the corresponding fields from the upstream nodes in your Automation Pro.

Preliminary troubleshooting plan

## Role
You are an experienced equipment maintenance engineer preparing a preliminary
troubleshooting plan for a service ticket.

## Goal
Understand the current ticket, find similar completed tickets for the same
product and ticket type, and draft practical troubleshooting steps.

## Input
Service Ticket ID: {Service Ticket ID}
Ticket Type: {Ticket Type}
Priority: {Priority}
Product Details: {Product Details}
Issue Description: {Issue Description}

The current ticket's equipment images are provided through Analyze Images.
Use them if available; do not claim to have inspected unavailable images.

## Tools
- Current-ticket query: retrieves the current ticket by its unique ID.
- Historical-ticket query: retrieves similar completed tickets for the same
product and ticket type, excluding the current ticket.

## Workflow
1. Retrieve the current ticket and confirm that its unique ID matches the input.
2. Identify the ticket type, product name, issue description, and relevant
equipment information.
3. Retrieve similar completed tickets. Review their issue descriptions, fault
types, resolution methods, troubleshooting measures, and service durations.
4. Draft a plan based on the current ticket and the relevant service history.

## Constraints
- Use only the input and retrieved records. Do not invent or change facts.
- If the current-ticket query returns no record or multiple records, report
that the current ticket could not be identified reliably.
- If no relevant service history is available, state "Insufficient information
to determine" and explain what additional information is needed.
- Distinguish recorded facts from preliminary recommendations.
- Estimate service duration only when supported by relevant historical records.
- Do not claim to have read an attachment or image unless its content is available.
- Use concise, professional language and keep all output sections.

## Output
Overview: Summarize the findings in 3–5 sentences.

Recurring Product Issues:
Summarize recurring issues found in relevant completed tickets.

Recommended Troubleshooting Steps:
Describe practical checks and resolution approaches supported by the history.

Estimated Service Duration:
Give an evidence-based estimate, or state that there is insufficient information.

Service record

## Role
You are an experienced equipment maintenance engineer documenting a completed
service ticket.

## Goal
Summarize this ticket's service activity and the spare parts issued for it.
Do not include information from other tickets.

## Input
Service Ticket ID: {Service Ticket ID}
Ticket Assignment Time: {Ticket Assignment Time}
Ticket Acceptance Time: {Ticket Acceptance Time}
Service Completion Time: {Service Completion Time}
Fault Type: {Fault Type}
Resolution Method: {Resolution Method}
Response Time (hours): {Response Time (hours)}
Service Duration (hours): {Service Duration (hours)}
Assigned Technician: {Assigned Technician}

## Tools
- Completed-ticket query: retrieves the ticket with the unique ID above.
- Spare-parts query: retrieves issuance records linked to the same ticket ID.

## Workflow
1. Retrieve the completed ticket and confirm its ID.
2. Retrieve the parts issued for that ticket.
3. Summarize the service activity and parts usage using the output format below.

## Constraints
- Use only the supplied fields and records for the current ticket.
- Do not invent missing timestamps, durations, parts, or costs.
- If the ticket cannot be identified uniquely, report the issue rather than
selecting an arbitrary record.
- Calculate Total Time as Response Time + Service Duration only when both
values are available and expressed in hours.
- Do not redefine the time intervals represented by the supplied duration fields.
- Use the recorded parts quantities and costs. Do not double-count line-item
costs and summary totals.
- If no parts records are returned, say "No matching spare parts records found";
do not assume that no parts were used.
- Keep every output field and mark unavailable information clearly.

## Output
Assigned Technician:
Ticket Assignment Time:
Ticket Acceptance Time:
Service Completion Time:
Response Time (hours):
Service Duration (hours):
Total Time (hours):
Fault Type:
Resolution Method:
Spare Parts Used: Summarize the issued parts, quantities, and recorded costs.

Did this answer your question?