Redacting a document before you paste it
A customer writes to support about a dishwasher that leaks again after a repair. You want an assistant to draft the reply. The email holds the customer’s name, phone number, email address, home address, and account number, and the reply needs none of them. In this lesson we take those values out before the email goes anywhere and check that the task still works on what’s left. Afterwards a map that never left your computer puts the values back into the reply.
Every person and company in the email is invented. The redaction boxes on this page run in your browser and send the text nowhere. The one step that puts text into an AI tool is optional and uses the redacted version only.
Here is the email.
From: Renske Adelhof <renske.adelhof@example.net>To: support@norrbeck-appliances.exampleSubject: Dishwasher still leaking after repair (account NB-4471-0928)
Hello,
Your technician Tijmen Boskoorn came by on Tuesday to fix the leak in ourdishwasher, a Norrbeck D410. It worked for two days and now the water isback under the sink. I leave for work at 7:30, so please call me on+31 6 1234 5678 before that, or write back. My account number isNB-4471-0928.
Kind regards,Renske AdelhofKastanjelaan 12, ZwolleWhat the task needs
Section titled “What the task needs”The task is “draft a reply that apologizes, offers a free second visit, and asks for a time window”. Read the email once with that task in mind and mark what the reply depends on: the leak came back after a repair on Tuesday, and the customer leaves early in the morning. Now mark the facts that the reply never uses: who the customer is, how to reach them, where they live, which account they have. Support sends the reply from the ticket, and the ticket system already has those details.
Everything in the second group is personal data, and the first lesson of this course said to leave it out unless the tool is approved for it. Redaction is how you leave it out without giving up the tool. The AI Fluency framework files this under diligence, the part of working with AI where you take responsibility for what you hand over and for what happens with it [1].
Replace each value with a placeholder that keeps its role
Section titled “Replace each value with a placeholder that keeps its role”Deleting a name leaves a sentence with a hole in it, and a model drafting
a reply from “Your technician came by” can no longer tell that two people
are in the story. A placeholder keeps the role: Person 1 for the
customer and Person 2 for the technician, [phone] and [address] for
the contact details. The
same placeholder goes everywhere the value appears. Both mentions of the
account number become [account number], and the reader still knows
they’re one thing.
The box below holds the email and a map of six rows, each an original value and its placeholder. Press Redact. Redact replaces every value with its placeholder, longest value first, so a full name is replaced before a shorter value it contains.
This is the redacted email.
From: Person 1 <[email]>To: support@norrbeck-appliances.exampleSubject: Dishwasher still leaking after repair (account [account number])
Hello,
Your technician Person 2 came by on Tuesday to fix the leak in ourdishwasher, a Norrbeck D410. It worked for two days and now the water isback under the sink. I leave for work at 7:30, so please call me on[phone] before that, or write back. My account number is[account number].
Kind regards,Person 1[address]Read the result as the model would. It’s still a complaint about a leak that came back, from someone who has to leave early. The technician was there on Tuesday. The support address and the product name are still in it, because they belong to the company and the task may need them.
The task works as well on the redacted text
Section titled “The task works as well on the redacted text”To see this for yourself, put the task and the redacted email into the chat tool you use at work. That paste is safe because the people are invented and their details are already replaced. You can also skip it. The exchange below is illustrative: the author wrote it to show the pattern, and yours reads a little differently.
Draft a short reply to the customer email between the triple quotes. Apologize, offer a free second visit this week, and ask for two time windows that suit them. Keep the placeholders exactly as written.
""" [the redacted email, pasted in full] """
Dear Person 1,
Thank you for letting us know, and I am sorry the leak came back so soon after Person 2’s visit. We would like to send a technician again this week, and we pay for the visit. Could you give us two time windows that suit you, outside your morning departure? Until then, please keep the water supply to the dishwasher closed.
Kind regards, Norrbeck Appliances customer support
The reply is as good as one drafted on the original. The model used the early departure and the visit that didn’t hold, and it needed nothing that was taken out. That’s the usual case. Most tasks read the facts of a document, and the identifiers in it are there for the humans who file and answer it.
The colleague’s version is in the box below, with an empty map. Under it
is a list of eight details from the original, in this order: name,
initials, phone, email, account number, street, city, technician. After a
pass, the box prints still identifying: and then the labels of the
details it still finds, separated by a comma and a space.
What does the check print?
Section titled “What does the check print?”A colleague redacted a customer's support email by hand: the name became the initials R. A., the phone number, the email address and the street were removed, and the account number in the subject line, the city under the signature and the technician's name stayed. The checker looks for eight details from the original in this order: name, initials, phone, email, account number, street, city, technician, and prints the labels of the ones still present after the words still identifying: separated by a comma and a space.
Read the colleague’s version in the box above, including the subject line and the signature. Before you press Redact, write down what the box prints.
still identifying: initials, account number, city, technician
Read the colleague's version line by line, including the subject and the signature. Which of the eight details are still there, and in which order does the check list them?
For the colleague’s version as it is, the box above prints this line.
still identifying: initials, account number, city, technicianNow finish the colleague’s redaction. Add a map row for each detail the
line names, such as Zwolle => [city], and press Redact again. When the
line says none of the listed details, compare the result with the
redacted email above.
The redaction map stays with you
Section titled “The redaction map stays with you”The reply says “Dear Person 1”, and that isn’t the customer’s name. The map that produced the redaction turns it back. The box below holds the reply from the illustrative response and the same map. Press Restore, and each placeholder is replaced by the value it stood for.
This is the restored reply.
Dear Renske Adelhof,
Thank you for letting us know, and I am sorry the leak came back so soonafter Tijmen Boskoorn's visit. We would like to send a technician again thisweek, and we pay for the visit. Could you give us two time windows thatsuit you, outside your morning departure? Until then, please keep thewater supply to the dishwasher closed.
Kind regards,Norrbeck Appliances customer supportThe map is the one file in this lesson that holds every identifier in
one place, so it is the one file that never goes into the tool. Keep it
where the original document is kept, in the ticket system or in a folder
your organization already protects, and delete it when the reply has
gone out. Without the map the redacted text is pseudonymized: the people
have placeholders instead of names. It isn’t anonymous, because the
dishwasher model, the Tuesday visit and the company address are still in
it, and someone with the ticket system could match them. With the map the
reply is still addressed to a person. For a
document you redact by hand, the map is a two-column table in a text file.
The map box on this page takes one value => placeholder per line, and so
does the exercise below.
Ready to paste?
Section titled “Ready to paste?”A colleague is about to paste a customer email into a general-purpose AI assistant to have a reply drafted. They replaced the customer's name in the greeting with a placeholder and left the rest of the email as it was, including the signature block at the bottom with the customer's full name, job title, employer, mobile number and office address.
A colleague shows you the prompt they’re about to send. The greeting reads “Dear Person 1”, and below the body is the customer’s full signature block: name, job title, employer, mobile number, and office address. What do you tell them?
Where in an email does a person's identity appear besides the greeting, and what does each of those details tell a reader on its own?
What still points at the customer?
Section titled “What still points at the customer?”A colleague redacted a customer email about a water leak before pasting it into an assistant. They replaced the name in the greeting with Person 1 and removed the phone number. Everything else stayed as it was.
Which two details in the redacted email still point at the customer?
Read the subject line and the signature as a stranger would. What could they look up?
Keep it or replace it?
Section titled “Keep it or replace it?”A learner asks a general-purpose assistant to draft a reply to a tenant's email about a leak in their flat. The lesson splits a document into the facts the task uses and the details that say who is involved.
Would the reply be any different if this detail were a placeholder?
Send what the task needs
Section titled “Send what the task needs”Send what the task needs and no more. Before a document goes into a tool, read it with the task in mind and split it in two: the facts the task uses, and the details that say who is involved. Replace every detail in the second group with a placeholder that keeps its role, check the subject line and the signature, and then keep the map with the original. When the answer comes back, the map puts the people back in.
Exercise
The box below holds the full ticket the email came from: the customer’s
email, an internal note from the technician, and a message from the
planner, about forty lines in all. Its map is empty. Write a map in the map
box, one value => placeholder per line, and press Redact. Read the output
line by line and add a row for every detail that still points at a person,
then press Redact again. Plan on ten minutes. This is the whole procedure,
and after one full pass you can apply it to the next document without
looking anything up.
A good result doesn’t name a person or hold a phone number, email address, account number, ticket number, order number, or street. A reader can still tell that a door seal was replaced and that the inlet hose is the next suspect, and that Thursday afternoon is on offer. After your own pass, compare your map with this one, which leaves none of those details in the ticket.
Renske Adelhof => Person 1renske.adelhof@example.net => [email 1]Tijmen Boskoorn => Person 2Sander Adelhof => Person 3Marit Zandvliet-Oosterhuis => Person 4+31 6 1234 5678 => [phone 1]+31 6 8765 4321 => [phone 2]NB-4471-0928 => [account number]NB-2026-08814 => [ticket number]55-31972 => [order number]Kastanjelaan 12, Zwolle => [address]Kastanjelaan 12 => [address]Zwolle => [city]Then answer one question: which detail in the ticket did you notice last, and where in the document was it?
Stretch: Take one document from your own work and do the same on paper: list the values you would replace and their placeholders, without pasting the document anywhere.
Recap
- Read the document with the task in mind and split it in two: the facts the task uses, and the details that say who is involved. The reply to a leak needs the leak and the departure time. It doesn’t need the identifiers.
- Replace each identifier with a placeholder that keeps its role,
Person 1,Person 2,[account number], and use the same placeholder everywhere the value appears. - The task works as well on the redacted text. Most tasks read the facts of a document, and the identifiers are there for the people who file and answer it.
- A partial redaction that leaves an initial, a city or an account number in the subject line is a redaction of nothing. Check the subject line and the signature.
- Keep the redaction map outside the tool, where the original is kept, and use it to put the names back into the answer. Send what the task needs and no more.
You can now
- Decides what may go into a prompt and what may not
References
Section titled “References”- Anthropic. AI Fluency: Framework and foundations. Claude Academy. Course.
Academy ai-fluency-framework-foundations