Interactive widgets inside the conversation
Replace long text answers with a card, a form or a booking picker. Build a widget with the AI widget builder or write it in the code editor, then let the agent show it.
Widgets customers actually use
Six answers that work better as a component than as a block of chat text.
Order tracking card
Show the order number, the items and the delivery status as a card, instead of a paragraph the customer has to read twice.
Booking picker
Let a visitor choose a date and time inside the chat and confirm it without leaving the page.
Forms
Collect a name, an email address and the details of a request in one step instead of asking one question at a time.
Product cards
Show a short list of products with a picture, a title and a button, so the visitor can pick one and keep going.
File uploads
Ask for a photo of a damaged item or a copy of a receipt, and attach the file to the conversation.
Status and summary views
Present a plan, a quote or a request summary in a clean layout that the customer can check before confirming.
Two ways to build a widget
In the Widget builder, describe what you want and the AI widget builder drafts the layout, the states and the logic for you to adjust. If you prefer to control every detail, open the code editor and write the widget yourself. Both produce the same kind of component, so you can start with AI and finish in code.
- AI widget builder: describe the widget in plain language and refine the result
- Code editor: full control over components, states and functions
- Components for layout, text, form inputs, data display, media and interactive elements
- States and functions connect the widget to data and to the conversation
Add your first widget
- 1
Open the Widget builder
Open your agent and start a new widget. Describe it to the AI widget builder, for example an order tracking card that shows status and items.
- 2
Adjust components and states
Edit the layout, set what the widget shows when it is loading, empty or complete, and connect its functions to your data.
- 3
Connect it to an action
Use a Custom action or a connected system such as Shopify so the widget shows live data and not a fixed example.
- 4
Test it in the Playground
Ask the agent a question that should show the widget, check the result on desktop and mobile, then publish the version.
Component groups in the builder
| Group | What it is for | Example use |
|---|---|---|
| Layout | Arrange other components in rows, columns and sections | Two-column order summary |
| Text | Headings, labels and short copy | Delivery status and estimated date |
| Form inputs | Fields the customer fills in | Email field and return reason picker |
| Data display | Lists, tables and values from your data | List of items in an order |
| Media | Images and other visual content | Product picture on a card |
| Interactive | Buttons and controls that trigger something | Confirm a booking or start a return |
Frequently asked questions
Do I need to write code to build a widget?
No. The AI widget builder creates a widget from a description. The code editor is there when you want to change details by hand.
Can a widget show live data from my systems?
Yes. Functions let a widget call your systems and show the result, for example the current status of an order.
Can customers upload files in a widget?
Yes. Widgets support file uploads, so a customer can attach a photo or a document and the agent can work with it.
Can I see whether customers click my widgets?
Yes. Click tracking records interactions with the buttons and links inside a widget, so you can tell which ones are used.
Keep reading
Widgets overview
What widgets are and how they fit into a chat.
AI widget builder
Create a widget from a description.
Code editor
Write and edit a widget by hand.
Widget states
Handle loading, empty and complete views.
Order tracking with an AI agent
Automate returns and order lookups.