---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Create a prompt

# Create a prompt {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
After you create a custom skill, create a prompt. The prompt defines the instructions that the skill sends to the LLM and the skill inputs that it uses.

## 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 ![]() 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 | Name of the input. |
   | Description | Description of the input. |
   | Mandatory | Option to require a value for the input when the skill runs. |
   | Truncate | Option to shorten the prompt context to fit the model context length when the prompt is too large. |
   | For records ||
   | Table name | Name of the table that contains the test record. |
   | Choose test record | Record used to test the prompt. |
   | For String, Numeric, Boolean, Simple Array, JSON Object, and JSON Array ||
   | Test values | Values 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 the data type that you select.
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://www.servicenow.com/docs/rNMRoXbSgi0MFboenCkUMA "Configure a skill prompt to set its large language model (LLM), the randomness of its responses, and its token limits.").

## What to do next

After you create a prompt, test it. To learn more about testing your prompt, see [Test a prompt](https://www.servicenow.com/docs/lbl0exKhp6U2ZkGlLL33UA "After you create a prompt for your custom skill, test it before you finalize it to verify that it returns the expected results.").
* **[Add a tool](https://www.servicenow.com/docs/dY1Xjxk5CPmLCq9fBvqZNg)**   
  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 must be met for a tool to run. If no conditions are met, the default branch's step is executed.

**Related tasks**   

* [Create a skill](https://www.servicenow.com/docs/~ak7kL0bW_JQBd9zdU1nAA "Create a custom skill for Otto. Custom skills extend the generative AI capabilities of Otto to fit your own use cases.")
* [Use prompt assistance](https://www.servicenow.com/docs/aaqv2QUPFUCNraAA9qDGag "Use prompt assistance to start your prompt from an example in the prompt library or from a prompt that ServiceNow Otto generates.")
* [Test a prompt](https://www.servicenow.com/docs/lbl0exKhp6U2ZkGlLL33UA "After you create a prompt for your custom skill, test it before you finalize it to verify that it returns the expected results.")
* [Evaluate a prompt](https://www.servicenow.com/docs/dmWxQaJDYd4ukGuGzxtfRA "Use the AI Skill Kit evaluation tools to measure how your skill prompts perform against a dataset, using automated metrics and human feedback.")
* [Finalize and publish a skill](https://www.servicenow.com/docs/6QCdI481r211gzsodCxv5w "Finalize at least one prompt and publish your custom skill so that a Otto admin can activate it.")
* [Activate a skill](https://www.servicenow.com/docs/g8zwnVeP3Pt5hg4xvBIiIw "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://www.servicenow.com/docs/h5PDI~msDo_PVaHTxX2Q_g "Call a custom skill from a UI action script so that you can run the skill and use its output in your instance logic.")

*[\>]: and then


