Sub topic 3
Building a prompt set that represents real questions
This chapter assumes you know what an AI answer engine is, you understand basic SEO terms such as keywords and rankings, and you can read ratios and percentages. The Python example is optional but runs as shown.
Every visibility metric in this tutorial is computed from a fixed list of prompts. If the list is unrepresentative, the numbers are precise but wrong. This chapter covers how to build the list so that mention rate, citation rate, and share of voice describe what real users see.
What a prompt set is
A prompt set is the fixed list of questions a tracking tool sends to each AI engine on every reporting cycle. Each entry usually carries metadata: the topic it belongs to, the user intent behind it, the funnel stage, the market and language, and any competitor it targets.
The set plays the same role as a keyword list in rank tracking, with two differences:
- Keywords are short fragments. Prompts are full questions or requests, often with context such as "for a team of ten" or "under $50 a month".
- A keyword has one ranking page. A prompt produces a generated answer that can differ on every run, so each prompt is sampled several times (see the later chapter on variability).
Because the set is the denominator for every rate you report, changing it mid-stream breaks comparisons over time. Treat it as a versioned asset.
Start from real questions
Prompts you invent at a desk reflect how you describe your product. Real users describe their problem. Collect candidate prompts from sources that capture user wording:
- Sales call transcripts and support tickets.
- On-site search queries and chat logs.
- Search Console queries, especially long, question-shaped ones.
- "People also ask" boxes and forum threads such as Reddit or Stack Overflow.
- Customer interviews and survey free-text answers.
- Prompts suggested by the tracking tool itself. Treat these as a starting point to review, not a finished set.
Keep the user's phrasing, including imperfect grammar. A prompt such as "crm that doesnt suck for 5 person team" may trigger a different answer than "best CRM software for small businesses".
Cover topics, intents, and competitors
A representative set is a grid, not a pile. Plan coverage along three axes.
Topics
List the product categories and use cases your business wants to be associated with. Include topics where you are already strong and topics where you want to grow. A set built only from topics where you already rank will overstate your visibility.
Intents
The same topic produces different answers depending on what the user wants. Common intent types:
| Intent | Example prompt | What the answer usually contains |
|---|---|---|
| Informational | how to choose a crm | Criteria, general advice, few brand names |
| Comparison | acme vs globex for small teams | Named brands, feature contrasts |
| Recommendation | best crm for small teams | A shortlist of brands |
| Transactional | crm with a free plan | Brands, pricing, links |
| Navigational or brand | is acme crm good | Heavy focus on one brand, reviews |
Informational prompts often name no brands at all. That is not a failure. It means brand mention rate on those prompts will be low for everyone, and you should report intents separately instead of blending them.
Competitors and branded versus unbranded prompts
Unbranded prompts ("best crm for small teams") measure whether the engine brings you up unprompted. Branded prompts ("acme pricing") measure what the engine says once you are named. Mixing them inflates mention rate, because a branded prompt nearly always mentions the brand. Tag each prompt as branded or unbranded and compute headline metrics on unbranded prompts only.
Include competitor-targeted prompts ("globex alternatives") as a separate group. They show whether you appear when users are leaving a rival.
Metadata that makes the set usable
Store each prompt as a record, not a bare string. A minimal schema:
| Field | Purpose |
|---|---|
| id | Stable identifier so results survive rewording |
| text | The exact prompt sent |
| topic | Grouping for per-topic reports |
| intent | Informational, comparison, recommendation, and so on |
| branded | True or false, to separate headline metrics |
| market and language | Answers differ by country and language |
| funnel_stage | Awareness, consideration, or decision |
| version | Set version when the prompt was added or changed |
Market and language matter more than people expect. Engines localize recommendations and cited sources, so a prompt run from one country can return different brands than the same prompt run from another.
How the set flows into metrics
The set sits at the start of the pipeline. Everything downstream inherits its biases.
How many prompts
There is no universal number. Use these constraints instead:
- Each reported segment needs enough prompts to be stable. If you report mention rate for a topic, a topic with three prompts will swing wildly when one answer changes.
- Each prompt is run several times, so cost and time scale as prompts times engines times markets times repeats.
- A common starting range is 20 to 50 prompts per topic cluster, with the whole set in the low hundreds. Treat this as a rule of thumb to adjust, not a standard.
Prefer fewer well-chosen prompts per topic over many near-duplicates. Ten phrasings of one question inflate your sample size without adding information, because their answers are highly correlated.
Common mistakes
- Brand-heavy sets. Writing prompts that already contain your product name, which guarantees mentions.
- Keyword-style prompts. Sending "crm software pricing" when users ask full questions. Engines may treat these differently.
- Only winnable topics. Dropping prompts where you are absent makes trends look good and hides opportunity.
- Silent edits. Rewording a prompt and comparing the new result against old results as if nothing changed.
- Ignoring context. Real users carry earlier conversation turns, location, and sometimes logged-in history. A bare, context-free prompt is a simplification. Note it as a limitation.
- Ignoring retrieval-triggering. Some prompts make an engine search the web and cite sources. Others are answered from model memory with no citations. If your set has few prompts that trigger search, citation metrics will be thin.
Maintaining the set
Plan a review cycle, for example quarterly:
- Add prompts for new products, features, and emerging questions.
- Retire prompts that no longer reflect user language, but keep their history.
- When you reword a prompt, give it a new id or a new version so old and new data are not merged.
- Re-check intent and branded tags when competitors rebrand or launch.
Checking the set before you run it
The following script audits a prompt set for the issues above. It flags brand-containing prompts marked as unbranded, counts prompts per topic and intent, and warns about thin segments.
from collections import Counter
BRAND_TERMS = ["acme", "globex", "initech"]
MIN_PER_TOPIC = 3
prompts = [
{"id": 1, "text": "best crm for small teams", "topic": "crm",
"intent": "recommendation", "branded": False},
{"id": 2, "text": "crm with free plan", "topic": "crm",
"intent": "transactional", "branded": False},
{"id": 3, "text": "how to choose a crm", "topic": "crm",
"intent": "informational", "branded": False},
{"id": 4, "text": "acme vs globex for small teams", "topic": "crm",
"intent": "comparison", "branded": False},
{"id": 5, "text": "best invoicing tool for freelancers", "topic": "invoicing",
"intent": "recommendation", "branded": False},
]
def contains_brand(text):
lowered = text.lower()
return any(term in lowered for term in BRAND_TERMS)
for p in prompts:
if contains_brand(p["text"]) and not p["branded"]:
print(f"Prompt {p['id']} names a brand but is tagged unbranded: {p['text']}")
by_topic = Counter(p["topic"] for p in prompts if not p["branded"])
by_intent = Counter(p["intent"] for p in prompts)
for topic, count in by_topic.items():
if count < MIN_PER_TOPIC:
print(f"Topic '{topic}' has only {count} unbranded prompts")
print(dict(by_intent))Running it prints a warning for prompt 4, because it names two brands but is tagged unbranded. It also warns that the "invoicing" topic has only one unbranded prompt, then prints the intent counts.
Summary of decisions
| Decision | Recommended default |
|---|---|
| Source of wording | Real user language, not internal terms |
| Branded prompts | Tag them and keep out of headline metrics |
| Intent mix | Cover all intents, report each separately |
| Prompt count | Enough per segment to be stable; avoid near-duplicates |
| Changes | Versioned, on a schedule |
| Market and language | One set of runs per market you serve |
Exercise
A team's set has 40 prompts. Thirty of them contain the company's own name, such as "acme crm pricing" and "is acme good for startups". Their mention rate is 85%. What is wrong with reading this as strong AI visibility, and how would you fix the set?
Show answer
Prompts that name the brand almost always produce answers that mention it, so the 85% reflects the prompts, not unprompted visibility. Tag the 30 prompts as branded and compute the headline mention rate on the 10 unbranded prompts only. Then add more unbranded prompts across topics and intents (for example "best crm for small teams") so each segment has enough prompts to be stable, and version the set so the new numbers are not compared directly with the old ones.
Exercise
You reword the prompt "best crm for small teams" to "what is the best crm for a team of five" and keep the same id. Next month's mention rate for that prompt rises from 20% to 45%. Why is it unsafe to conclude your visibility improved, and what should you have done?
Show answer
The change may come from the new wording, not from any change in the engine's view of your brand. Because the id stayed the same, the old and new results are merged as if they measured the same question. You should have given the reworded prompt a new id or version, kept the old prompt running for a period of overlap, and compared like with like.