Skip to content
← Back to blog

How AI protects sensitive data in service desk tickets | PII masking explained

Ruben van der Graaf5 min read
privacyPIIGDPRdata protectionservice deskcomplianceAI

PII masking automatically replaces identifiable personal data in a ticket, such as email addresses, phone numbers and national ID numbers, with a neutral placeholder before the text is stored. Switch on Pre-AI masking and the same happens before the text goes to the AI model. That keeps the data out of your knowledge base, and with that setting out of prompts too. It is an important control, but not a complete one: names in free text need separate arrangements.

Why is personal data in tickets a risk?

Anyone who has read a week's worth of tickets knows how much personal data ends up in them. A requester adds their mobile number to the description "in case it's quicker". Someone pastes an error message containing their email address and the IP address of their home network. An HR colleague logs a ticket about a payslip with a national ID number in it. Nobody means any harm; it is simply how people write when they want help.

As long as that ticket only lives in your ITSM tool, you fall back on that tool's permissions and retention policy. The risk grows in two places:

  • AI processing. If ticket content goes to a language model, the personal data goes with it unless you remove it first.
  • The knowledge base. A knowledge article created from a ticket is read by everyone. A phone number that lands there is suddenly widely visible and hard to track down.

What does ITSM Autopilot mask?

This data is always masked before it is stored:

Data typeExample in the ticket
Email addressesjan@company.com
Phone numbers+31 6 12345678
IP addresses192.168.1.24
Credit card numbers4111 1111 1111 1111
National ID numbers (SSN/BSN)123456782
The value is replaced with a placeholder so the sentence stays readable. "Call me on +31 6 12345678" becomes something like "Call me on [phone number]". Anything stored in the knowledge base is always anonymised. If you want the same data removed before the text goes to OpenAI, switch that on per organisation under Settings, Pre-AI masking. That setting is off by default.

What does it not mask?

Be upfront about this with your data protection officer. Names in free text are not recognised automatically. "Pete from Purchasing called about his laptop" stays exactly as written. That needs separate arrangements, for example about which categories the AI does or does not process.

The same goes for anything that is not text in the ticket, such as a screenshot showing a name or an address. Masking works on text.

How does it work in practice?

  1. A ticket arrives through your ITSM tool's webhook.
  2. Masking runs on the text: recognised values are replaced with placeholders.
  3. The agents work with the masked text when Pre-AI masking is on. Classifying a ticket or finding a knowledge article does not need a phone number.
  4. The Knowledge Curator writes an article after resolution. That article is always anonymised.
Masking does not change the ticket in your ITSM tool. Operators with the right permissions still see what the requester wrote.

How does this relate to the GDPR?

The GDPR asks you not to process more personal data than necessary, and to protect it with appropriate technical and organisational measures. PII masking helps with three principles:

  • Data minimisation: the AI only gets what it needs to understand the ticket.
  • Purpose limitation: a knowledge article about VPN settings does not need a colleague's phone number.
  • Security: an automatic step is more reliable than counting on everyone to remember.
Masking does not make you GDPR compliant on its own. You still need a data processing agreement, a record of processing activities and retention rules. A countersigned data processing agreement from ITSM Autopilot is not available yet; one is being prepared for the GA release. As for the AI processing itself: it goes through OpenAI's API and may be routed between the EU and the US. Per organisation you can enable zero data retention so OpenAI does not keep prompts and completions. It is all on the security page and in the privacy policy.

What should the service desk arrange besides the tech?

  • Teach requesters what does not belong in a ticket. A short line in the portal ("don't put ID numbers or passwords in your request") prevents a lot.
  • Decide which categories stay away from AI. Think HR matters or integrity reports. You decide per tool and per category what the agents do.
  • Spot-check. Look at new knowledge articles now and then to see whether anything slipped through, such as a name.
How this fits a wider review of AI on the service desk is covered in AI, security and compliance on the service desk. The rules for AI systems themselves are in the EU AI Act for the service desk, and how the knowledge base is built from tickets is in automating your knowledge base.

Frequently asked questions

Does PII masking also recognise employee names?

No. Names in free text are not recognised automatically. That needs separate arrangements, such as excluding sensitive categories from AI processing and spot-checking new knowledge articles.

Can operators still see the original data?

Yes. Masking changes nothing in the ticket in your ITSM tool. Operators with the right permissions see the original text there. Masking applies to what is stored, and with Pre-AI masking on also to what goes to the AI.

Is PII masking enough to comply with the GDPR?

No, it is one technical measure. You also need a data processing agreement, a record of processing activities and rules for retention and access. Masking mainly helps with data minimisation and security.

What happens to personal data in attachments and screenshots?

Masking works on the ticket text. Data that only appears in an image is not recognised. Agree with your team which requests the AI does not process, and ask requesters not to put sensitive data in screenshots.

Conclusion

PII masking takes the most common personal data out of what is stored, keeps your knowledge base clean, and can keep it out of the AI call as well. It does not do all the work: names, images and sensitive categories need their own arrangements. Sort out both, and you can use AI on the service desk without privacy becoming an afterthought.