Skip to main content

Overview

Display configuration transforms raw API data into rich, visual responses:

Configuration Structure

Field Mappings

Field mappings use JSONPath to extract data from API responses:

JSONPath Basics

Example API Response

Mapping Configuration

Display Types

Product Card

Single product display with image, title, price, and action button.
Options: Multiple products in a scrollable carousel.

Table

Structured data in rows and columns.
Column Properties:

Buttons

Quick action buttons.
Button Styles:
  • primary — Filled, prominent
  • secondary — Subtle background
  • outline — Border only

Product Grid

Display products in a responsive grid layout (2-4 columns):
Options:

Form

Display an interactive form within the chat:
Options:

Image

Single image display.

Custom Template

Fully custom rendering with templates.

Text Fallback

Always provide a text fallback for:
  • Email channel responses
  • Accessibility
  • Failed display rendering
Fallback templates can use:
  • {{count}} — Number of items
  • {{fieldName}} — Any mapped field
  • {{products}} — Formatted list of items

Complete Examples

Order Status Table

Feature Comparison

Quick Actions

Best Practices

Image Handling

  • Use HTTPS URLs for images
  • Provide fallback for broken images
  • Optimize image sizes for fast loading

Responsive Design

  • Display types are mobile-responsive by default
  • Carousels scroll horizontally on mobile
  • Tables may scroll on narrow screens

Accessibility

  • Always include textFallback
  • Use descriptive button labels
  • Ensure sufficient color contrast

See Also