Connectors

/

ServiceNow

/

Find ServiceNow knowledge for an incident
Write

Find the ServiceNow article that already solves this incident

For service desk agents who want the right knowledge article for an incident found and ranked, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Find ServiceNow knowledge for an incident
Is there a knowledge article that fixes INC0012345 in ServiceNow?
2 articles fit INC0012345 well. - KB0010234: VPN drops after laptop sleep, linked to the same CI - KB0010311: Reset the VPN client profile, matches the error text - Known error: PRB0040123 describes the same symptom Shall I add these to the incident as a work note?
ServiceNow
Sample figures. Your results come from your own account.
servicenow-get-incident
servicenow-get-knowledge-related-product
servicenow-get-knowledge
servicenow-get-problem
servicenow-get-related-article
servicenow-update-incident

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

ServiceNow

ServiceNow
Run it on your own ServiceNow data.

Connect ServiceNow, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

The fix is in the knowledge base, but nobody finds it

The answer to an incident is often already in the ServiceNow knowledge base, but finding it means several searches, checking known errors and reading articles that turn out to be outdated. Under pressure agents give up and solve it from scratch.

Without PopdockAI

  • Try several keyword searches
  • Check known error problems separately
  • Open articles that turn out to be expired
  • Solve the incident from scratch

With PopdockAI

  • Articles on the CI, matching words, known errors and related articles are searched in order
  • Expired articles are dropped
  • Up to five matches are ranked with the reason each fits
  • A work note is added only if you say yes

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Find published knowledge that can help resolve incident `{incident-number}`.

**Step 1: Read the incident**

Call `servicenow-get-incident` with number `{incident-number}`. Keep sys-id, short-description, category and configuration-item.

**Step 2: Search in this order**

1. By product: if the incident has a configuration-item, call `servicenow-get-knowledge-related-product` with configuration-item set to it. Read each linked article with `servicenow-get-knowledge` by number.
2. By text: call `servicenow-get-knowledge` with short-description.contains set to two or three distinctive words from the incident, workflow Published. Try a second word set if the first finds nothing.
3. By known error: call `servicenow-get-problem` with short-description.contains using the same words and known-error true; search knowledge for that problem's short-description.
4. Related: for the best article so far, call `servicenow-get-related-article` with knowledge-article set to its number and read any related articles.

**Step 3: Rank**

Drop articles past valid-to. Rank by relevance to the symptom first, then rating, then view-count.

**Step 4: Report**

Up to five articles: number, short-description, why it matches, rating, link. Say plainly if none fits well.

**Step 5: Optional note**

Ask whether to add the top articles to the incident as a work note. Only after an explicit yes, call `servicenow-update-incident` once with the incident sys-id and work-notes listing the article numbers and titles.

**Rules & Guidelines:**

* The only write this prompt may make is the single `servicenow-update-incident` work note in Step 5, after a yes. Never change state, assignment or any other field, and do not call `servicenow-add-knowledge` or `servicenow-add-knowledge-feedback`.

**Validation:**

* If `{incident-number}` is not found, stop.

Who it's for

One answer, three teams that use it

Service desk analysts

Resolve incidents from existing fixes

Find the article that already solves the incident instead of starting over.

Find knowledge articles that could fix INC0020934.

Support engineers

Check known errors quickly

See known error problems with the same symptom alongside matching articles.

Is there a known error or article for the Outlook sync issue in INC0021015?

Knowledge managers

See where articles fall short

Learn when no article fits well, a sign a new one is needed.

Search ServiceNow knowledge for INC0021044 and add the best matches as a work note.

How it works

What PopdockAI does when you ask

You give the incident number, and your AI assistant searches the knowledge base in a set order. The incident is changed only if you ask for the work note.

01

Ask

You give the incident number.

Your AI tool

02

Search

It checks articles on the CI, matching words, known errors and related articles.

servicenow-get-incident
servicenow-get-knowledge-related-product
servicenow-get-knowledge
servicenow-get-problem
servicenow-get-related-article

03

Rank

It drops expired articles and ranks the rest by relevance, rating and views.

No items found.

04

Note

You get up to five matches, and only on your yes are they added as a work note.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for ServiceNow and one secure connection to your AI tool. No code, no exports.

get-data

servicenow-get-incident

Returns incident records (number, state, priority, caller, assignment and dates) from ServiceNow. Filter by number, state, priority, caller, assignment group, assignee, short description text and opened date range.
get-data

servicenow-get-knowledge-related-product

Returns links between knowledge articles and the configuration items (products) they cover from ServiceNow. Filter by knowledge article or configuration item.
get-data

servicenow-get-knowledge

Returns knowledge articles (number, title, knowledge base, category, workflow state and usage) from ServiceNow. Filter by number, knowledge base, category, author, workflow state, short description text and published date range.
get-data

servicenow-get-problem

Returns problem records (number, state, priority, known error, related incidents and dates) from ServiceNow. Filter by number, state, priority, known error, assignment group, assignee, short description text and opened date range.
get-data

servicenow-get-related-article

Returns links between knowledge articles and their related articles from ServiceNow. Filter by knowledge article, related article and whether the link is active.
run-action

servicenow-update-incident

Updates an existing incident record in ServiceNow (the incident table), identified by its sys_id. Only the fields you pass are changed.
Read only.Nothing in ServiceNow Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Existing fixes found in seconds

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation