ServiceNow + UAIO

ServiceNow Tickets That Close Themselves

Point your ServiceNow instance at the iTechSmart UAIO API. Every incident gets classified, diagnosed, and resolved autonomously — with full proof-of-fix attached before the ticket closes.

See How It WorksView Code
0.4s
API Response Time
94%
Classification Confidence
0.6h
Mean Time to Resolve
100%
Proof-of-Fix Attached

Four Steps to Autonomous Resolution

01

Generate API Key

Create a scoped API key from the iTechSmart dashboard. Grant it classify and remediate permissions for your ServiceNow instance.

02

Add Webhook

Install a ServiceNow Business Rule that fires on incident insert or update. It POSTs the short description, category, and priority to the UAIO classify endpoint.

03

Map Response Fields

The UAIO API returns classification, root cause, confidence score, and remediation steps. Map these to your incident fields or custom tables.

04

Auto-Close with Proof

When remediation succeeds, UAIO pushes terminal output, log diffs, and before/after state as work notes and resolves the incident automatically.

Incident Created
API Classify
Remediate
Close + Proof

Drop-In Business Rule

Copy this Business Rule into ServiceNow. Set itechsmart.api_key as a system property and you are live.

JavaScript · ServiceNow
// ServiceNow Business Rule — iTechSmart UAIO Classify
// Table: incident | When: async | Insert/Update
(function executeRule(current, previous) {
  try {
    var request = new sn_ws.RESTMessageV2();
    request.setEndpoint('https://api.itechsmart.dev/v1/classify');
    request.setHttpMethod('POST');
    request.setRequestHeader('Content-Type', 'application/json');
    request.setRequestHeader('Authorization', 'Bearer ' +
      gs.getProperty('itechsmart.api_key'));

    var payload = {
      incident_id: current.number.toString(),
      short_description: current.short_description.toString(),
      category: current.category.toString(),
      priority: current.priority.toString(),
      description: current.description.toString(),
      ci_name: current.cmdb_ci.getDisplayValue(),
      assignment_group: current.assignment_group.getDisplayValue()
    };

    request.setRequestBody(JSON.stringify(payload));
    var response = request.execute();
    var status = response.getStatusCode();
    var body = JSON.parse(response.getBody());

    if (status == 200 && body.confidence >= 0.90) {
      current.work_notes = '[iTechSmart UAIO] Classification: ' +
        body.classification + ' | Confidence: ' +
        (body.confidence * 100).toFixed(1) + '%\n' +
        'Root Cause: ' + body.root_cause + '\n' +
        'Remediation: ' + body.remediation_summary;
      current.state = 6; // Resolved
      current.close_code = 'Solved (Permanently)';
      current.close_notes = body.proof_of_fix;
      current.update();
    }
  } catch (e) {
    gs.error('iTechSmart UAIO classify error: ' + e.message);
  }
})(current, previous);

Frequently Asked Questions

What ServiceNow versions are supported?

iTechSmart UAIO supports ServiceNow Tokyo, Utah, Vancouver, Washington DC, and Xanadu releases. The integration uses standard REST and Business Rule APIs available in all supported versions.

Does the integration require a MID Server?

No. The Business Rule calls the iTechSmart API directly over HTTPS. No MID Server, VPN tunnel, or on-premise agent is required. All traffic is encrypted with TLS 1.3.

What happens when the AI confidence is below 94%?

You set your own threshold. When confidence falls below it, UAIO adds a work note with its best-effort classification and recommended next steps but does not auto-resolve. A human engineer reviews and closes the ticket normally.

Can I limit which incidents are sent to UAIO?

Yes. The Business Rule supports condition filters. You can scope it to specific categories, assignment groups, CIs, or priority levels. Most customers start with P3/P4 incidents and expand after validating accuracy.

Ready to Auto-Close Your Tickets?

Connect ServiceNow to iTechSmart UAIO in under 10 minutes. No agents, no MID Server, no code changes to your instance beyond a single Business Rule.

Book a DemoContact Sales