> For the complete documentation index, see [llms.txt](https://docs.dstillery.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dstillery.com/using-ds-1/agents/build-segments-from-any-document.md).

# Build targetable segments from any document

Upload any campaign document and DS-1 reads it, pulls out what matters, and turns it into personas and audiences you can activate.

## What it does

Campaign planning usually starts with a document: a client brief, an RFP, a media plan, an email thread, a spreadsheet of objectives. This agent starts there too. Upload the file in whatever format it came in and DS-1 reads it, analyzes the key points, and takes you from that analysis to activation in four steps:

1. **Read**: what the document says, broken into findings
2. **Personas**: who those findings describe and how they behave
3. **Audiences**: the audiences that reach those personas
4. **Finalize**: the plan, ready to activate

Each step builds on the decisions you made in the one before it. What you keep in Read shapes the personas, and the personas you keep shape the audience recommendations.

## Walk through a document

### Step 1. Open the agent

From the home screen, pick **Build targetable segments from any document** under **Recommended agents**.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-b330392cffa522801381c5240bf2fa37f6e43f15%2Fdoc-01-home-agent.png?alt=media" alt="The DS-1 home screen with the Build targetable segments from any document agent circled in red"><figcaption></figcaption></figure>

### Step 2. Name the plan and upload the document

Give the plan a name, then drop in one file. PDF, Word, PowerPoint, Excel, images, and emails all work, so a screenshot of a client email is as good a starting point as a formal brief. Click **Analyze**.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-75be0d6aee5dc86c9419684a7acc9efcf84a89e4%2Fdoc-02-upload.png?alt=media" alt="The plan name field and document upload area with the Analyze button"><figcaption></figcaption></figure>

### Step 3. Read: review what DS-1 found

The document opens on the left and the analysis on the right. DS-1 identifies what kind of document it is and pulls out the findings relevant to your goals, grouped by the audience each one is about.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-e206cb28a471938a7107c24fba7e7aa47564995e%2Fdoc-03-read.png?alt=media" alt="The Read step with the source brief on the left and findings grouped by audience on the right"><figcaption></figcaption></figure>

Each finding is tagged by where it came from:

* **From the doc**: stated directly in the document
* **Hunch**: DS-1's inference from what the document implies

Click **Show in doc** on any finding to see the passage it came from, highlighted in the document. Then **Keep** or **Remove** each one. Only what you keep is used to build personas, so remove anything that is off-brief or too speculative. When the list looks right, click **Continue to personas**.

### Step 4. Personas: review who you are targeting

DS-1 turns the findings you kept into personas. Each one has a short description and a list of **How they behave**, the behaviors that define it, each with its own **Show in doc** link back to the source.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-35ba1fdd71fc908fefa368159bee315893d44393%2Fdoc-04-personas.png?alt=media" alt="The Personas step showing three personas, each with behaviors and Show in doc links"><figcaption></figcaption></figure>

Click **Why this persona** to see the rationale: why the group matters for this campaign, the reasons behind it, and a **Worth checking** note on anything the document does not answer.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-61ad7c2c7ebbdfe7d06a7e6b7bb2934f97d1c915%2Fdoc-05-why-persona.png?alt=media" alt="The Why this persona panel with the reasoning behind a persona and a Worth checking note"><figcaption></figcaption></figure>

As in Read, **Keep** or **Remove** each persona. When you are happy with the set, click **Continue to audiences**.

### Step 5. Audiences: get recommendations

DS-1 recommends audiences based on the findings and personas you kept, so every recommendation traces back to something in the document. You get two audiences for each persona, each tagged with how it was built (**Search LAL**, **Domain Seeded**, **Retail Purchase Intent**) and showing the search terms, sites, or products behind it.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-40c06dc46b2fd571255d231c8ecea9c8e080126c%2Fdoc-06-audiences.png?alt=media" alt="The Audiences step with two recommended audiences for each persona, each with Swap, Keep, and Remove"><figcaption></figcaption></figure>

The recommendations are a starting point. If you think another audience fits better, you have two ways to change one.

**Swap it.** Click **Swap** on a card to search for a replacement. You can pick from off-the-shelf segments, Dstillery and non-Dstillery, or from Dstillery's custom audience types: **Search terms**, **Retail purchase intent**, and **Domain seeded**. DS-1 puts its recommended replacement for the persona at the top. Click **Use this** to swap it in.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-356edbd58829399ed8cbd5ac885f0939bcdeeafc%2Fdoc-07-swap.png?alt=media" alt="The Swap panel with tabs for Prebuilt, Search terms, Retail purchase intent, and Domain seeded, and a list of replacement audiences"><figcaption></figcaption></figure>

**Describe it in chat.** Click any audience card and it attaches to the **Chat** tab on the left. Ask about it or say how you want it changed in plain English, for example "drop it" or "bring back the other one."

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-a0708ea0bf129958e91e52d35b84caec4def92c9%2Fdoc-08-audience-chat.png?alt=media" alt="The Chat tab with an audience attached and the composer ready for a question about it"><figcaption></figcaption></figure>

**Keep** or **Remove** each audience, then click **Continue to finalize**.

### Step 6. Finalize: build and syndicate

Finalize lists every audience you kept, grouped by persona, with how each one was built and its status. Use **Edit** on a persona to go back and change its audiences. When the list is right, click **Build** and DS-1 builds them within the agent, with no handoff to another tool.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-c57bf9f61b0095278350b635763a3a63842fa6a4%2Fdoc-09-finalize.png?alt=media" alt="The Finalize step listing six audiences grouped by persona, each marked Not built, with the Build button"><figcaption></figcaption></figure>

Each audience shows where it stands: **Not built**, **Building**, **Built**, or **With team**. Anything that fails says why. Once the audiences are built, choose a DSP or SSP partner in the bar at the top and click **Syndicate**. See [Build and activate to a DSP or SSP](https://docs.dstillery.com/using-ds-1/readme-2/activation/programmatic-dsps-ssps.md) for destinations.

Below the list, the **Findings deck** collects every decision you made along the way: the campaign goal, what DS-1 learned from the document, the personas, and the audiences you kept for each. Export it at any point with **Export deck** or **Save as PDF**.

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-79bf3623084b439551dedc6e3a2f6edabc9212de%2Fdoc-10-findings-deck.png?alt=media" alt="The Findings deck with a Winter Campaign title slide and a slide pairing a persona with its audience"><figcaption></figcaption></figure>

{% hint style="info" %}
Each step only works from what you kept in the step before. To change the recommendations, go **Back** and adjust the findings or personas.
{% endhint %}

{% hint style="success" %}
**Tip:** click **How this works** at any point to get a walk through of the screen you are on.
{% endhint %}

<figure><img src="https://467603228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELPQcRUNChhv6VKohGYM%2Fuploads%2Fgit-blob-00d168cb4d70a546e16164d4c1e8c0b30852817a%2Fdoc-11-how-this-works.png?alt=media" alt="A How this works tooltip explaining audience statuses on the Finalize screen"><figcaption></figcaption></figure>
