Integrations · LessonBy Neelima, ServiceNow Architect · Published · current release · integration
AI / ML integration
Connect predictive and generative AI into workflows.
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 (categoryorassignment_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_scoreback 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.
Quick check
+0 XPStreak ×0
Question 1 of 2
What is ServiceNow's native in-platform ML feature?
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.