GTWY Header

Widget UI Documentation

#

1. Overview

The Widget feature allows you to create structured UI components (like cards) directly from the panel.

You can:

  • Create UI cards using the Widget option in the panel

  • Create widgets from the Widget section

  • Use default pre-built widgets

  • Configure widgets from the Agent Config page

  • Generate UI dynamically based on agent response data


#

2. Where to Create Widgets

#

Option 1: From the Panel

  • Open the Panel

  • Select Widget

  • Choose or configure your widget

  • Save and use

#

Option 2: From the Widget Section

  • Navigate to the Widget Section

  • You will see default widgets already available

  • You can:

    • Use existing widgets

    • Create new widgets


#

3. Default Widgets

By default, the system provides pre-configured widgets such as:

  • Card UI

  • List UI

  • Table UI

These can be used directly or customized.


#

4. How to Use Widget in Agent

#

Step 1: Go to Agent Config Page

Navigate to the Agent Config Page.

#

Step 2: Select Response Type

A new option is available:

Response Type → Widget

When you select Widget, multiple widget options will appear.

#

Step 3: Select Widget Type

  • Choose the widget type you want (e.g., Card, List, Table).


#

5. How It Works

  1. Configure your widget in Agent settings.

  2. Select Response Type = Widget.

  3. Choose and configure your widget.

  4. Send a query to the agent.

  5. The agent will return structured data.

  6. The system automatically renders the UI based on:

    • Selected widget type

    • Returned agent data

The UI will be generated dynamically according to your configured widget structure.


#

6. Example Flow

  1. Open Agent Config.

  2. Select:

    Response Type → Widget
    Widget Type → Card
  3. Ask the agent:

    Show me detail in card for the company info of walkover
  4. The agent returns structured product data.


#

7. Key Benefits

  • No manual UI coding required

  • Dynamic UI generation

  • Reusable widget templates

  • Structured and consistent design

  • Easy configuration


#

8. Important Notes

  • Widgets must be properly configured before use.

  • Agent response must return structured data.

  • UI rendering depends on selected widget type.



On this page
1. Overview
2. Where to Create Widgets
Option 1: From the Panel
Option 2: From the Widget Section
3. Default Widgets
4. How to Use Widget in Agent
Step 1: Go to Agent Config Page
Step 2: Select Response Type
Step 3: Select Widget Type
5. How It Works
6. Example Flow
7. Key Benefits
8. Important Notes