Skip to content

Carousel and cards

result_transform chooses how mapped items appear in the widget. All layouts use the same field mapping — only presentation differs.

LayoutVisitor experienceBest for
carouselHorizontal swipe, one card prominent3–12 visual offers (rooms, products)
gridMulti-column tile viewDense catalogs on wide screens
listVertical stack, compact rowsSearch results, many SKUs
singleOne large cardFeatured offer or confirmation

Set layout in your transform config. See Transform reference.

  1. items_path — JSON path to the array (e.g. data.offers).
  2. card typeproduct or media.
  3. Field mapping — title, image, price, link, etc.
  4. sort_by — optional ordering (e.g. price ascending).
  5. actions — button labels wired to URLs or follow-up intents.
SettingValue
items_pathdata.offers
layoutcarousel
card typemedia
sort_bytotalGrossAmount.amount:asc
actions”Book This Room”, “More Details”

Full walkthrough: Room offer carousel quickstart.

Layouts render only after a successful tool call. See Trust policy.