# Using it

> The prompts that work, what comes back, and how to read an empty row.

You talk to your assistant in plain language, and it calls the tools. This page shows the prompts that
work and what to expect back. Setup is in the [quickstart](https://cookiecrowbar.com/docs/quickstart).

The examples use placeholder domains (`acme.example`, `globex.example`). Use your own accounts.

## Look at a few companies: explore

> Use cookiecrowbar to explore acme.example, globex.example and initech.example. What CRM, marketing
> automation and outbound tools do they run?

`explore` scans up to 3 domains. By default it collects homepage, careers, trust, product-app and
DNS evidence. Results arrive progressively; collection time
varies by site and queue load, and some DNS findings arrive later. You get every technology it found, with confidence and evidence, plus hints like related domains and
unknown script hosts.

To see why a vendor was or wasn't found, ask:

> Show me the evidence behind HubSpot on acme.example.
>
> Which DNS records did you find for globex.example?

That calls `evidence`, which returns one kind of evidence at a time (requests, scripts, DNS) from
what was already collected, without scanning again.

What vendors can it detect at all?

> Which sales-engagement and visitor-ID vendors can cookiecrowbar detect?

That calls `catalog`. If a vendor isn't in the catalog, "not found" means nothing.

## Check what is already known: lookup

> Use cookiecrowbar to look up what's already known about acme.example.

`lookup` reads findings from earlier scans of that domain, by anyone, without starting a new scan.
Everyone reads the same shared results, so a domain can already have fresh findings before you scan it.
Each check carries the date it was observed. When nothing has been collected yet, it says so, and
`explore` collects it.

## Scan a list the same way every time: config, then scan

For more than 3 domains, have the assistant build a **config**. A config says which checks to run
and which categories to report.

> Using the explore results, draft a cookiecrowbar config that reports only CRM, marketing
> automation, sales-engagement and visitor-ID tools. Test it on the explored domains, then save it.

What happens:

1. The assistant drafts a config and runs `test_config` against the explore results. This is free,
   doesn't visit the sites again, so it can iterate until the report looks right.
2. `save_config` gives you a `config_id`. Saved configs never change, and you can reuse one for
   every future list.

Then:

> Scan these 20 domains with that config and give me a table of the results.

`scan` queues the list and returns a batch id. `results` shows progress and rows as domains finish.

Tips:

- **Product-led companies keep marketing automation inside their app** (Customer.io, Intercom, in-app
  tours). Include the product-app check (`page.app`) in your config, or those tools won't show.
- **Keep batches small during the beta** (a few dozen domains).

## Fresh or cached

Every check is a shared, dated observation. By default, explore and scan reuse what was collected
within `max_age_days` (default 14) and collect only the missing or expired checks. Ask for
`force_refresh` to collect everything fresh.

## Read results honestly

Every finding is backed by a script, request, cookie or DNS record you can inspect, and carries a
confidence and a verification label ([scoring](https://cookiecrowbar.com/docs/scoring)). An empty row needs more care:

| Row looks like | What it can mean | Ask |
|---|---|---|
| No tools found | Truly a minimal site, **or** nothing third-party ran (the row then carries a `note`) | "Did any third-party scripts actually run on X?" |
| `partial: true` | One check failed (often DNS timeouts). The other findings still stand | "Which checks failed for X?" |
| CRM missing | The CRM may simply not be in the catalog | "Is <vendor> in the catalog?" |

A technology missing from a row means "not observed in the checks performed", qualified by that
row's coverage. It is never proof of absence.

Things it **can't see**: tools with no website or DNS footprint, such as LinkedIn automation,
contact data providers, and most CRMs that put nothing on the website. Use results as account
context, not as proof that a company doesn't use something.

## When a result is final

- **Answer from the first result.** Rows are readable as each domain's checks finish. Wait only
  while a row's `progress` shows pending or running checks; `results` says how long.
- A row is final when its progress shows no pending or running checks. A batch reads `completed` only
  then. No `next` means there is nothing left to wait for.
- Final doesn't mean full coverage: a final row can still have `failed`, `incomplete` or `limited`
  checks. Read the coverage entries.

## Tell us what's wrong: feedback

When something is missing, wrong or confusing:

> Send cookiecrowbar feedback: it didn't find Intercom on acme.example, but the chat widget is visible
> on their pricing page.

The assistant fills in a structured report (what you expected, what you saw, the scan id) and
submits it. You get a feedback id back. Every report gets read, and requests for new vendors are
especially welcome. Your assistant leaves out keys and cookie values.

## When the assistant gets stuck

Ask it to "call the cookiecrowbar guide". The `guide` tool explains config syntax, which checks a
vendor needs and when a result is final.
