---
sourceDocument: Yokohama Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/intelligent-experiences

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Create a prompt

# Create a prompt {#ariaid-title1}

Release version: Yokohama  
Updated July 31, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
After you create a custom skill, create a prompt. Creating a prompt enables you to choose what skill inputs to use, as well as the type of tool.

## Before you begin

Role required: sn_skill_builder.admin

## Procedure

1. Navigate to AllAI Skill KitHome.
2. Select the skill that you want to create a prompt for.
3. Select the edit icon (![AI Skill Kit Edit icon.]()) and name the prompt.
4. Write the prompt.
5. Select Skill Inputs.  
   {#create-prompt-template__table_vmq_tgh_lcc__entry__2}

   | Input type | Description |
   |-|-|
   | Datatype | * Record * String * Numeric * Boolean * Simple Array * JSON Object * JSON Array {#create-prompt-template__ul_cwl_h5h_lcc} |
   | Name | A name for the input. |
   | Description | A description for the input. |
   | Mandatory | The Mandatory option means that you must supply a value for the input when you run the skill. |
   | Truncate | The Truncate option means that, if your prompt is too large, the prompt context is shortened to fit the model context length. |
   | For Records ||
   | Table name | A name for the table. |
   | Choose test record | The record that is used to test the prompt. |
   | For Strings, Numeric. Boolean, Simple Array, JSON Object, JSON Array ||
   | Test values | The values that are used to test the prompt. |
   [Table 1. Skill input options]

   {#create-prompt-template__table_vmq_tgh_lcc}
6. Select Add skill input.
7. Select Insert inputs.  
   The input options change depending on what kind of data type you choose.
8. Search for the inputs that you want to use for the prompt.  
   For example, you can search for the incident short description or priority.
9. If you're not ready to finalize the prompt and publish the skill, select Save or Save as.  
   Note:  
   Skills can have multiple prompts. Usage conditions determine which prompt is executed. If no conditions are met, the default prompt is executed. To configure prompt usage conditions, see [Configure a skill prompt](https://servicenow-prod.fluidtopics.net/E7tMms5bTDF1vmnt5SFy6w "Configure your skill prompt to set the model that is used and the randomness and creativity of the response.").

## What to do next

After you have created a prompt, you must test it. To learn more about testing your prompt, see [Test a prompt](https://servicenow-prod.fluidtopics.net/JRdaUKARJHETKgOWLhNtCA "After you create a prompt for your custom skill, test the prompt template before you finalize it. Testing the prompt verifies that you’re seeing the expected prompt results before it’s activated.").
* **[Add a tool](https://servicenow-prod.fluidtopics.net/jdUf6RCbbKWaWiqNSr72SQ)**   
  Add and manage tools visually in the Tools editor, including decision branching, to execute different tools for your skill. Adding decision branches between tools enables you to define the conditions that need to be met for a tool to run. If no conditions are met, the default branch's step is executed.
* **[Use automated prompt optimization](https://servicenow-prod.fluidtopics.net/dxOssHluhwpI9suRLf7z7g)**   
  Use automated prompt optimization in AI Skill Kit to enhance your prompt and make it more effective.

**Related tasks**   

* [Create a skill](https://servicenow-prod.fluidtopics.net/STS2~EcquBF4Ct8rn6jb1w "Create a custom skill for Now Assist. Creating a custom skill enables you to have greater flexibility with Now Assist's generative AI capabilities.")
* [Use prompt assistance](https://servicenow-prod.fluidtopics.net/27144i3Feb41~berr37kAQ "Use prompt assistance to get a jump start with your prompt development by selecting an example from the prompt library or using Now Assist to generate one.")
* [Test a prompt](https://servicenow-prod.fluidtopics.net/JRdaUKARJHETKgOWLhNtCA "After you create a prompt for your custom skill, test the prompt template before you finalize it. Testing the prompt verifies that you’re seeing the expected prompt results before it’s activated.")
* [Evaluate a prompt](https://servicenow-prod.fluidtopics.net/AxwF9HFZ~8nfhKUMWf6riA "Use the AI Skill Kit evaluation tools to evaluate the effectiveness of your skill prompts.")
* [Finalize and publish a skill](https://servicenow-prod.fluidtopics.net/arwqW2eolVhkf5DbBKjcuw "When you’re satisfied with your prompt, you can publish your custom skill. Publishing the skill enables a Now Assist admin to activate it.")
* [Activate a skill](https://servicenow-prod.fluidtopics.net/WqOZ2s0eX644czKjibKzNA "After you create and publish a custom skill, you must activate it in AI Admin Hub. Activating the skill enables you to trigger the skill within the UI.")
* [Call a custom skill from a script](https://servicenow-prod.fluidtopics.net/hKRWNfxvqfCFUlM_NfiOgQ "You can use a script to call a custom skill.")

*[\>]: and then


