---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/employee-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# AI-powered Widget Builder

# AI-powered Widget Builder {#ariaid-title1}

Release version: Australia  
Updated April 24, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 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 AI-powered Widget Builder

The AI-powered Widget Builder is a comprehensive tool designed for administrators and partners to efficiently create, clone, and enhance Employee Slate widgets within ServiceNow.
It integrates natural-language prompts, a visual preview, and direct code access into a single authoring environment, enabling users to transition from written requirements to functional widgets without leaving the tool.
Show full answer Show less  

## Key Features

* **Widget Library:** Provides a searchable and filterable list of all widgets in the instance, including both custom and base system widgets. Administrators can duplicate or directly edit widgets and select the appropriate scope for new widget creation.
* **AI-Driven Widget Generation:** Utilizes a chat panel to generate widget code from natural language descriptions. The system validates and compiles the widget to ensure functionality before preview, typically completing generation within 15 to 20 seconds. Users can refine widgets through iterative prompts, with an undo history to revert changes.
* **Widget Properties Management:** Automatically generates widget tag names, element names, and descriptions, which administrators can further customize. Includes controls for chat compatibility to map widgets to agent tools and role-based access to restrict widget visibility to specific employee roles.
* **Preview and Code Review:** Supports drag, resize, and responsive layout testing to verify widget behavior across canvases. Widgets adhere to the Employee Slate design system using design tokens for styling. Administrators can inspect and manually edit generated component and server script code, with the ability to supply sample input values to drive previews.

## Key Outcomes

By leveraging the AI-powered Widget Builder, ServiceNow administrators can accelerate widget development, reduce manual coding effort, and ensure consistent design compliance. The integrated AI chat and visual preview streamline the creation process, resulting in high-quality, role-specific, and chat-compatible widgets that enhance the Employee Slate experience.

**Note:** AI-driven widget generation requires a Now Assist Creator license; without it, administrators must manually author widgets using the component and server script editors.  
Administrators and partners use the AI-powered Widget Builder to generate, clone, and refine Employee Slate widgets. The builder provides natural-language prompts, a visual preview, and direct access to the generated
component and server script.

The Widget Builder is the single authoring surface for all Employee Slate canvas widgets. It combines a widget library, an AI chat panel, and an inline code and preview workspace.
Administrators move from a written requirement to a working widget without leaving the tool.{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-1}

## Widget library {#eslate-ai-widget-builder__section-widget-library}

The first card in the Widget Builder lists every widget available in the instance. Administrators use the library to:{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-2}

* Search for widgets by name or description.
* Filter between custom widgets built in the instance and widgets included in the base system.
* Duplicate an existing widget as the starting point for a new one.
* Edit an existing widget directly.
* Select the scope in which to create the widget.
{#eslate-ai-widget-builder__ul-widget-library-actions}

## AI-driven widget generation {#eslate-ai-widget-builder__section-ai-generation}

The Widget Builder chat panel generates widget code from a written description. The builder creates the widget and validates the generated code. It then compiles the widget to confirm
that the output is a working component before it appears in the preview. Generation typically completes in 15 to 20 seconds.{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-3}

After the Widget Builder generates the widget, administrators refine it with follow-up prompts. Each prompt produces a new version of the widget that the administrator accepts or rejects.
The Widget Builder keeps an undo history so administrators can revert to any earlier version.{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-4}  
Note:  
AI-driven widget generation requires an Now Assist Creator license. Without the license, the chat panel isn't available and administrators author widgets manually in the component and server script editors.

## Widget properties {#eslate-ai-widget-builder__section-widget-properties}

The Widget Builder generates the widget tag name, element name, and description from the prompt. Administrators can refine the following properties:{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-5}  
{#eslate-ai-widget-builder__table-widget-properties__entry__2}

| Property | Description |
|-|-|
| Tag name and description | Identifies the widget in the library and in generated code. |
| Chat compatibility | Controls whether the widget maps to the output of tools that agents use. When turned on, administrators can map the widget to a tool output with interactive and inline toggle view in the conversation. |
| Role access | Limits the widget to employees with specific roles. For example, assign an administrator role to restrict the widget to administrators. |
[Table 1. Widget properties]

{#eslate-ai-widget-builder__table-widget-properties}

## Preview and code review {#eslate-ai-widget-builder__section-preview-and-code}

The Widget Builder preview supports drag, resize, and responsive checks so administrators can confirm that the widget behaves correctly across canvas layouts. Generated widgets follow the
Employee Slate design system and use design tokens for styling.{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-6}

Administrators open the generated component and server script to inspect the code and run manual quality checks. They can also edit the widget outside of the chat panel. To drive the preview, administrators provide sample input values through the widget settings.{#eslate-ai-widget-builder__eslate-ai-widget-builder-para-7}

