How AI protects sensitive data in service desk tickets | PII masking explained
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 type | Example in the ticket |
|---|---|
| Email addresses | jan@company.com |
| Phone numbers | +31 6 12345678 |
| IP addresses | 192.168.1.24 |
| Credit card numbers | 4111 1111 1111 1111 |
| National ID numbers (SSN/BSN) | 123456782 |
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?
- A ticket arrives through your ITSM tool's webhook.
- Masking runs on the text: recognised values are replaced with placeholders.
- 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.
- The Knowledge Curator writes an article after resolution. That article is always anonymised.
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.
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.
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.