> For the complete documentation index, see [llms.txt](https://docs.storylane.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storylane.io/repx-chat/engagement/introduction-to-playbooks.md). Agents can also search and read this documentation through its [MCP server](https://docs.storylane.io/~gitbook/mcp).

# Introduction to Playbooks

Tailor how RepX greets and qualifies visitors on different pages.

A visitor comparing plans on your pricing page has different questions than one who just arrived from an ad. Playbooks let you change how RepX engages visitors depending on the page they're on: when it appears, how it greets them, what it asks, and where it guides them next.

Find your playbooks under **Engagement → Playbooks**.

<figure><img src="https://2714158815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5THBKNFo5kBfDJULy3RM%2Fuploads%2FixUEobs1judCv1Lf81Rn%2FScreenshot%202026-11-23%20at%205.03.43%E2%80%AFPM.png?alt=media&amp;token=188b6e51-aa9e-4c12-876b-921aec1cec11" alt=""><figcaption></figcaption></figure>

### **The default playbook**

Every agent has a default playbook. It's set up during onboarding and applies to every page that doesn't match another playbook.

When RepX loads on a page, it checks whether the URL matches any of your playbooks. If one matches, RepX uses that playbook. If none match, it uses the default.

### **Creating a playbook**

1. Go to **Engagement → Playbooks** and click **Add playbook**.
2. Give the playbook a name. To rename it later, click the pencil icon next to the name.
3. Open **Where this playbook runs** and add the pages it should apply to.

You can match pages in three ways:

* **Is exactly:** one specific page, such as `yoursite.com/pricing`.
* **Starts with:** every page under a path, such as all `yoursite.com/customers` pages.
* **Contains:** any page with a word or path in its URL, such as `integrations`.

"Starts with" and "Contains" apply automatically to new pages that fit the pattern. That's useful for groups of pages with the same intent, like case studies or integration pages. Click **Add pages** to add more than one rule to a playbook.

<figure><img src="https://2714158815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5THBKNFo5kBfDJULy3RM%2Fuploads%2F5XSSfE8E1izd5CT8mF0h%2FScreenshot%202026-11-23%20at%205.05.46%E2%80%AFPM.png?alt=media&amp;token=1deacd43-991a-4971-95f1-636720f8e8bf" alt=""><figcaption></figcaption></figure>

### **What a playbook controls**

Each playbook has five sections:

| Section                          | What it sets                                                                | Learn more                                                                                                         |
| -------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| **When your agent appears**      | Show the launcher immediately, after a delay, or after the visitor scrolls  | [Driving more chats](https://docs.storylane.io/repx-chat/playbooks/driving-more-chats)                             |
| **Where this playbook runs**     | The pages the playbook applies to                                           | Above                                                                                                              |
| **Nudges and starter questions** | Short messages and suggested questions that invite visitors to start a chat | [Driving more chats](https://docs.storylane.io/repx-chat/playbooks/driving-more-chats)                             |
| **Greeting and CTA buttons**     | The intro message, quick replies and CTA buttons in the chat                | [Driving more chats](https://docs.storylane.io/repx-chat/playbooks/driving-more-chats)                             |
| **How your agent qualifies**     | Qualification questions, email capture and goals such as booking a meeting  | [Qualification behavior and goals](https://docs.storylane.io/repx-chat/playbooks/qualification-behavior-and-goals) |

<figure><img src="https://2714158815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5THBKNFo5kBfDJULy3RM%2Fuploads%2FVs8UcZiCa4Ygc4FUmy6c%2FScreenshot%202026-11-23%20at%205.06.55%E2%80%AFPM.png?alt=media&amp;token=a6ad8b80-fc9f-4975-b9ed-74bd308ca536" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Where to start:** build a playbook for your pricing page first. Visitors there have high intent, so show RepX right away, use pricing-related starter questions and guide visitors to a meeting sooner.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.storylane.io/repx-chat/engagement/introduction-to-playbooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
