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

# Core concepts

> Learn the building blocks of Crossword, from experiences and Journeys to Agents and components, and how each layer nests inside the next.

Crossword has its own vocabulary because it does more than answer chat messages. It decides what a shopper sees, when they see it, and what happens next. The objects that make those decisions nest inside each other, so it helps to learn the layers before the individual features.

## The layers

An experience holds Global settings, Journeys, and Pages and placements. Crossword selects one Journey for the shopper by its entry point. The Journey holds its conversation starters and proactive messages, and names its Agent. Agents place cards and interactive components in their replies. Page sections sit outside Journeys, under Pages and placements.

```mermaid theme={null}
flowchart TB
  EX["Experience"] --> GS["Global settings<br/><small>welcome message · intent routing · brand voice · guardrails</small>"]
  EX --> J["Journeys<br/><small>one at a time, selected by entry point</small>"]
  EX --> PP["Pages and placements<br/><small>outside Journeys</small>"]
  GS -. "welcome message shown in" .-> J
  GS -. "inherited by" .-> AG
  J --> SM["Starters and proactive messages<br/><small>each routes to a named Agent</small>"]
  J -. "names its Agent" .-> AG["Agents"]
  SM -. "route to" .-> AG
  AG --> CI["Cards and interactive components<br/><small>placed in replies</small>"]
  PP --> PS["Page sections<br/><small>own target page, placement, and rule</small>"]
```

Global settings sit above both Journeys and Agents. Each Journey holds its starters and proactive messages and names its Agent.

1. **[Experience](https://crossword.ai/docs/orchestration/channels-and-experiences.md).** One storefront's configuration on one channel. An experience lives on a single channel such as your website, Instagram, or iMessage.
2. **[Global settings](https://crossword.ai/docs/global/overview.md).** What every Journey and Agent shares. The welcome message, intent routing for typed questions, brand voice, global guardrails, and shared customer memory.
3. **[Journeys](https://crossword.ai/docs/orchestration/journeys.md).** One situation a shopper is in, selected by its entry point. One Journey applies at a time. Each holds its own conversation starters, proactive messages, Agent, and goals.
4. **[Components](https://crossword.ai/docs/components/overview.md).** Everything a shopper can see or interact with. Welcome messages, starters, product cards, quizzes, page sections. Some carry a rule that says when and where they show. Others are plain content placed inside them.
5. **[Agents](https://crossword.ai/docs/agents/overview.md).** Who answers inside a Journey. An Agent composes the assistant reply from text, cards, and follow-up suggestions at the moment of the question. Tapped starters and proactive messages go straight to the Agent named next to them. Typed questions reach an Agent through [intent routing](https://crossword.ai/docs/global/intent-routing.md).

Four more things act on this structure without being part of the chain. [Campaigns](https://crossword.ai/docs/orchestration/campaigns.md) run sequences over time and can activate Journeys or send messages. [Experiments](https://crossword.ai/docs/orchestration/experiments.md) split traffic between Journeys. [Deployment](https://crossword.ai/docs/orchestration/deployment.md) publishes the whole experience. [Quality and governance](https://crossword.ai/docs/quality/overview.md) measures, tests, and versions it. The first three are mapped in [How it fits together](https://crossword.ai/docs/orchestration/overview.md).

## Which components carry rules

Every component is in one list, but they come in two kinds. Some carry their own rule. The rest show because the Journey the shopper is in holds them, or because an Agent or another component placed them. The Journey itself is selected by its [entry point](https://crossword.ai/docs/orchestration/rules.md#entry-points).

| Family | Components | Carries a rule? |
| - | - | - |
| Widget | [Widget](https://crossword.ai/docs/components/widget/overview.md) and its [placements](https://crossword.ai/docs/components/widget/placements.md) | No. They make up the chat widget itself. |
| Conversation | [Conversation starter](https://crossword.ai/docs/components/conversation/conversation-starter.md) | No rule of its own. It belongs to a Journey, shows whenever that Journey applies, and routes to a named Agent. It can open a component such as the quiz. |
| Conversation | [Proactive message](https://crossword.ai/docs/components/conversation/proactive-message.md) | Yes. A "shows when" rule, such as time on page, scroll, arrival source, or past orders, inside the active Journey. Routes to a named Agent. |
| Conversation | [Follow-up suggestion](https://crossword.ai/docs/components/conversation/follow-up-suggestion.md) | No. Set in the Agent. The Agent writes them for each reply from its operating procedure. |
| Conversation | [Welcome message](https://crossword.ai/docs/components/conversation/welcome-message.md) | No. It is global. You set it once in [Global settings](https://crossword.ai/docs/global/overview.md), and it is the same in every Journey. |
| Conversation | [Assistant reply](https://crossword.ai/docs/components/conversation/assistant-reply.md), [feedback](https://crossword.ai/docs/components/conversation/feedback.md) | No. The Agent composes the reply each turn, and feedback sits under it. |
| Cards | [Product card](https://crossword.ai/docs/components/cards/product-card.md), [product collection](https://crossword.ai/docs/components/cards/product-collection.md), [comparison card](https://crossword.ai/docs/components/cards/comparison-card.md), [cart and checkout card](https://crossword.ai/docs/components/cards/cart-checkout-card.md), [order and refund card](https://crossword.ai/docs/components/cards/order-refund-card.md), [product detail card](https://crossword.ai/docs/components/cards/product-detail.md) | No. Placed inside a message or a reply. |
| Interactive | [Complete the look](https://crossword.ai/docs/components/interactive/complete-the-look.md), [quiz](https://crossword.ai/docs/components/interactive/quiz.md), [form](https://crossword.ai/docs/components/interactive/form.md), [game](https://crossword.ai/docs/components/interactive/game.md) | No. Placed the same way as cards, or opened by a starter. |
| Dynamic components | [Dynamic components](https://crossword.ai/docs/components/dynamic/overview.md): suggested questions, AI summary, Product Q\&A, Ask AI button, and Summarize link | No. A [page group](https://crossword.ai/docs/components/dynamic/page-groups.md) picks the pages, and each component sits at one placement. |

Read [Rules](https://crossword.ai/docs/orchestration/rules.md) for what a rule can contain.

## Glossary

| Term | Meaning |
| - | - |
| [Channel](https://crossword.ai/docs/orchestration/channels-and-experiences.md) | A surface Crossword runs on. Web, Instagram, iMessage, or another supported channel. |
| [Experience](https://crossword.ai/docs/orchestration/channels-and-experiences.md) | One storefront's configuration on one channel. Holds Global settings, Journeys, Agents, Campaigns, Pages and placements, Experiments, and Deployment. |
| [Global settings](https://crossword.ai/docs/global/overview.md) | What every Journey and Agent in an experience shares. The welcome message, intent routing, brand voice, global guardrails, shared rich responses, escalation defaults, and customer memory. |
| [Journey](https://crossword.ai/docs/orchestration/journeys.md) | One situation a shopper is in, selected by its entry point. Holds a welcome message for reference, its own conversation starters and proactive messages, the Agent that answers, and its goals. One Journey applies to a shopper at a time. |
| [Entry point](https://crossword.ai/docs/orchestration/rules.md#entry-points) | The pages, and sometimes a condition such as "user is logged in", that select a Journey. When entry points overlap, the more specific one wins. |
| [Default Journey](https://crossword.ai/docs/orchestration/journeys.md#entry-points-and-the-default-journey) | The Journey that covers any page no other Journey claims. |
| [Goal](https://crossword.ai/docs/orchestration/journeys.md#goals) | The outcome a Journey exists for. Each Journey has one primary and one secondary goal, such as add to cart and Subscribe & Save. |
| [Intent routing](https://crossword.ai/docs/global/intent-routing.md) | The Global setting that sends each typed question to the right Agent. Tapped starters and proactive messages skip it and go straight to the Agent named next to them. |
| [Campaign](https://crossword.ai/docs/orchestration/campaigns.md) | A stateful customer-engagement program that enrolls an audience and orchestrates actions over time. |
| [Sequence](https://crossword.ai/docs/orchestration/campaigns.md) | The ordered steps inside a Campaign. Messages, waits, branches, and actions. |
| [Rule](https://crossword.ai/docs/orchestration/rules.md) | A condition that decides when something applies. Entry points select Journeys, "shows when" rules time proactive messages, and page sections carry their own rules. |
| [Component](https://crossword.ai/docs/components/overview.md) | Anything a shopper can see or interact with. Messages, suggestions, cards, interactive pieces, page sections, and dynamic components. |
| [Component library](https://crossword.ai/docs/components/overview.md) | The single list of every component, grouped into families. Shared across every experience. |
| [Agent](https://crossword.ai/docs/agents/overview.md) | The assistant that answers inside a Journey and composes the assistant reply. Has a goal, an operating procedure, a persona, knowledge, guardrails, and the actions it can take. |
| [Operating procedure](https://crossword.ai/docs/agents/goal-and-operating-procedure.md) | The numbered steps an Agent follows to reach its goal, such as ask one or two questions, then recommend one best pick. |
| [Fallback behaviour](https://crossword.ai/docs/agents/guardrails-and-fallback.md) | What an Agent does when it cannot answer, such as saying so honestly and offering the quiz, or bringing in a human. |
| [Customer memory](https://crossword.ai/docs/agents/customer-memory.md) | What an Agent remembers about a shopper, such as what they are looking for, questions already answered, or an order number once shared. |
| [Escalation and handoff](https://crossword.ai/docs/agents/escalation-and-handoff.md) | When an Agent passes the conversation to another Agent or to a human on your team, with the conversation so far. |
| [Workflow](https://crossword.ai/docs/agents/workflows.md) | A deterministic set of steps an Agent or a Campaign can run. Look up an order, generate a return label, apply a coupon. Dynamic components use a separate [Workflow](https://crossword.ai/docs/components/dynamic/workflows.md) that writes their words. |
| [Audience](https://crossword.ai/docs/orchestration/audiences.md) | Who something applies to. Expressed as a Segment. |
| [Segment](https://crossword.ai/docs/orchestration/audiences.md) | A reusable definition of a customer group. Static segments have assigned members. Dynamic segments recalculate membership from conditions. |
| [Placement](https://crossword.ai/docs/orchestration/pages-and-placements.md) | A location on a merchant page where Crossword inserts, replaces, or updates content. |
| [Experiment](https://crossword.ai/docs/orchestration/experiments.md) | A split of traffic between two or more Journeys, measured against a goal event. |
| [Environment](https://crossword.ai/docs/orchestration/deployment.md) | A deployment target such as Test or Production. Each holds a published revision of the experience and its own installation snippet. |
| [Revision](https://crossword.ai/docs/orchestration/deployment.md) | An automatically numbered snapshot created each time you publish an experience. |

## Two principles that shape everything

**One Journey at a time, selected by entry point.** A shopper is always in exactly one [Journey](https://crossword.ai/docs/orchestration/journeys.md). Crossword picks it by matching the shopper's page and context against each Journey's entry point. When entry points overlap, the more specific one wins, and the Default Journey covers every page no other Journey claims. The shopper sees that Journey's starters and proactive messages, and nothing from any other Journey.

**Everything a Journey shows routes to an Agent.** Each conversation starter and each proactive message names the Agent it goes to, and the Journey names the Agent that answers in it. A tapped starter or a reply to a proactive message goes straight to that Agent. A typed question goes through [intent routing](https://crossword.ai/docs/global/intent-routing.md) in Global settings.

## Where to go next

> [card] [Journeys](https://crossword.ai/docs/orchestration/journeys.md)
>
> What a Journey contains, from entry point to goals.

> [card] [Agents](https://crossword.ai/docs/agents/overview.md)
>
> Who answers inside a Journey, and how.

> [card] [Global settings](https://crossword.ai/docs/global/overview.md)
>
> The welcome message, intent routing, and defaults every Journey shares.

> [card] [Journeys vs campaigns](https://crossword.ai/docs/orchestration/journeys-vs-campaigns.md)
>
> When the situation is enough and when you need a stateful sequence.

> [card] [Component library](https://crossword.ai/docs/components/overview.md)
>
> Every component in one list, with which ones carry rules.

> [card] [Rules](https://crossword.ai/docs/orchestration/rules.md)
>
> Entry points, "shows when" rules, and page section rules.


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