Adding an AI assistant to your business? Plan for the Data Privacy Act first
AI chatbots and assistants process personal information, so the Data Privacy Act of 2012 applies. A practical guide for Philippine businesses and developers: what to map, what to send, what to check with your AI provider, and how to plan for a breach.
By Nathaniel Madrid6 min read
Many businesses in the Philippines now want an AI assistant on their website, in Messenger, or inside their own staff tools. The assistant answers questions, drafts replies, sorts inquiries, or reads documents. Most of these requests start with the model and the prompt. We think the first question should be different: what personal information will this assistant see, and where will it go?
The Data Privacy Act of 2012 (Republic Act No. 10173) applies to an AI feature the same way it applies to a contact form or a customer database. The law does not have a separate rule for AI. It covers the processing of personal information, and an AI assistant processes a lot of it. This article walks through what that means in practice, from the point of view of the team that builds the feature.
This is an engineering guide, not legal advice. For a decision about your obligations, talk to your Data Protection Officer or a lawyer, and check the current issuances of the National Privacy Commission (NPC).
Start with a data map, not a prompt
Before anyone writes a prompt, list every piece of information the assistant will receive. Be specific. "Customer messages" is too broad. Write down what those messages usually contain.
- What a user types. Names, phone numbers, addresses, order numbers, and sometimes complaints that describe personal situations.
- What your system adds. Account details, order history, ticket notes, or internal records you attach so the assistant can answer.
- What it can look up. Any tool, database query, or file search the assistant is allowed to run.
- What it writes back. Replies, summaries, and logs that you store afterwards.
Then mark which items count as sensitive personal information under the law. This category includes details about a person's health, education, religious or political affiliations, marital status, age, government-issued identifiers such as SSS or TIN numbers, and similar records. A clinic chatbot, a school inquiry assistant, or an HR helper will meet these quickly. Sensitive information needs a stronger lawful basis and tighter handling, so it should change the design, not just the privacy notice.
Collect less than the model can handle
Large language models can read long documents, so it is tempting to send the whole customer record "for context". The law's principle of proportionality points the other way: process only what is adequate, relevant, and necessary for the purpose you declared.
In practice, that means a few habits.
- Send fields, not records. If the assistant answers delivery questions, it needs the order status and the delivery area. It does not need the customer's full address book.
- Strip identifiers you do not need. Remove or mask government ID numbers, card details, and full birth dates before text reaches the model.
- Keep tools narrow. A tool that looks up one order by its number is safer than a tool that runs any database query the model writes.
- Do not paste secrets into prompts. API keys, passwords, and internal credentials belong in server configuration, never in text the model can repeat.
A smaller input is also cheaper and usually gives better answers, so this habit pays for itself.
Tell people, in plain words
People have the right to be informed that their personal information is being processed, and for what purpose. If customers chat with an assistant, say so before the conversation starts. A short line near the chat box works: who runs it, that an AI model helps answer, what you keep, and a link to your privacy notice.
Update the privacy notice too. Name the purpose, the kind of information the assistant processes, how long you keep conversations, and how a person can reach you to exercise their rights. Those rights include access to their data, correction, objection, and erasure or blocking in the cases the law allows. Your system needs a way to find and act on one person's conversations when they ask, so plan that lookup now instead of searching raw logs later.
Treat the AI provider as your processor
When your server sends text to an AI service, that provider handles personal information on your behalf. Under the Data Privacy Act, you remain responsible for personal information you transfer to a third party, including one outside the Philippines. This is the accountability principle, and it does not disappear because the processing happens on someone else's servers.
So review the provider the same way you would review a hosting company or a payroll service.
- Read the data terms. Check whether the provider uses API inputs to train its models, how long it keeps requests, and whether you can turn retention down or off.
- Have a written agreement. The NPC's rules expect an agreement with any personal information processor that sets out what they may do with the data and the security they must keep. Most business API plans come with a data processing agreement. Make sure yours is in place and filed.
- Know where data goes. Record the provider's regions and subprocessors so you can answer questions from customers and regulators.
- Use the business API, not a personal chat account. Staff pasting customer records into a consumer chat app bypasses every control above. Give your team an approved tool and a clear rule.
Build the security in, not around it
The law requires reasonable organizational, physical, and technical security measures. For an AI feature, the technical part usually comes down to the same basics as any web system, applied consistently.
- Call the model from your server. Keep API keys out of the browser and the mobile app. The client sends the user's message to your backend, and your backend decides what the model may see.
- Check permissions before retrieval. If the assistant searches documents or records, filter by the signed-in user's access first. The model should never be the thing that decides who may read what.
- Expect prompt injection. Text inside a customer message, an uploaded file, or a web page can try to instruct the model. Treat model output as untrusted input, validate it, and require a human or a fixed rule before it triggers anything that changes data or sends money.
- Set a retention period for logs. Conversation logs are personal data. Keep them only as long as you need them for support and quality review, then delete them on a schedule.
- Rate-limit and monitor. Limits per user and per IP address protect both your bill and your data from automated abuse.
Plan for the bad day
Write down what happens if conversation logs leak or the assistant shows one customer another customer's data. Under the NPC's personal data breach rules, a breach that meets the notification criteria must be reported to the Commission, and to the affected people, within 72 hours of knowledge of the breach. That clock is short. You will not have time to work out who is responsible and where the logs are once it starts.
A short runbook is enough for most small teams: who decides, how to switch the assistant off, how to pull the affected logs, and who contacts the NPC and the people involved. Also check whether your organization needs to register its data processing system or designate a Data Protection Officer under current NPC rules. Many do, and an AI project is a good moment to confirm it.
A short checklist before launch
- The data map lists every field the assistant receives, and sensitive items are marked.
- Only the fields the feature needs reach the model.
- Users see a plain notice before they chat, and the privacy notice is updated.
- The provider's data terms are reviewed and a processing agreement is on file.
- API keys live on the server, and retrieval respects user permissions.
- Model output cannot change records or send messages without a check.
- Logs have a retention period and a way to find one person's data.
- A breach runbook exists, with names and the 72-hour deadline.
None of this slows a good AI project down. It makes the feature easier to explain to customers, easier to defend if something goes wrong, and cheaper to run. If you are planning an assistant for your business and want a second pair of eyes on the design, contact us and we can review it with you before launch.
- #ai
- #data privacy
- #security
- #philippines
- #software development
- #backend development
Need help with a project like this?
DATAL Projects is a software development company based in the Philippines, building websites, custom software, APIs and games for clients worldwide.
Related reading
Article
Why server checks matter in client systemsSep 18, 2026
Article
How we review an existing codebaseOct 1, 2026
Article
What a reliable technical handoff includesSep 5, 2026

