Connectors

/

ServiceNow

/

Draft ServiceNow knowledge from a problem
Write

Turn a solved ServiceNow problem into a draft knowledge article

For problem managers who want the cause and workaround written up as a ServiceNow article without duplicates, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Draft ServiceNow knowledge from a problem
Write a knowledge article for PRB0040123 in the IT knowledge base.
No existing article covers PRB0040123, so here is the draft. - Title: VPN drops after laptop sleep on build 22H2 - Cause: power setting disables the network adapter - Workaround: turn off adapter power saving in Device Manager - Applies to: Contoso VPN client Shall I create it as a draft and link it to the CI?
ServiceNow
Sample figures. Your results come from your own account.
servicenow-get-problem
servicenow-get-knowledge
servicenow-get-problem-task
servicenow-add-knowledge
servicenow-add-knowledge-related-product

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

Problem fixes that never become knowledge

Once a problem's cause and workaround are known, writing them up as a knowledge article is the step that gets skipped. When it is done, it often duplicates an existing article or is never linked to the CI it applies to.

Without PopdockAI

  • Reread the problem record for the cause
  • Search for an existing article, or skip it
  • Write the article from a blank page
  • Forget to link it to the CI

With PopdockAI

  • The problem is read and an existing article is checked for
  • Missing cause or workaround text is asked for, not invented
  • Symptoms, cause, workaround and CI are drafted for you
  • Created as an unpublished draft linked to the CI, after you confirm

The prompt

Use this prompt

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

Prompt
**Objective:** Draft a knowledge article in `{knowledge-base}` describing the symptom, cause and workaround of problem `{problem-number}`, linked to its configuration item.

**Step 1: Read the problem**

Call `servicenow-get-problem` with number `{problem-number}`. Keep short-description, configuration-item, known-error, state and resolution-code. A problem still in New or Assess has no cause to publish: stop and say so.

**Step 2: Avoid a duplicate**

Call `servicenow-get-knowledge` with short-description.contains set to key words from the problem and knowledge-base `{knowledge-base}`. If an article already covers it, show it and stop.

**Step 3: Gather the content**

Call `servicenow-get-problem-task` with problem `{problem-number}` for task short-descriptions and close codes. Ask the user for the cause and workaround text if they are not in the conversation already; this tool set does not return the problem's cause or workaround notes.

**Step 4: Draft and confirm**

Draft the article body in HTML with these sections: Symptoms, Cause, Workaround, Resolution (only if the problem is Resolved), Applies to (the configuration item). Propose short-description "<symptom> on <CI>", keywords from the symptom and CI, and article-type the tool lists for how-to or issue articles. Show the draft and ask for an explicit yes.

**Step 5: Write, in this order**

1. Call `servicenow-add-knowledge` once with knowledge-base `{knowledge-base}`, short-description, article-body and keywords. It is created as a draft; do not publish it.
2. Call `servicenow-get-knowledge` with short-description.contains set to the new short-description and workflow Draft to get its number and sys-id.
3. If the problem has a configuration-item, call `servicenow-add-knowledge-related-product` once with article set to the new sys-id and configuration-item set to the CI name.

**Step 6: Report**

The draft article number, its workflow state, and the linked CI. Remind the user it needs review before publishing.

**Rules & Guidelines:**

* Write tools allowed: `servicenow-add-knowledge` once and `servicenow-add-knowledge-related-product` once, after one confirmation. Do not call `servicenow-update-knowledge` to publish, and do not call `servicenow-update-problem`.
* If step 5.2 cannot find the draft, stop; never create a second article.

Who it's for

One answer, three teams that use it

Problem managers

Close the loop on solved problems

Turn the cause and workaround into a draft article without starting from scratch.

Draft a knowledge article for PRB0040311 in the IT knowledge base.

Knowledge managers

Grow the knowledge base without duplicates

Existing articles on the same issue are found before a new draft is made.

Is there already an article for PRB0040287? If not, draft one in the Service Desk knowledge base.

Service desk analysts

Share workarounds with the team

Get a known workaround into a draft article linked to the right CI.

Write up the VPN workaround from PRB0040350 as a draft knowledge article.

How it works

What PopdockAI does when you ask

You give the problem number and the knowledge base, and your AI assistant drafts the article. It is created only as an unpublished draft, after you confirm.

01

Ask

You give the problem number and the knowledge base.

Your AI tool

02

Check

It reads the problem and looks for an existing article on the same issue.

servicenow-get-problem
servicenow-get-knowledge

03

Draft

It asks for any missing cause or workaround text and drafts the article.

No items found.

04

Confirm

You review it, then it creates an unpublished draft linked to the CI.

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-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-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-task

Returns problem task records, with the problem each belongs to, from ServiceNow. Filter by number, problem, type, state, assignment group, assignee, short description text and opened date range.
run-action

servicenow-add-knowledge

Creates a new knowledge article record in ServiceNow (the kb_knowledge table). Reference fields accept a display name or a sys_id.
run-action

servicenow-add-knowledge-related-product

Creates a new knowledge-to-product link record in ServiceNow (the m2m_kb_ci table). Reference fields accept a display name or a sys_id.
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

Every solved problem becomes a reusable article

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