Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure skills with custom prompts for knowledge article templates

Now Assist in Knowledge Management has extended the out-of-box (OOB) KB generation skill to create custom prompts for OOB and custom knowledge article templates.

Before you begin

In the form configuration of the article record, admin must check for the availability of Knowledge Gen AI Message and Knowledge Now Assist Modal. For OOB configurations, they are automatically added to the form view configurator. However, for customized configurations, the admin must add them manually. To do so, navigate to the form layout from the header of the knowledge article (kb_knowledge.do) and add them from Available list to the Selected list and save. Navigate to Cache (cache.do) and clear cache.

Image omitted: Configuring-knowledge-form.png
Configuring knowledge form.

Role required: sn_skill_builder.admin, sn_nowassist_admin.nsa_admin

About this task

To create custom prompts for OOB and custom knowledge article templates, clone the existing KB generation skill, from the Now Assist skill Kit (NASK). For more information, see Now Assist Skill Kit Configuration of the skill happens in three steps:

  • Clone the OOB KB generation skill
  • Prompt configuration
  • Activate the skill

Procedure

  1. Navigate to All > Now Assist Skill Kit > Home.

  2. In the ServiceNow skills tab, search for KB generation skill.

Image omitted: NASK.png
Select KB generation skill to be cloned.
  1. Open the KB generation skill associated with the workflow (ITSM, CSM, and so on) that you want to configure.

  2. Select Clone to create a clone of the OOB skill.

    Important: Prompts can be configured only in the cloned skill and not the OOB skill.

  3. In the Clone skill window, fill the required fields and select Clone.

Image omitted: Clone-skill.png
Enter the name of the skill and provider details.
  1. On the success message window, select Open Cloned Skill.
Image omitted: Cloned-success.png
Select Open cloned skill
  1. On the cloned skill page, navigate to the Prompts menu and select the Add icon.
Image omitted: Add-prompt.png
Select Add from Prompts menu
  1. In the Add prompt table, fill the required fields as follows and select Add.

    Field nameDescription
    Prompt nameEnter a name to define your prompt
    ProviderSelect the third-party AI provider that you want to use
    Provider APISelect the API details of the third-party AI provider
  2. To develop a prompt, see Guidelines for creating prompts.

  3. Save the prompt.

  4. Evaluate the prompt.

    For more, see Evaluate a prompt

  5. Select the Settings icon to open the Configurations settings panel.

Image omitted: Config-settings.png
Select configuration settings
  1. Scroll down to Usage conditions and select the Add icon to define the conditions on when to use the prompt based on inputs.
Image omitted: Usage-conditions.png
Add usage conditions.
  1. Fill in the Key and Value fields to build filters in the Usage conditions modal and select Apply.

    KeyValue
    prompt_typeType single or multi
    source_tableType the table name for the configured skill. For example, if you are working on cloned KB Generation skill for CSM then table name should be sn_customerservice_case.
    target_tableType name of the template table
  2. Select Finalize prompt.

    Finalize the prompt after checking the JSON output map with the prompts provided.

  3. Repeat the steps 8 to 15 to create prompts for MultiKB articles.

    Note:

    Finalize the prompts for both single KB and multi KB articles and only then publish the skill.

  4. Select Publish to publish the prompts for both single KB and multi-KB articles.

Image omitted: Publish-skill.png
Select finalized prompts to be included in the published skill.
The skill is published and available in the **Now Assist Admin** page for the selected workflow. However, the skill must be activated to be available for use during article generation from Now Assist.
  1. To activate the skill, navigate to Now Assist Admin and select Link to NAA in the Skill published window.

  2. Select Activate skill to activate the cloned skill.

Image omitted: Activate-skill.png
Activate the KB generation skill.
The KB generation skill for Now Assist is activated and ready to use the custom templates as defined by the prompt.
  • Guidelines for creating prompts
    The guidelines help to write prompts for Out-of-Box (OOB) and custom knowledge article templates. Follow these instructions to create ideal prompts that optimize the use of AI models for generating knowledge articles.

Parent Topic:Configuring Now Assist in Knowledge Management