1. Home
  2. Blog
  3. An AI reply draft on support tickets, without the customer in the prompt

Use case

An AI reply draft on support tickets, without the customer in the prompt

Greg StoosFounder of Opami
  • 3 min read
A support agent circles lines on a printed ticket next to a monitor showing a reply draft.
In this article
  1. The moment
  2. Two answers that look like enough
  3. Where Opami Protect sits
  4. The limits
  5. Look at one of your own prompts

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.

text
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 Ferreira

A 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:

text
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.

Try it on your own data

Opami Protect is open to anyone. Register at the console, run a sample of your own text, and see what it hides. No sales call.

Keep reading

All articles →

Get the answers in your inbox

Each week, the three articles, one thing we learned and one number, in one email.

What do you want to hear? Tick any

One vision, four products

Hides the private and sensitive data in a text before the AI reads it. For the people who build with AI.

Opami Protect

Work with the best AI models, with nothing private reaching them.

Opami Chat

The confidential and proactive AI assistant. It connects to your apps and inboxes, knows you and how you work, reminds you and prepares the work for your approval.

Opami Bot

Your personal or company AI memory system without a single private or sensitive detail.

Opami Brain