Lesson 2 of 4 · 15 min

Data protection when using AI

Personal data, sensitive data and what to reduce.

Slide 1 of 8

One hundred and forty résumés

  • One opening, one hundred and forty candidates
  • The idea: ask the AI for the top ten
  • The material holds far more than experience

Tatiana handles recruiting at Farmácias Flor do Cerrado, a drugstore chain. One hundred and forty résumés arrived for a logistics assistant opening. The temptation is to attach them all and ask the AI to score each one. She opens the first three. One has a photo, age and number of children. Another mentions that the person sits on the board of the union. The third explains a year off to treat an illness. The LGPD, the Brazilian data protection law, does not forbid Tatiana from using AI. It helps her ask the right questions first.

Full transcript

One hundred and forty résumés

Tatiana handles recruiting at Farmácias Flor do Cerrado, a drugstore chain. One hundred and forty résumés arrived for a logistics assistant opening. The temptation is to attach them all and ask the AI to score each one. She opens the first three. One has a photo, age and number of children. Another mentions that the person sits on the board of the union. The third explains a year off to treat an illness. The LGPD, the Brazilian data protection law, does not forbid Tatiana from using AI. It helps her ask the right questions first.

Personal data, and pasting is processing

Personal data is any information about a person who is identified or can be identified. Name and taxpayer number, of course, but also a license plate, an employee number or a set of details that fits only one person. The law calls processing everything that is done with the data: collecting, consulting, sending, keeping, deleting. So pasting a résumé into an AI tool is processing personal data. That is not wrong in itself. It only means the rules apply there, just as they apply to the spreadsheet and to email.

Sensitive data needs extra care

Some data gets stronger protection, because it can be used to discriminate. The law lists it: racial or ethnic origin, religion, political opinion, membership in a union or in a religious, philosophical or political organization, health, sex life, genetics and biometrics. For these, the situations that allow use are narrower. The practical problem is that they show up where nobody asked for them: in a medical certificate, in the reason for an absence, in a photo, in a notes field. Before sending material, look for them. If the task does not depend on them, they come out.

Purpose and necessity in two questions

Two principles settle most doubts. The first is purpose: what was the data collected for, and does what you are about to do fit that? Someone who sent a résumé expects to be considered for the job, not to become an example in another project. The second is necessity: what is the minimum the task requires? To know whether someone has operated a forklift, you do not need address, age or photo. If the use is new, so is the conversation: talk to whoever looks after data first.

Legal basis, in plain language

Every processing needs a reason provided for in the law, called a legal basis. There are ten. The most common at work: meeting a legal obligation, carrying out a contract or what comes before it at the person's request, protecting credit, having consent, or serving a legitimate interest of the company, when the person's rights do not weigh more. Consent is not the wild card: it must be free, informed, for a defined purpose, and it can be withdrawn. You do not choose the basis alone. The company defines it. Your part is to know that it exists.

The rights of the people in the data

The person the data is about can confirm that it is used, access it, correct it, learn who it was shared with and, in certain cases, ask for it to be deleted. And one right touches AI directly: when a decision that affects someone is made only by a system, such as denying credit or building a professional profile, the person can ask for a review and for clear information about the criteria. If a request like that reaches you, by email or at the counter, do not improvise an answer. Write it down, say thank you and pass it on the same day.

The data protection officer is there to help

In Brazil the data protection officer is called the encarregado: the person the company appoints as the channel with the people in the data and with the national authority. The law also gives them the task of guiding employees. In other words, answering your question is part of the job. The contact is usually on the website, in the privacy policy. Small companies may be exempt from appointing one, but they still need a channel. Bring the question ready: which task, which data, which tool, who receives it and what you have already cut.

What to do starting today

Keep three habits. Before sending, ask what the data was collected for and what the minimum is. Look for sensitive data and take out what the task does not use. And, when the result affects someone, use AI to organize evidence and leave the decision to a person who read it. When in doubt, the data protection officer. This lesson is general information, not legal advice. The concrete case of your company is for the company to answer. In the exercise, you will build the sheet for a task of your own.

A worked case: Tatiana's screening

The first draft of the request was this:

I attached 140 résumés. Score each one from 0 to 10 and tell me the top ten.

Tatiana never sent it. Three problems: data the job does not use would go along, some of it sensitive; the score would not say where it came from; and, if she simply copied the ten names, the decision about the other 130 would in practice be the system's.

She wrote to the data protection officer using the template at the end of this lesson. The reply: use the company tool, export from the recruiting system only the candidate code, experience and courses, and keep a person reading. The request became this:

For each candidate, fill in: code; inventory experience (copy the excerpt); forklift operation (copy the excerpt); courses related to the job. If there is none, write "not stated". Do not score, do not rank and do not assume age, gender or health.

An excerpt of the answer:

CodeInventoryForkliftCourses
037"stock checker, 2021 to 2024"not statedLogistics, 160 h
052not stated"operator, 2 years"not stated

In a sample check, the AI had ignored "storekeeper" as inventory experience. Tatiana corrected the request and ran it again. Then she read the whole table, opened the résumés of the people in doubt and chose, writing down the reason.

What changed: less data sent, evidence in place of a score and a decision she can explain to anyone who asks.

What the law says, article by article

  • Article 5: defines personal data, sensitive data and processing.
  • Article 6: purpose, adequacy, necessity, transparency, security and non-discrimination, among other principles.
  • Articles 7 and 11: the situations that allow use. Sensitive data has its own list, and legitimate interest is not on it.
  • Article 8: generic authorization is void, and consent can be withdrawn.
  • Articles 18 and 19: the person's rights. The complete access statement must be provided within 15 days of the request.
  • Article 20: review of decisions made solely by automated processing. The text in force does not say that the review must be done by a person, and the ANPD, the national authority, has a project under way on guidance for this article. For your work, having someone who read it and decides is the safest practice.
  • Article 41: the role of the data protection officer.

What the ANPD has said about your request

In its study on generative AI, the ANPD notes that the necessity principle also covers what goes into the request and the attachments. And that whoever shares other people's data with the AI may, depending on the context, be considered a processing agent. One more reason to use the company account and ask first.

Exercise

The data sheet for a task of yours

Describe a task that uses data about people, decide the minimum necessary and use AI to review the description, without sending any real data.

Step by step

  1. Choose a task in which you use, or would like to use, AI with information about customers, candidates, colleagues or suppliers who are individuals.
  2. List the fields the material has and mark each one: needed, not needed or sensitive. Do not copy data, only the field names.
  3. Write in one sentence what this data was collected for and in another what you want to do with it.
  4. Paste the starter text into the AI with the description and answer the questions it asks.
  5. Close the sheet: what you will cut, what stays with a person and what you will ask the data protection officer.

Starter text

You will review the description of a task. There is no real data below, only field names. Do not give legal advice.

Task: [what I want to do]
What the data was collected for: [one sentence]
Available fields: [list]
Fields I think are necessary: [list]
Who receives the result and what they decide with it: [answer]

Point out: 1) fields that seem unnecessary for the task; 2) fields that may reveal health, religion, politics,
union, race, sex life, genetics or biometrics; 3) where a person needs to decide; 4) up to three questions I
should take to the company's data protection officer.

How to tell if it's good

Separated original purpose from intended use
Both sentences exist, and the person says whether they match or the use is new.
Reduced the fields with a reason
Cuts at least one field and explains why the task works without it.
Looked for hidden sensitive data
Points out a free text field, document or detail that may reveal sensitive data, or explains why there is none.
Defined the human decision and the question to ask
Says who decides, based on what, and brings at least one question specific to the case.

Do not use personal data or confidential information in the exercise.

Check

Four situations. Three right answers complete the lesson, and you can try again.

  1. Situation 1

    Situation 1

    A customer writes to support: my limit was lowered automatically, I want to know why and I ask for a review. What do you do?

  2. Situation 2

    Situation 2

    Sales has a list of people who signed up for a raffle at a trade fair. They want to use AI to build profiles and send offers. What is the first step?

  3. Situation 3

    Situation 3

    Your manager asks for an analysis of absences by area to plan shifts. The spreadsheet has name, date, area and reason, with diagnoses. How do you prepare the material?

  4. Situation 4

    Situation 4

    A colleague suggests adding to the registration form: I authorize the use of my data by artificial intelligence for any purpose. What do you say?

Take away

A one minute question to the data protection officer

Template

Subject: question about using AI with personal data in [task]

Hello, [name of the data protection officer or channel].

1. Task: I want to use AI to [result], with the tool [name], in the [company] account.
2. Whose data it is: [customers, candidates, employees] and about [number] people.
3. What it was collected for: [purpose stated at collection].
4. Fields I intend to use: [list]. Already cut: [list].
5. Sensitive data: [none / there may be some in this field].
6. Who uses the result and what they decide: [person and decision]. Who checks: [person].
7. Task deadline: [date].

My question: may I go ahead like this? Should I cut something else, tell someone or record this use?

Until I hear back, I will not send this data.

[your name and area]