> ## 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.

# Dynamic components

> Embed AI-generated content, such as suggested questions and product summaries, directly in your store pages. Crossword generates the content for each page in advance, so every component loads with the page.

Dynamic components are AI-powered blocks that Crossword renders directly within your store's pages, outside the chat. A product page can display a row of question chips below the description. It can also display a concise AI summary beside the title, or a box that answers questions in place. You design each component once. Crossword then generates its content for every page where it appears and stores the result. Components render with the page, with no generation delay at load time.

![A product page with a summarize link beside the reviews, an AI summary under the description, and Ask AI question chips under the product badges](https://mintcdn.com/crossword/1ix7eW-R8_36LH_u/images/page/page-sections.png?fit=max\&auto=format\&n=1ix7eW-R8_36LH_u\&q=85\&s=5d8e0615332b54303a703bde3fa440e0)

A product page with three dynamic components highlighted: a summarize link, an AI summary, and suggested questions

## Component templates

Every component is built from one of five templates. You can create any number of components from a single template.

### Suggested questions

Displays a heading, a set of question chips, and an **Ask something else** button.

![A Suggested questions component with an Ask AI heading, three question chips, and an Ask something else button](https://mintcdn.com/crossword/B1apvsJ7o3OEZ4It/images/dynamic/suggested-questions.png?fit=max\&auto=format\&n=B1apvsJ7o3OEZ4It\&q=85\&s=08d57756112f700631645bb334316fe0)

### AI summary

Displays a one-line summary of the product. **Show more** expands a short list of key points.

![An AI summary component showing a short product summary with a Show more link](https://mintcdn.com/crossword/B1apvsJ7o3OEZ4It/images/dynamic/ai-summary.png?fit=max\&auto=format\&n=B1apvsJ7o3OEZ4It\&q=85\&s=6a4de96611c0214278563245a040f51b)

### Product Q\&A

Displays a **Looking for specific info?** box. The shopper selects or types a question, and the answer appears within the box.

![A Product Q\&A component titled Looking for specific info?, with a question field and two suggested questions](https://mintcdn.com/crossword/B1apvsJ7o3OEZ4It/images/dynamic/product-qa.png?fit=max\&auto=format\&n=B1apvsJ7o3OEZ4It\&q=85\&s=821e34e60d9554df6da84a85422e7207)

> [!NOTE]
>
> Product Q\&A is a component template. It is distinct from the Product Q\&A Agent and Journey, although you can select that Agent to answer it.

### Ask AI button

A standalone button that opens the chat. You can position it anywhere on the page, for example within a section heading.

![An Ask AI button](https://mintcdn.com/crossword/B1apvsJ7o3OEZ4It/images/dynamic/ask-ai-button.png?fit=max\&auto=format\&n=B1apvsJ7o3OEZ4It\&q=85\&s=f574655da0d2a25b1dfe9fee31f3ed29)

Crossword renders the Ask AI button template. To turn a button you already have into an Ask AI button, read [Add an Ask AI button](https://crossword.ai/docs/components/widget/ask-ai-button.md).

### Summarize link

A standalone link that asks a single question on the shopper's behalf, such as "Summarize the reviews".

![A Summarize this link with the Crossword AI mark](https://mintcdn.com/crossword/B1apvsJ7o3OEZ4It/images/dynamic/summarize-link.png?fit=max\&auto=format\&n=B1apvsJ7o3OEZ4It\&q=85\&s=2e5687e3890c96b6d17cc8c7cd85dc3f)

## How dynamic components work

Three objects in the dashboard determine where a component appears and what it displays. The diagram shows how a page group, a component, and a Workflow combine to produce the content on your store page.

```mermaid theme={null}
flowchart TB
  PG["Page group<br/><small>target pages and, optionally, shoppers</small>"]
  CMP["Component<br/><small>template, style, answering agent, one placement</small>"]
  WF["Workflow<br/><small>generates and stores content for each page</small>"]
  PAGE["Your store page<br/><small>renders the stored content</small>"]
  PG --> CMP
  CMP --> WF
  WF --> PAGE
```

| Object | Defines |
| - | - |
| [Page group](https://crossword.ai/docs/components/dynamic/page-groups.md) | Which pages, and optionally which shoppers, the component targets. For example, every product page, or every product in the Energy category. |
| [Component](https://crossword.ai/docs/components/dynamic/create-and-style.md) | The template, the style, the answering agent, and the single [position on the page](https://crossword.ai/docs/components/dynamic/placement.md) where the component appears. |
| [Workflow](https://crossword.ai/docs/components/dynamic/workflows.md) | The content. You type each item yourself or let AI generate it. The Workflow also determines when content is regenerated. |

> [!NOTE]
>
> In dynamic components, a Workflow is what generates a component's content. It is separate from [Agent Workflows](https://crossword.ai/docs/agents/workflows.md), which run multi-step actions such as tracking an order.

## Before you begin

The Crossword chat widget must already be installed on your site. Dynamic components load through the same installation snippet, so no additional installation is required.

Components follow your channel's rollout. A visitor who is not served the chat is not served components either. Read [Deployment](https://crossword.ai/docs/orchestration/deployment.md).

## Set up your first component

**1. Create a page group**

Open **Page groups** and choose how to match pages. You can match them by web address, use one page for each row of a table, or use the rows a saved query returns.

**2. Create the component**

Open **Dynamic components**, select **Create component**, and choose a template. Configure its style. If the template requires an answering agent, select one on the **Settings** tab.

**3. Place the component**

On the **Placement** tab, select the page group. Select **Pick on the site** to choose the exact position on your live page.

**4. Generate its content**

Open **Workflows**, create a Workflow, and add the component. Type the content yourself or turn on AI, then select **Run now**.

**5. Verify on your store**

Open a page in the group. The component appears once its content has been written for that page.

## Limitations

* All shoppers on a given page see the same content. Content is not personalized for individual shoppers.
* You cannot edit AI-generated content by hand. To set the content yourself, switch the item to **Typed**.
* A rewrite cannot be undone.
* Each component can be written by only one Workflow.
* Each component has exactly one placement. To show the same component on two kinds of page, [duplicate it](https://crossword.ai/docs/components/dynamic/create-and-style.md#duplicate-and-delete) and place the copy.

## Example

The following configuration adds question chips to every Energy product page. AI regenerates the chips whenever product data changes.

```yaml theme={null}
Page group: Energy products, one page for each Products row where Category is Energy
Component: Suggested questions, placed below the product description
Answering agent: Product Q&A
Workflow: Product pages, AI writes the chips when product data changes
Shopper experience: A heading, three question chips, and an Ask something else button
```

## Related

> [card] [Page groups](https://crossword.ai/docs/components/dynamic/page-groups.md)

> [card] [Create and style a component](https://crossword.ai/docs/components/dynamic/create-and-style.md)

> [card] [Place a component](https://crossword.ai/docs/components/dynamic/placement.md)

> [card] [Workflows](https://crossword.ai/docs/components/dynamic/workflows.md)

> [card] [Shopper experience](https://crossword.ai/docs/components/dynamic/shopper-experience.md)


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