Example use case for Now Assist Skill Kit

  • Release version: Xanadu
  • Updated August 18, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Example use case for Now Assist Skill Kit

    The Now Assist Skill Kit enables AI developers to create custom skills within ServiceNow to enhance automation and insights. This example demonstrates how to build a custom skill for summarizing child incidents related to a parent incident. The skill helps organize and understand multiple related incidents by generating a concise summary of key issues, impacts, patterns, and outliers across child incidents.

    Show full answer Show less

    Creating and Configuring the Skill

    • Navigate to All > Now Assist Skill Kit > Home and select Create new skill.
    • Fill in the skill form with details such as:
      • Skill name: Child incident summarization
      • Description: Summarization of child incidents
      • Default provider: Now LLM Generic
      • API: Now LLM Generic
    • After creation, configure skill settings by selecting a model (e.g., llmgeneric) and setting a temperature (e.g., 0.2) to control output creativity.

    Developing the Prompt

    • Create a prompt that instructs the AI to summarize key issues and impacts of child incidents, using inputs such as:
      • Parent incident short description: {{incident.shortdescription}}
      • Parent incident description: {{incident.description}}
      • Child incident details: {{ChildIncidents.output}}
    • Select the record as the input source for the skill and insert these inputs into the prompt.
    • Choose tools for the skill, such as Flow Action with the IncidentDetailsFetcher flow resource, to retrieve child incident details.

    Configuring Deployment and Activation

    • Under Skill settings > Deployment Settings, enable the skill to be accessible via the Core UI by selecting the UI Action checkbox.
    • Save the deployment settings.
    • Test the skill prompt by selecting a record, running the test, and reviewing the results, including the grounded prompt data inputs.
    • Once validated, finalize and publish the skill.
    • An administrator must activate the published skill within Now Assist Admin to make it operational.

    Practical Benefits

    This skill helps ServiceNow customers efficiently consolidate and analyze multiple related incidents, improving visibility into recurring problems and overall incident impact. It streamlines incident management by providing AI-generated summaries that support faster decision-making and better service operations.

    As an AI developer, you can create custom skills with Now Assist Skill Kit. For this example, create a custom skill for child incident summarization.

    As an AI developer, you must create a skill for child incident summarization. Creating this skill can help you organize and understand multiple incidents that are related to the same parent.

    Create and configure the skill

    To create the skill:
    1. Navigate to All > Now Assist Skill Kit > Home.
    2. Select Create new skill.
    3. On the form, fill in the fields. The following information is used to fill in the form for this example:
      • Skill name: Child incident summarization
      • Description: Summarization of child incidents
      • Default provider: Now LLM Generic
      • Provider API: Now LLM Generic

      Create new skill modal for Now Assist Skill Kit.

    4. Select Create skill.
    After you create the skill, you must configure the skill settings.
    1. Select Configurations.
    2. Select the model that you want to use. For this example, you can select llm_generic.
    3. Select a temperature between 0-1 to determine the randomness and creativity of the output, such as 0.2.

    Develop the prompt

    After you create the skill and configure the settings, you must develop the prompt. To follow this example, you can use the following prompt:

    You are a customer service representative. Summarize the child incidents of the below given parent incident. The summary should contain key issues and impact across the child incidents, highlighting any patterns, recurring problems, or significant outliers. When summarizing, please consider the following: Parent incident short description: {{incident.short_description}} Parent incident description: {{incident.description}} Here are the child incident details: {{ChildIncidents.output}}

    Select the Inputs for the skill. For this example, the record is selected as the input.

    Skill input modal for Now Assist Skill Kit.

    Select insert inputs for the prompt.

    Prompt page for Now Assist Skill Kit with the Insert iIputs button outlined in red.

    For this example, the following is used:

    Parent incident short description: {{incident.short_description}} Parent incident description: {{incident.description}} Here are the child incident details: {{ChildIncidents.output}}

    Select the tools for the skill. For this example, select Flow Action and the IncidentDetailsFetcher flow resource.

    Add tool modal in Now Assist Skill Kit.

    Configure the skill deployment options

    The next step is to configure the skill deployment options. These options enable you to choose where to find the skill in Now Assist Admin.
    1. Select the Skill settings tab.
    2. Select Deployment Settings.
    3. Enable the admin to enable the skill from the Core UI by selecting the UI Action check box.
    4. Select Save.

    Test and publish the skill

    It is important to test your skill prompt to ensure that the correct type of data is being pulled in.
    1. Select Run tests.
    2. Choose a record or incident.
    3. Select Run test.

    Look at the response.

    To see the data that was brought into the prompt from your skill inputs and tools, you can look at the grounded prompt tab.

    If everything looks good, select Finalize prompt. After you finalize the prompt and you are ready to implement it, select Publish.

    Activate the skill

    After you test, finalize, and publish your skill, an admin must activate it in Now Assist Admin. To learn more about activating skills, see Activate a skill.