Sub topic 8
Sending less: data minimization
This chapter assumes you know how to classify data and which AI tools your organization has approved, from the earlier chapters. Here you will practice the step that comes before every prompt: deciding how little data the task needs.
What data minimization means
Data minimization means sending an AI tool only the data the task requires. It does not mean avoiding AI. It means you choose the input deliberately instead of pasting everything you have.
Minimization works even when a tool is approved. Data you never send cannot be retained, logged, shown to a reviewer, or exposed in a breach. It is also the cheapest control, because it needs no new software.
A four-question test
Ask these questions before each prompt:
- What exactly do I want from the AI? Name the output, such as a summary, a draft reply, or a bug diagnosis.
- Which facts does it need to produce that output?
- Which of those facts could be removed or made less specific without changing the answer?
- Is anything left that I would not want in a vendor's logs?
Techniques
- Cut fields. Take the fields the task needs and drop the rest. A tone-check on a complaint does not need the account number.
- Cut history. Send the last relevant messages, not the whole email thread. Old quoted replies often hold names, addresses, and signatures.
- Generalize. Replace exact values with ranges or categories. Use "a customer in the UK" instead of a street address, "about 40 years old" instead of a birth date, and "a large order" instead of the amount.
- Summarize locally first. Write a two-line description of the situation yourself and ask the AI about that. This often works as well as the full record.
- Use synthetic examples. To get help with a format or a script, invent sample rows that have the same shape as the real ones.
Worked example: filtering a record
Suppose a support ticket is stored as a dictionary. You want help drafting a reply that explains a delayed shipment. The reply needs the product and the issue, not the customer's identity.
ticket = {
"customer_name": "Ana Diaz",
"email": "[email protected]",
"card_last4": "4242",
"product": "Trail Backpack",
"category": "shipping delay",
"description": "My order is a week late and I need it for a trip.",
}
ALLOWED = {"product", "category", "description"}
def minimize(record: dict, allowed: set) -> dict:
return {key: value for key, value in record.items() if key in allowed}
print(minimize(ticket, ALLOWED))
# {'product': 'Trail Backpack', 'category': 'shipping delay', 'description': 'My order is a week late and I need it for a trip.'}An allowlist is safer than a blocklist. If a new field such as phone is added to the record later, it stays out of the prompt until someone approves it. With a blocklist, the new field would be sent automatically.
Filtering by field does not catch identifiers that appear inside free text. The description field could still contain a name or a phone number. The next chapter covers redaction for that case.
Common errors
- Pasting a whole export. A spreadsheet with 5,000 rows is sent when 5 rows would show the pattern.
- Forgetting attachments. Screenshots, PDFs, and log files often include names, tokens, and URLs with identifiers. Crop or trim them first.
- Hidden content. Documents can carry comments, tracked changes, hidden columns, and metadata such as the author's name.
- Combining details. A job title, a city, and a date may each seem harmless. Together they can point to one person. Generalize at least one of them.
- Minimizing once, then adding back. Follow-up messages often reintroduce the details you removed. Keep the same discipline through the whole conversation.
Quick comparison
| Original detail | Minimized version |
|---|---|
| Full order history for a customer | The one order in question |
| Exact birth date | Age band or "adult" |
| Full email thread | Last two messages, signature removed |
| Real production rows | Synthetic rows with the same format |
Exercise
A colleague wants an AI tool to suggest a polite refusal to a customer's refund request. They plan to paste the full CRM record, which contains name, address, purchase history, and the customer's message. Using the four-question test, what should they send instead?
Show answer
The task is a polite refusal, so the AI needs the customer's message and the reason for refusal, such as "outside the 30-day return window". It does not need the address, the purchase history, or the customer's identity. They should send the message text, with any names or contact details in it redacted, plus the policy reason. They can add the name back locally when sending the reply.