ServiceNow · Tickets · Partner API

AI SRE for ServiceNow

Sherlocks AI sits next to the ServiceNow you already run. A ticket goes in through the Partner API, Sherlocks AI investigates it against the client's own telemetry, and the root cause and remediation options come back by signed callback or polling.

sherlocks / servicenow tickets
sre@prod-bastion ~ $ sherlocks tickets --source servicenowSTAGE          WHAT IT CARRIESticket in      source_system servicenow, priorityinvestigation  queued, running, completedresult         root cause, remediation optionscallback       signed with HMAC-SHA256, or poll sre@prod-bastion ~ $ sherlocks investigate --source servicenow

What travels between ServiceNow and Sherlocks AI

(04 Stages)
  1. 01

    The ticket

    Ticket ID, ServiceNow instance, title or description

    Your integration sends the ticket: its ID in the client's ITSM, the ServiceNow instance it came from, and a title or description. A priority, the time the problem started, the affected services or hosts and a link back to the ticket are optional. The start time sets the window the investigation looks at.

  2. 02

    The investigation

    Queued, running, completed

    Sherlocks AI returns an investigation ID straight away. The status moves through queued, running and completed, with awaiting_input when it needs an answer, and paused, cancelled or failed when it does not finish. Sending the same ticket again while its investigation is open returns the same investigation, so retries are safe.

  3. 03

    The result

    Root cause, remediation options

    A finished investigation carries the root cause and, when there are any, remediation options. Each option comes with its risk, reversibility, intrusiveness and time to implement, and for any option you can ask for a step-by-step plan.

  4. 04

    The conversation

    Questions and answers on the ticket

    If Sherlocks AI needs clarification before it investigates, it asks, at most two questions with one open at a time, and a comment on the ticket is taken as the answer. After the result, a comment is a follow-up question, and Sherlocks AI answers it.

How it works

(04 Steps)
  1. 01
    Become a partner

    A one-time setup done with the Sherlocks team. Each of your clients then gets its own API key. The steps are in the Partner API docs.

  2. 02
    Onboard the client

    Create the client's workspace, install Watson in their environment and connect their cloud account, telemetry and code repositories. Sherlocks AI then discovers the infrastructure on its own.

  3. 03
    A ticket starts an investigation

    Your integration sends the ServiceNow ticket with source_system set to servicenow. Wait until the platform says Sherlocks AI is fully online, because before that it cannot tell which service a ticket is about.

  4. 04
    The result comes back

    By signed callback, by polling, or both. Your integration then updates the ticket.

What your integration receives

(06 Events)

With a callback URL, Sherlocks AI sends each event as a signed POST with a JSON body. Without one it sends nothing, and you poll the investigation instead.

  • status: The investigation starts, or ends without a result. It carries a reason such as investigation_started, no_answer, not_investigated or failed.
  • question: Sherlocks AI needs clarification before it can investigate. It carries the question as text, any suggested answers, and when it expires.
  • result: The investigation finishes; a deeper round can send another. It carries the root cause, or a note when no root cause was found.
  • reply: A follow-up message has an answer. It carries the answer, or a failure.
  • remediation_options: Remediation options are ready. It carries a summary and the options.
  • remediation_plan: A requested plan is ready. It carries the plan for that option.

Running against clients' own ITSM

Xponentium runs a 24x7 NOC across 18 client estates, each with its own ITSM (ServiceNow or Jira Service Management) and its own monitoring. Sherlocks AI runs read-only in that deployment, so it has no write permissions in any client environment. The Xponentium case study has the setup and what changed for the team.

Security and delivery

Signed callbacks. Every callback is signed with HMAC-SHA256 using a secret you set, at least 32 characters. Check that the timestamp is within five minutes and compare the signature in constant time before you write anything to a ticket, because without it anyone who finds the callback URL could post a fake result.

One key per client. Each client has its own API key. Sherlocks AI shows it once and stores only a hash. A lost or leaked key can be replaced, and the old one stops working immediately.

Delivery and retries. Timeouts, 5xx, 408 and 429 responses are retried, up to six attempts in about 30 minutes. The same event can arrive more than once, so use its event ID to ignore duplicates. Polling always returns the latest state.

Read-only. All permissions are read-only, and Sherlocks AI cannot modify your infrastructure, databases or application data.

Where Watson runs. In the recommended SaaS model, the Sherlocks AI platform runs in our cloud and the Watson agent runs inside your VPC or infrastructure with read-only access. Cloud-Native SaaS and Fully In-VPC deployments are also available.

SOC 2 Type 2. Sherlocks AI is SOC 2 Type 2 certified.

Why Sherlocks AI for ServiceNow tickets

ServiceNow stays where it is

Sherlocks AI complements ServiceNow rather than replacing it, so your ticketing and workflows do not change.

A result you can verify

Every callback is signed, so your endpoint can check it came from Sherlocks AI before anything is written to a ticket.

Safe to retry

Sending the same ticket again while its investigation is open returns the same investigation, and a missed callback can be recovered by polling.

It asks before it guesses

When a ticket is not enough, Sherlocks AI asks a clarifying question first, and when it finds no root cause the result says so.

Frequently asked questions

(09 Questions)

Can Sherlocks AI investigate ServiceNow tickets?

Yes. Tickets are sent through the Sherlocks Partner API with source_system set to servicenow. Sherlocks AI investigates and returns the root cause and any remediation options by signed callback or polling.

Which ITSM tools does it accept?

The Partner API accepts servicenow, jira, freshworks, bmc or other as the source system. The Xponentium case study lists ServiceNow, Jira Service Management and Freshservice.

Does Sherlocks AI replace ServiceNow?

No. Sherlocks AI complements ServiceNow rather than replacing it. ServiceNow handles ticketing and workflows, and Sherlocks AI adds root cause analysis and contextual investigation.

How does a ticket reach Sherlocks AI?

Your integration calls the create-an-investigation endpoint of the Partner API with the ticket. Becoming a partner is a one-time setup done with the Sherlocks team, and the guide is in the Partner API docs.

How does the result get back to the ticket?

Sherlocks AI sends signed callbacks to an endpoint you host, or you poll the investigation every 30 to 60 seconds until it is completed, failed or cancelled. Your endpoint checks the signature and then updates the ticket. An existing ticket update API is unlikely to work as it is, because Sherlocks AI posts its own event format and signature headers.

What happens when it needs more information?

Sherlocks AI asks a clarifying question before it investigates, at most two, with one open at a time. A comment on the ticket is taken as the answer, and it has to arrive before the question expires. If no root cause is found, the result says so instead of guessing.

Does the client's monitoring need to be connected?

Yes. Investigations use the cloud account, telemetry and code repositories connected during onboarding, so connect everything the client's alerts relate to. Tickets sent before the infrastructure sync finishes can stall or ask clarifying questions.

Does Sherlocks AI need write access?

No. All permissions are read-only, and Sherlocks AI cannot modify your infrastructure, databases or application data.

How do I know whether to trust a root cause?

Every root cause comes with a confidence level, and every claim cites the logs, metrics or commits it rests on. The published investigations also show the hypotheses that were checked and ruled out.

Get started

Start free with 30 investigations per month, no credit card. Or book a 30-minute demo.

Questions? Get in touch.

We use cookies

Only the strictly necessary ones are set when you arrive. Analytics and marketing cookies are set solely if you allow them, and you can change your mind at any time. See our Privacy Policy.