Skip to content
IT Canvass
Integrations · Lesson

AI / ML integration

Quick answer

Wire AI/ML into workflows two ways: native Predictive Intelligence / Now Assist in-platform, and calls to an external model over REST for custom scoring.

Key takeaways

  • Prerequisites
  • Path A, Native Predictive Intelligence (classification)
  • Path B, Now Assist (generative)
  • Path C, Call an external model over REST
  • Test & monitor

Wire AI/ML into workflows two ways: native Predictive Intelligence / Now Assist in-platform, and calls to an external model over REST for custom scoring.

Prerequisites

  • ServiceNow: admin; for native ML the Predictive Intelligence plugin; for GenAI the Now Assist subscription.
  • For external models: an endpoint URL and API key, plus IntegrationHub for the REST call.

Path A, Native Predictive Intelligence (classification)

  • Go to Predictive Intelligence → Solution Definitions and create a Classification solution.
  • Pick the table (incident), the input field (short_description) and the output (category or assignment_group).
  • Set training filters (e.g. last 12 months, resolved) and train the solution; review precision/coverage.
  • Activate it and add a business rule / flow that predicts on insert to auto-categorise and route.

Path B, Now Assist (generative)

  • Enable Now Assist skills (incident summarisation, resolution notes).
  • Drop the Now Assist panel on the incident form; agents get one-click summaries of long records.

Path C, Call an external model over REST

  • Create a Connection & Credential alias for the model endpoint with the API key.
  • In a flow, add a REST step that sends record fields and reads back a score/label.
POST https://api.example-ml.com/v1/score
Authorization: Bearer {api_key}
{
  "text": "{short_description}",
  "features": { "priority": "{priority}", "ci": "{cmdb_ci}" }
}
// response: { "risk_score": 0.82, "label": "high" }
  • Write the returned risk_score back to the record and branch the flow (e.g. add approvers when high).

Test & monitor

  • Create test incidents and confirm predictions/scores populate and routing changes.
  • Re-train native solutions on a schedule as data grows; monitor prediction quality.

Troubleshooting

  • Low coverage: not enough clean training data, widen filters or improve labels.
  • External 401/timeout: check the credential and endpoint, and consider async for slow models.
Prefer native Predictive Intelligence / Now Assist first, it's governed, upgrade-safe and needs no external data egress.

Want to learn this properly?

Our live, instructor-led ServiceNow Training covers this hands-on, with real projects and a certification path.

Check your understanding

  1. What is ServiceNow's native in-platform ML feature?

    • A. Predictive Intelligence
    • B. GlideRecord
    • C. A MID Server
    Show answer

    A. Predictive Intelligence

    Predictive Intelligence trains ML models in-platform.

  2. How do you call an external AI model?

    • A. A REST step in Flow Designer
    • B. A UI policy
    • C. A dictionary override
    Show answer

    A. A REST step in Flow Designer

    IntegrationHub/REST calls external endpoints.

Frequently asked questions

What does the term - AI / ML integration refer to in ServiceNow?

Wire AI/ML into workflows two ways: native Predictive Intelligence / Now Assist in-platform, and calls to an external model over REST for custom scoring.

What is the practical takeaway on - AI / ML integration?

For external models: an endpoint URL and API key, plus IntegrationHub for the REST call.

What is worth remembering about - AI / ML integration in practice?

Go to Predictive Intelligence → Solution Definitions and create a Classification solution. Pick the table (incident), the input field (short_description) and the output (category or assignment_group). Activate it and add a business rule / flow that predicts on insert to auto-categorise and route.
CallWhatsAppEnquire