In this article
When a support ticket goes to a model for a reply draft, the customer goes with it: the name, the email address and, in the ticket below, two tax numbers. The model needs the problem, and your code can keep the rest on your side.
The moment
Say your help desk has a "Draft a reply" button. An agent clicks, the model writes a first answer, the agent checks it and sends it. This ticket arrives on a Tuesday morning.
From: Marta Ferreira <marta.ferreira@example.pt>
Subject: Wrong tax number on my invoice
Hello, my invoice shows the tax number PT AAA AAA AAA, but ours is PT BBB BBB BBB.
Can you send a corrected invoice to marta.ferreira@example.pt?
Marta FerreiraA made-up ticket. We wrote the tax numbers with letters; in your logs they are digits.
Your code puts the ticket in a prompt and sends it word for word. Her name, her address and both tax numbers now sit with a company she did not choose. The draft is good, so nothing looks wrong. The data left anyway, and the next ticket the button drafts for sends its customer the same way.
Two answers that look like enough
The contract. You signed the provider's data processing terms, which say the provider will not train on your data and will delete it after a set time. They are worth having. A contract sets what the vendor may do with the data, though, and it does not shrink what the vendor receives.
A home-made filter. You write a regex for emails and another for long runs of digits. On Marta's ticket they catch the email and may catch the tax numbers, but neither pattern can see "Marta Ferreira", which appears twice. The next ticket may bring a street address, a company name or a message in German, and each new format needs a new pattern, usually written after the first one slipped through. Worse, if the filter turns every match into [REDACTED], the model cannot tell the old tax number from the new one, and the draft can swap them.
Where Opami Protect sits
Between your help desk code and the model call. Your code sends the ticket to Opami Protect, which finds the private and sensitive data; your code then swaps each piece for a badge and keeps a table from badge to real value. The model drafts the reply on the badged ticket. Before the agent reads the draft, your code puts the real details back.
The model receives something shaped like this:
From: [PERSON_A] <[EMAIL_A]>
Subject: Wrong tax number on my invoice
Hello, my invoice shows the tax number [TAX_ID_A], but ours is [TAX_ID_B].
Can you send a corrected invoice to [EMAIL_A]?
[PERSON_A]A made-up example. The badge names follow the types the product returns for your text.
Two tax numbers get two badges, so the model can write "we will replace [TAX_ID_A] with [TAX_ID_B] and send the new invoice to [EMAIL_A]". Your code turns the badges back into Marta's details, and the agent sends a correct reply.
For the details Opami Protect found, the provider received badges in their place, and the hidden text you sent is there to show it. Opami Protect keeps no text and no log of requests, so a record of what was hidden is yours to keep if you want one.
The limits
- Opami Protect does not catch everything. Before the button goes live, read the hidden text for a sample of your own tickets.
- The facts of the ticket still reach the model: someone has a wrong tax number on an invoice, and the model needs that to write the reply.
- Putting the details back is your code's job, a few lines that read the table filled at the hiding step.
Look at one of your own prompts
Take one ticket your AI feature handled yesterday. Find the exact payload your code sent to the model, from your logs or by printing it in a test run. Mark each name, email address, phone number, and account or tax number. The marked text is what your provider received.
To see the same ticket with badges in place of your marks, register at console.opami.ai and send it to Opami Protect.


