> ## Documentation Index
> Fetch the complete documentation index at: https://crossword.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Assistant reply

> The assistant reply is what an Agent sends each turn, with text, cards, suggestions, and actions. Every part emits its own events so you can track results.

The assistant reply is what a shopper sees every time an Agent answers. It appears in the conversation, one per turn, and it is the one component an [Agent](https://crossword.ai/docs/agents/overview.md) composes each turn. It carries no rule. Every part of it emits its own events, which is how you follow a shopper from a reply to a purchase.

## What it contains

The diagram shows the Agent composing the assistant reply and the parts the reply holds.

```mermaid theme={null}
flowchart TB
  AGENT["Agent<br/><small>named by a starter or proactive message, or chosen by intent routing</small>"]
  AGENT -. "composes" .-> AR
  AR["Assistant reply<br/><small>one per turn · no rule</small>"]
  AR --> PL["Persona label<br/><small>the Agent's name and avatar</small>"]
  AR --> RT["Reply text<br/><small>text blocks, rich content, citations</small>"]
  AR --> SRC["Sources<br/><small>where the answer came from</small>"]
  AR --> CARDS
  AR --> FU["Follow-up suggestions<br/><small>written per reply · no rule</small>"]
  AR --> QR["Quick replies<br/><small>closed one-tap answers with a fixed value</small>"]
  AR --> AC["Actions<br/><small>buttons, links, and the navigation button</small>"]
  AR --> FB["Message feedback<br/><small>thumbs up or down</small>"]
  subgraph CARDS["Cards and collections"]
    PC["Product cards"]
    PCOL["Product collections"]
    CC["Comparison cards"]
    CART["Cart cards"]
    REST["Quizzes, forms, and the rest"]
  end
  LIB["Component library<br/><small>plain components, no rule</small>"]
  CARDS -. "drawn from" .-> LIB
```

| Part | What it holds |
| - | - |
| Persona label | The name and avatar of the Agent answering, from its [persona](https://crossword.ai/docs/agents/persona-and-brand-voice.md). When a person from your team replies during a handoff, the label shows their name instead |
| Reply text | Text blocks, rich content, and citations or source references |
| Sources | Where the answer came from, such as a product page, an FAQ, or a policy. The shopper can open the list to check it |
| Cards and collections | Components from the [Component library](https://crossword.ai/docs/components/overview.md): product cards, product collections, comparison cards, cart cards, quizzes, forms, and the rest |
| Follow-up suggestions | Open next steps under the reply, written by the Agent for each reply |
| Quick replies | Closed one-tap answers with a fixed value, such as Yes, No, or Size 9 |
| Actions | Buttons and links the shopper can act on, such as "View all results" or "Add to cart" |
| Navigation button | A link that opens a page after a short countdown, such as the size guide or the order status page. The shopper can tap it to go now or cancel it |
| Message feedback | A thumbs up or down under the reply, with reason chips on a down vote. Read [Feedback and CSAT](https://crossword.ai/docs/components/conversation/feedback.md) |

The reply text and its formatting belong to the reply. Cards and collections are plain components the Agent composes in. [Follow-up suggestions](https://crossword.ai/docs/components/conversation/follow-up-suggestion.md) are a component of their own, rendered under the reply. The Agent writes them for each reply from its instructions.

## Quick reply

A quick reply is a one-tap answer with a fixed value, such as **Yes**, **No**, or **Size 9**. Tapping it sends the value as if the shopper had typed it. It answers a question the Agent just asked. A follow-up suggestion is an open next step instead.

| Property | What it holds |
| - | - |
| Label and value | The text on the chip and the value it stands for. The two can differ, such as a label of **Size 9** and a value of `US9`. |
| Payload | Extra data sent with the value, such as the product or question it answers. |
| Action | What tapping it does. Usually it sends the value to the Agent as the shopper's answer. |

Quick replies carry no rule. The Agent decides at reply time whether to offer them and which values to offer.

## How it is produced

No rule gates a reply. There is no priority, timing, or delivery restriction on a reply. Two things upstream decide what the shopper sees.

1. **Which Agent answers.** A tapped [conversation starter](https://crossword.ai/docs/components/conversation/conversation-starter.md) or a reply to a [proactive message](https://crossword.ai/docs/components/conversation/proactive-message.md) goes straight to the Agent named next to it in the active Journey. A typed question goes through [intent routing](https://crossword.ai/docs/global/intent-routing.md), set in Global settings.
2. **The shape of the reply.** That Agent's [rich responses and actions](https://crossword.ai/docs/agents/rich-responses-and-actions.md) decide the text and formatting, which follow-ups and quick replies to offer, and which cards and collections to render.

Follow-up suggestions follow the same path. They carry no rule, conditions, or priority. The Agent writes them for each reply, from the guidance in its [operating procedure](https://crossword.ai/docs/agents/goal-and-operating-procedure.md) and the reply it just gave. Read [Agents](https://crossword.ai/docs/agents/overview.md) for how Agents are set up.

## The event trail

Each rendered child of a reply has its own identity. It emits an impression event when it renders and an interaction event when the shopper acts on it. Because the identities are distinct, you can follow one shopper through a single reply:

Reply shown → product card clicked → follow-up suggestion selected → add to cart.

Every step in that trail is a separate event with a reference back to the reply it belongs to.

| Child | Impression event | Interaction events |
| - | - | - |
| Reply text | Reply shown | Citation or link opened |
| Sources | Sources shown | Source opened |
| Product card | Card shown | Card clicked, variant selected, add to cart |
| Product collection | Collection shown | A card inside it clicked |
| Comparison card | Comparison shown | Product selected from the comparison |
| Follow-up suggestion | Suggestion shown | Suggestion selected |
| Quick reply | Quick reply shown | Quick reply selected |
| Action | Action shown | Action clicked |
| Navigation button | Navigation shown | Page opened, or countdown cancelled |
| Message feedback | Feedback shown | Thumbs up, thumbs down, reason selected |

Impressions tell you what the shopper saw. Interactions tell you what they did with it. Together they answer "which follow-up suggestion leads to the most add-to-cart events" for a single reply.

## Example

A shopper has typed "I need road running shoes, size 9, under \$150" and answered one question about cushioning. The reply opens with the sentence "Based on what you've told me, these three are your best matches", followed by a carousel of three product cards, each with an image, a price, and a size selector preset to 9. Under the carousel sit three follow-up chips, "Compare the first two", "Show me cheaper options", and "Only show black", and beneath those a single text button, **View all results**. The shopper's own message sits above the reply so the exchange reads as one turn. All four kinds of child appear in the one reply.

Under the reply text, the reply renders, in order:

1. A product collection holding Product A, Product B, and Product C.
2. Three follow-up suggestions: "Compare the first two", "Show me cheaper options", "Only show black".
3. One action: "View all results".

One reply, four kinds of child. Each is rendered and tracked separately.

## Related

> [card] [Agents](https://crossword.ai/docs/agents/overview.md)

> [card] [Component library](https://crossword.ai/docs/components/overview.md)

> [card] [Product card](https://crossword.ai/docs/components/cards/product-card.md)

> [card] [Follow-up suggestion](https://crossword.ai/docs/components/conversation/follow-up-suggestion.md)

> [card] [Feedback and CSAT](https://crossword.ai/docs/components/conversation/feedback.md)

> [card] [Conversation states](https://crossword.ai/docs/components/widget/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.