---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Example prompts

# Example prompts for agentic development {#ariaid-title1}

Release version: Australia  
Updated June 16, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) 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 prompts for agentic development

This document provides practical example prompts designed to help ServiceNow customers effectively use the Build Agent within the ServiceNow AI Platform for agentic development.
These prompts assist in building data models, implementing security, creating business rules, generating user interfaces, and more when developing applications.
The guidance emphasizes drafting clear prompts, managing prompt counts, and leveraging Build Agent's capabilities to accelerate app creation and enhancement while ensuring governance and compliance.
Show full answer Show less  

## Prompting Guidelines and Best Practices

* Each message submitted to Build Agent counts as a prompt; responding to clarifying questions also counts, but approving plans does not.
* Draft prompts carefully outside the platform before submission to maximize value.
* Use bracketed placeholders in example prompts to tailor requests to your specific app or requirement.
* Include security, compliance, and governance requirements explicitly in prompts to ensure the generated app meets organizational standards.

## Key Prompt Categories and Examples

* **Planning:** Request detailed app plans including tables, fields, roles, and business rules prior to development.
* **Prototyping:** Build initial app versions with roles, flows, and working user interfaces based on defined requirements.
* **Brainstorming and Discovery:** Generate ideas for tables, flows, catalog items, or metadata types relevant to your scope.
* **Extending Apps:** Add fields, business rules, or ACLs safely by requesting plans and approvals before applying changes.
* **Debugging:** Use detailed error descriptions and scenario context to get step-by-step help reproducing and resolving issues.
* **Documentation and Testing:** Create README files, user guides, and Automated Test Framework (ATF) test cases to support app quality and maintainability.
* **Security and Governance:** Build role-based access controls, enforce ACLs, enable encryption, audit logging, and compliance tracking as part of app design.
* **User Interface Design:** Generate intuitive UIs tailored for different user roles with declarative UI policies to minimize scripting.
* **Workflow and Automation:** Define flows triggered by specific conditions, automate notifications, and optimize processes.

## Practical Steps to Get Started

* Prototype simple apps by describing core functionality and approving Build Agent plans to learn the workflow with minimal risk.
* Document existing custom scoped apps to understand architecture, data models, and roles without making changes.
* Safely extend existing apps or base system tables (e.g., Incident) by requesting plans, applying changes, and generating tests and documentation.
* Iteratively refine and extend apps by saving sessions and issuing additional prompts for UI improvements, testing, release notes, or training materials.

## Why This Matters for ServiceNow Customers

Using these prompts with Build Agent empowers customers to accelerate application development on the ServiceNow AI Platform with guided, repeatable processes. Explicitly including governance and security requirements ensures apps are compliant and secure from the start. The structured approach reduces risk, enhances maintainability, and facilitates collaboration through generated documentation and tests. Ultimately, customers can build tailored, compliant, and user-friendly applications more efficiently.  
Use these example prompts to build data models, implement security, create business rules, and generate user interfaces when building an app with ServiceNow AI Platform agentic development tools.
To learn more about prompting, see this Community article on [The fastest way to learn Build Agent prompting? Ask Build Agent.](https://www.servicenow.com/community/now-assist-for-creator-articles/the-fastest-way-to-learn-build-agent-prompting-ask-build-agent/ta-p/3533544){#vibe-coding-example-prompts__ba-prompting-community-link-ph}

## Prompting overview and tips {#vibe-coding-example-prompts__section_fh4_hdg_phc}

Prompts are counted each time you submit a message to Build Agent. If Build Agent asks a clarifying question and you respond, that response counts as a prompt. Approving a plan that Build Agent presents does not count as a prompt. To get the most value from each prompt, draft your message in a text editor before you submit it.{#vibe-coding-example-prompts__ba-how-prompts-count}

For more guidelines on prompting, see [General guidelines for Build Agent](https://servicenow-prod.fluidtopics.net/kSfJe5kk6U1_ad2cDrpmAw "Use these guidelines to get the most out of Build Agent in your development workflow.").

## Prompt reference {#vibe-coding-example-prompts__section_prompt_reference}

Use the following prompts as starting points for common Build Agent goals. Replace the bracketed placeholders with your specific details.
{#vibe-coding-example-prompts__table_prompt_reference__entry__2}{#vibe-coding-example-prompts__ba-debug-prompt}

| Goal | Prompt |
|-|-|
| Plan | <kbd class="ph userinput">I want to build [app idea]. Create a detailed plan including tables, fields, roles, and business rules. Wait for my approval before creating any files.</kbd> |
| Prototype | <kbd class="ph userinput">Build me a [app name] application with [key requirements]. Include basic roles, flows, and a working UI.</kbd> |
| Brainstorm | <kbd class="ph userinput">I need to build something for [business problem]. What tables, flows, and catalog items would I need?</kbd> |
| Discover | <kbd class="ph userinput">List the metadata types you can create or edit in this scope.</kbd> |
| Coach | <kbd class="ph userinput">For [metadata type], coach me on an ideal prompt and common pitfalls.</kbd> |
| Extend | <kbd class="ph userinput">Open [app name]. Add a field called [field] to the [table] table. Update the ACLs so only [role] can edit it.</kbd> |
| Extend out-of-box | <kbd class="ph userinput">Add a custom field to the incident table called [field]. Create a business rule that [logic]. Show the plan before applying.</kbd> |
| Learn | <kbd class="ph userinput">Explain [ServiceNow concept] to me. What is it, when do I use it, and show me an example.</kbd> |
| Debug | <kbd class="ph userinput">I'm seeing this error: [paste exact error]. This happens when: [describe scenario]. Before suggesting fixes: 1) Help me reproduce this consistently. 2) Review the debugger output and logs. 3) Check for access or configuration issues. 4) Examine if this is a known issue.</kbd> |
| Document | <kbd class="ph userinput">Create a README with setup instructions and a user guide for this application.</kbd> |
| Test | <kbd class="ph userinput">Create ATF tests to validate [specific functionality] works correctly.</kbd> |
| Security | <kbd class="ph userinput">Add role-based access so only [role] can edit; others are read-only. Show the plan and ACL changes before applying.</kbd> |
| Diagram | <kbd class="ph userinput">Generate a Mermaid ER diagram showing all tables, fields, and relationships in this application.</kbd> |
| Flow | <kbd class="ph userinput">Create a flow that triggers when [condition] and sends an email notification to [recipient] with [details].</kbd> |
| Ideal prompt | <kbd class="ph userinput">Now that you've built this app, what's the ideal prompt to recreate it from scratch?</kbd> |
[Table 1. Prompt reference by goal]

{#vibe-coding-example-prompts__table_prompt_reference}  
Tip:  
UI policies handle the common cases declaratively: show, hide, require, or lock fields based on conditions. For example, "when Category is Hardware, show the Asset Tag field and make it required" produces a UI policy that applies the rule without scripting.

## Get started with prompting {#vibe-coding-example-prompts__ba-get-started-suggestions-sec}

To get started with Build Agent, try one of the following approaches.

* Prototype a simple app: Describe a straightforward application in one or two sentences. Review the plan that Build Agent presents, then approve it to start the build. This approach lets you learn the workflow with low risk.
* Document an existing app: Open a custom scoped app and ask Build Agent to summarize its architecture, data model, roles, and key components. This produces useful documentation with no risk to the app.
* Extend an existing app or base system table: Add a field, a business rule, or an ACL to an app you're familiar with. Build Agent supports global-scope tables such as Incident, as well as custom and ServiceNow Store apps.
{#vibe-coding-example-prompts__ul_smp_kf5_djc}

## Starter prompts {#vibe-coding-example-prompts__ba-starter-prompts-sec}

Use the following prompt patterns to get started with common Build Agent tasks. Replace the bracketed placeholders with your specific details.

Extend safely
:   <kbd class="ph userinput">Open [app name]. Before making changes, document the current state. Then add [feature]. Return a plan for approval. After changes, generate ATF tests and a README.</kbd>

Prototype
:   <kbd class="ph userinput">Build me a [app name] application with [requirements]. Include basic roles, a working UI, and flows for [automation]. Then generate ATF tests and documentation.</kbd>

Extend base system
:   <kbd class="ph userinput">Add a custom field called [field] to the incident table. Create a business rule that [logic]. Show the plan and ACL changes before applying.</kbd>

Document
:   <kbd class="ph userinput">Summarize the app architecture, data model, roles, and key UI components. Don't make any changes.</kbd>
{#vibe-coding-example-prompts__dl_starter_prompts}

## Additional prompt suggestions {#vibe-coding-example-prompts__section_fqb_3wg_nhc}

After you have the foundation of an app created, save your session and keep prompting to refine and extend your app. For example, you can create Automated Test Framework (ATF) tests, generate release notes, and prepare summaries. Some additional prompt ideas include the following examples:

* Improve generated user interfaces
* Create ATF tests
* Create QA and UAT test plans
* Create a summary of all application functionality
* Add additional industry-specific use cases
* Create an announcement
* Create a user guide
* Generate release notes
* Draft change management plans
* Create training materials for end users
* Build data migration plans
* Generate workflow optimization suggestions
* Prepare executive summary for stakeholders
{#vibe-coding-example-prompts__ul_xzw_ywg_nhc}

## Example Build Agent prompt to build an app {#vibe-coding-example-prompts__section_uq5_l5g_nhc}

Prompt: <kbd class="ph userinput">Create an application that handles several types of issues related to cash management. Create a custom data model with tables for each type of request. Add fields that are typical for these types of issues to each table. Request tables should extend the Task table. Create custom states for each request type to track issue resolution.</kbd>

## Example Build Agent prompt to add security to an app {#vibe-coding-example-prompts__section_gl1_s5g_nhc}

Prompt: <kbd class="ph userinput">Create a new role and define permissions on the request tables for two types of users:</kbd>

1. <kbd class="ph userinput">Requesters who submit issues and can only view their own requests.</kbd>
2. <kbd class="ph userinput">Fulfillers who can view and edit all requests.</kbd>
{#vibe-coding-example-prompts__ol_rvd_w5g_nhc}

## Example Build Agent prompt to add business rules to an app {#vibe-coding-example-prompts__section_c3y_1vg_nhc}

Prompt: <kbd class="ph userinput">Create business rules for each request that is triggered by state changes in the workflow. Design the business rules to work together to create business processes aligned to industry best practices for each type of issue.</kbd>

## Example Build Agent prompt to generate different UIs for an app {#vibe-coding-example-prompts__section_n24_jvg_nhc}

Prompt 1: <kbd class="ph userinput">Create an easy to use UI for users with the cash management fulfiller role to view all issues, update and complete them.</kbd>

Prompt 2: <kbd class="ph userinput">Create a UI for cash management requesters to submit issues and view or edit issues that they have previously created.</kbd>

## Example prompts for governance {#vibe-coding-example-prompts__section_xym_xsx_g3c}

Prompting with governance requirements helps produce secure and compliant applications on the ServiceNow AI Platform. By embedding governance requirements directly into your prompts, you help the AI produce results aligned with your organizational standards for security, compliance, and quality.

For more information on governance, see [Build Agent governance](https://servicenow-prod.fluidtopics.net/C3Mrgv_RcUZavdVUn9VU3w "Governance controls in Build Agent help with code quality, security, and compliance when generating applications. The Build Agent automated safeguards prevent common development issues and enforce organizational standards.").  
Tip:  
If you have explicit security requirements, include them in your initial prompt.  

## Prompt to include security roles and ACLs {#vibe-coding-example-prompts__example_vwb_ftx_g3c}

<kbd class="ph userinput">Create an Employee Onboarding app with HR and IT roles, enforce ACLs so only HR can edit personal data.</kbd>  

## Specify data sensitivity {#vibe-coding-example-prompts__example_wwb_ftx_g3c}

<kbd class="ph userinput">Generate a table for medical records with encryption enabled and restrict access to compliance officers.</kbd>  

## Request audit and logging {#vibe-coding-example-prompts__example_xwb_ftx_g3c}

<kbd class="ph userinput">Build a workflow for expense approvals and include audit logging for all status changes.</kbd>  

## Mention testing requirements {#vibe-coding-example-prompts__example_ywb_ftx_g3c}

<kbd class="ph userinput">Create a catalog item for laptop requests and generate ATF tests for submission and approval flows.</kbd>  

## Call out compliance standards {#vibe-coding-example-prompts__example_zwb_ftx_g3c}

<kbd class="ph userinput">Develop a leave management app that meets GDPR requirements and includes consent tracking.</kbd>  

## Ask for documentation {#vibe-coding-example-prompts__example_axb_ftx_g3c}

<kbd class="ph userinput">Generate a summary of the app and flow logic for governance review.</kbd>

