Enable Workflow Agent Teams to Generate Widgets
In your workflow, the LLM and agent nodes can generate widgets. Initial graphics and
insight displays are produced by agent output blocks that carry a
patternId and a widget-specific config. In App
Builder, the display prompt tells the runtime agent what widget output to generate.
Enable Workflow Agent Teams
To enable workflow agent teams to generate widgets, do these steps:
- Go to AI Agent Studio open the Agent Teams tab.
- Select Edit
to
modify the workflow. - Go to the LLM or agent node that should generate widgets.
- Edit the node and open the App Experience tab.
- Select the options to enable widgets for actions and communications as needed.
- Select the types of widget that are to be generated by the workflow agent team.
- Add instructions for the widget.
Types of Widgets
Here are the types of widgets an LLM or agent node can generate:
| Type of Widget | Sample Prompt | Details | Example |
|---|---|---|---|
| Card | Use a cardWidget to present one important update as a clean, scannable card. Include a short subject, an optional subtitle for context, a brief summary, and if helpful a status line or time stamp, so the update feels informative without being crowded. |
Use commands such as |
|
| Messages List |
Use a messageListWidget to show a short list of recent messages, alerts, or notable events. Each item should have a clear title, optional supporting context like a subtitle or summary, and a time stamp when useful, so the list feels friendly, current, and easy to scan. |
Runtime behavior is considered. |
|
| Change List | Use a changeListWidget to compare a few key metrics between a previous value and a current value. Add a short subtitle to explain what’s being measured, keep the rows easy to read, and only include a message if there’s a meaningful insight or anomaly worth calling out. |
Values should stay numeric. Formatting comes from displayType, not from embedding percent signs or currency symbols inside the numbers. |
|
| Chart | Use a chartWidget to visualize a simple trend, comparison, or proportion in a way that's easy to understand at a glance. Choose the chart type that fits the story, use clear labels, and include one or two short insights underneath to help explain what the chart is showing. |
|
|
| Record | Use a recordWidget to show a structured record as a simple form that can either be reviewed or edited. Include clearly labeled fields, choose field types that match the data, and keep the layout straightforward so it feels comfortable for someone filling in or checking details. |
In editable mode, the runtime automatically submits the form
through an |
|
| Multi Record | Use a multiRecordWidget to present structured information in a compact table with clear columns and rows. Keep the values short and scannable, use badge-style cells for statuses when helpful, and only add row actions if the experience should explicitly support taking action from the table. |
The |
|
| Sankey | Use a sankeyWidget to show how volume or activity flows from one stage to another across a process. Define clear node names, keep the flow easy to follow from left to right, and use realistic values so the visualization tells a simple story about where things are going. |
Node IDs are numeric and edges point to those IDs. Keep values positive and keep the flow easy to follow. |
|
Interactive widgets
For interactive widgets, use ora.Invoke("actionCode", payload),
which represents the app-defined action path.