Use case: Generate modules using ServiceNow Otto
Summarize
Summary of Use case: Generate modules using ServiceNow Otto
This use case demonstrates how ServiceNow customers can efficiently create and configure multiple application menu modules using natural language prompts with ServiceNow Otto in the Australia release. Manual module configuration through the UI Builder can be time-consuming and error-prone, especially when dealing with several modules. The Otto-powered module generation feature streamlines this process by enabling admins to generate multiple modules simultaneously from a single descriptive prompt.
Show less
Key Features
- Natural Language Module Generation: Admins provide a single prompt describing all required modules, such as lists, forms, dashboards, URL links, and folders.
- Automated Module Creation: Otto analyzes the prompt, identifies module types and key parameters, and generates all specified modules in one step.
- Post-Generation Review: Each generated module includes an AI indicator and can be reviewed and edited to adjust configuration details like table names, role restrictions, views, and window settings.
- Single Workflow Efficiency: Enables creating and configuring multiple modules within a single streamlined workflow, reducing time and minimizing configuration errors.
How to Use
- Ensure UI generation is installed and that the user has the
uibuilderadminrole. - Navigate to All > Now Experience Framework > UI Builder, then select Create menu.
- Name the application menu (e.g., "Warehouse Operations") and create it.
- On the Add modules page, choose Generate multiple modules at once using Otto.
- Enter a natural language prompt describing all necessary modules, such as lists, forms, dashboards, URL modules, and folders.
- Select Generate to create modules automatically.
- Review and edit each generated module as needed, then accept and finalize the menu.
Expected Outcome
Admins can rapidly create a fully configured multi-module application menu ready for immediate use in the application navigator. This approach simplifies complex configurations, improves consistency, and accelerates application development.
Create and configure application menu modules using natural language
Scenario
- A list of active tasks
- A form for logging new incidents
- A dashboard for warehouse KPIs
- A link to an external supplier portal
- A folder for organizing reporting modules
Problem
Creating and configuring each module in the UI Builder manually can be time-consuming and repetitive, particularly when multiple modules are required simultaneously. Each module type includes its own set of configuration fields, including table names, filters, roles, views, and window settings. As a result, the administrator must fill in these fields individually. When dealing with an application with five or more modules, this process can take considerable time and is prone to configuration errors.
Solution
Using the Module generation feature, the admin provides a single natural-language prompt that describes all required modules. The AI agent analyzes the prompt, identifies the appropriate module types and key parameters, and generates all modules in a single step. The admin then reviews each generated module, makes any necessary adjustments, and saves the complete application menu.
Before you begin
Make sure that you install UI generation and that you have the ui_builder_admin role. For more information, see Install UI generation and Grant UI Builder admin role.
Configuration steps
- Navigate to .
- From the application navigator, select All, then select Create menu.
- Enter a name for the application menu (for example, Warehouse Operations) and select Create.
- On the Add modules page, select Generate multiple modules at once using Otto.
- Enter the following prompt: Create a list of active warehouse tasks, a new record form for logging incidents, a KPI dashboard called Warehouse Overview, a URL module linking to https://supplier-portal.example.com with window name Supplier Portal, and a folder called Reports.
- Select Generate.
ServiceNow Otto creates five modules and displays an AI indicator next to each.
- Review each module. Select Accept and Edit for each module to confirm and adjust configuration fields such as table name, role restrictions, or view settings.
- Rearrange modules if needed, then select Done.
Outcome
The administrator creates and configures a five-module application menu within a single workflow. The resulting modules are immediately ready for use in the application navigator.