Widgets
Product Widget
Display product widgets in the chat with images, pricing, ratings, and other details.
Category: Widgets · Plans: Trial, Starter, Pro, Premium, Enterprise · Type: ProductWidget
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Products | product_groups | Yes | — | Visual Product Builder - Configure products with name, price, images, rating, and other details. |
| Title | Text | No | (empty) | Optional title for the products list. |
| Display Mode | Text | No | tiles | How to display multiple products: ’tiles’ for responsive grid, ‘cards’ for stacked poker-style cards. Options: tiles, cards |
| Card Layout | Text | No | vertical | Layout style for product cards. Options: vertical, horizontal |
Outputs#
| Output | Type |
|---|---|
| Message | Any |
| Title | Any |
| Product Count | Any |
| Display Mode | Any |
| Product Names | Any |
| Widget Type | Any |
Use as an agent tool#
Tool name: display_products
Display products as interactive widgets. Provide a list of products with their details. For a single product, it shows a product card (use card_layout=‘horizontal’ for image on left). For multiple products (2+), use display_mode=‘tiles’ for responsive grid or ‘cards’ for stacked poker-style cards. Each product needs: name, price (MUST be a numeric value like 49.99, NOT a string like ‘$49.99’). Use ‘currency’ field for the symbol (e.g., ‘$’, ‘EUR’). Optional: brand, original_price, currency, images, rating, reviews, description, in_stock, tags, url.