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

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Create a prompt

# Create a prompt {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](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 AllNow Assist Skill KitHome.
2. Select the skill that you want to create a prompt for.
3. Select the edit icon (![Now Assist 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 big, the prompt context will be 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. Add a tool.  
10. On the form, fill in the fields.  
    {#create-prompt-template__table_p4n_2vg_lcc__entry__2}

    | Field | Description |
    |-|-|
    | Type | Flow Action. |
    | Type | Retriever. |
    | Type | Subflow. |
    | Type | Script. |
    | Name | The name of the tool. |
    | Conditions | * Always * Script {#create-prompt-template__ul_fjl_xc5_gdc} |
    [Table 2. Tools form]

    {#create-prompt-template__table_p4n_2vg_lcc}
11. Select Add.
12. If you're not ready to finalize the prompt and publish the skill, select Save or Save as.

## 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/EJoQtcHIN9QQNOeyJDUOqA "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 retriever](https://servicenow-prod.fluidtopics.net/3KwiZp7wSS4gpAgkFY9pZQ)**   
  Add a retriever to your prompt to augment and add context to your prompts with AI search results.

**Related tasks**   

* [Create a skill](https://servicenow-prod.fluidtopics.net/aiaUWeusRmjY_MD7YGyvXw "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/KMGqZ4xZUtc~pn5I4D5rRg "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/EJoQtcHIN9QQNOeyJDUOqA "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/glGDrdcc7l5jJujGS0cc7w "Use the Now Assist Skill Kit evaluation tools to evaluate the effectiveness of your skill prompts.")
* [Finalize and publish a skill](https://servicenow-prod.fluidtopics.net/oH_qVLPPis~lX3b~cYn8kg "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/T2gjqog3Sh_Wx4YnuTl2Qg "After you create and publish a custom skill, you must activate it in Now Assist Admin. Activating the skill enables you to trigger the skill within the UI.")
* [Call a custom skill from a script](https://servicenow-prod.fluidtopics.net/r4HF~4IcqlWpjdAIuA3rYA "You can use a script to call a custom skill.")

*[\>]: and then


