العربية

Using AI with customer data under Saudi PDPL

You can send customer data to an AI model under PDPL, but only with a lawful basis for that purpose, a processor contract, a valid route for any transfer outside the Kingdom, and only the fields the task needs. Most of the risk sits in the architecture, so design for it before the first API call.

Updated

This guide is for Saudi businesses that want an AI model to read support messages, summarise calls, draft replies or sort documents containing customer data. It covers what the Personal Data Protection Law (PDPL) and SDAIA’s regulations ask of you, and how to design the system so most of that is built in.

This is not legal advice. It reflects the official texts SDAIA published as of 16 November 2026, plus a draft amendment that was under consultation. For decisions about your own data, speak to a lawyer or your data protection officer, and check the SDAIA Knowledge Center for current versions.

Article numbers marked “of the law” refer to SDAIA’s official English text of the Personal Data Protection Law. The other article numbers refer to the regulations issued under it, which are named each time.

The short answer

PDPL does not prohibit sending personal data to an AI service. It treats each call as processing and the provider as a processor acting for you. Before customer data reaches a model, you should be able to answer five questions:

  1. Basis: what lawful basis covers this specific AI use?
  2. Contract: does your agreement with the provider cover what the Implementing Regulation requires?
  3. Location: does the data leave Saudi Arabia, and if so, on what basis and with which safeguards?
  4. Minimum: are you sending only the fields this task needs?
  5. Retention: where do copies remain afterwards, and for how long?

Where the answer is “we’re not sure”, that is your risk, and it is usually cheaper to fix in the design than in the contract.

When an AI call is personal data processing

PDPL applies to processing of personal data in the Kingdom, and to processing from abroad of data about people who live here (Article 2). Personal data is anything that identifies a person directly or indirectly: a name, a phone number, an order number linked to an account, a voice recording.

Sending a customer’s message to an LLM API is processing. You stay the controller, because you decide the purpose. The AI provider is normally a processor, and Article 8 of the law makes you responsible for choosing one that provides the necessary guarantees and for monitoring that it complies. Using a processor does not reduce your own responsibility to the customer or to SDAIA.

Article 17 of the Implementing Regulation lists what a processor agreement must state. Compare it with the provider’s standard API terms:

The contract must cover What to check in the AI provider’s terms
Purpose of processing Whether inputs may be used to train or improve models, and how to switch that off
Categories of personal data Which fields your integration actually sends
Duration of processing How long prompts, outputs and files are kept, including for abuse monitoring
Breach notification without undue delay The provider’s incident commitments
Whether other countries’ laws apply to the processor Where the provider is established and processes data
Sub-processors and other recipients The published sub-processor list and change notices

You must also check compliance periodically (Article 17(3)), so prefer a provider whose terms and sub-processors you can actually review.

Article 5 of the law makes consent the default, and lets the customer withdraw it at any time. Article 6 lists cases where consent is not needed. For AI features, the relevant ones are usually:

  • A previous agreement the customer is party to, which the processing implements.
  • Legitimate interest, where the processing is necessary, does not harm the customer’s rights or interests, and involves no sensitive data. Article 16 of the Implementing Regulation requires a documented assessment first, covering purpose, necessity, effect on customers and their reasonable expectations.
  • Another law that the processing is carried out under.

Article 11(2) of the Implementing Regulation requires explicit consent when processing includes sensitive data (such as health, genetic or religious data), credit data, or when decisions will be based entirely on automated processing. A model that approves, rejects, prices or ranks people with no person involved falls in that last case. The October 2026 draft amendments would narrow it to automated decisions that affect a person’s rights or interests. Until a change is published, design to the current rule.

Watch for purpose drift. Article 5 of the law bars changing the purpose of processing without consent unless an exception applies, and Article 10 of the law and Article 18 of the Implementing Regulation restrict reusing data for a new purpose. Support chats collected to answer customers are not automatically available for fine-tuning or marketing analysis. Each new AI use needs its own basis and a mention in your privacy notice. Under Article 7 of the law, consent cannot be made a condition of a service unless the service depends on that processing, so agreeing to model training cannot be the price of getting support.

AI feature Questions to settle first
Summarise a ticket for your agent Is it part of the service the customer asked for? Does the ticket hold health or financial details?
Draft a reply a person sends Lower risk, since a person reviews it. Check what the prompt includes.
Score or reject applicants automatically Explicit consent, an impact assessment and a review path.
Analyse patient notes Sensitive data: explicit consent, an impact assessment, closer attention to transfers.
Fine-tune on past conversations A new purpose with its own basis, minimisation and retention rule.

Cross-border transfer: where the model runs matters

Many hosted AI APIs process data outside Saudi Arabia unless you choose a regional deployment. Then each call is a transfer outside the Kingdom, and Article 29 of the law applies.

The transfer must serve a permitted purpose. Article 29 lists three: an obligation under an agreement the Kingdom is party to, the interests of the Kingdom, and an obligation the customer is party to. It leaves further purposes to the regulations, and Article 2 of the Transfer Regulation adds central operations, providing a service or benefit to the data subject, and scientific research. It must also meet three conditions: no prejudice to national security or the Kingdom’s vital interests, an adequate level of protection at the destination, at least equivalent to PDPL’s and as assessed by SDAIA, and only the minimum data needed.

Article 13 of the law also requires you to tell customers, when you collect their data, whether it will be transferred, disclosed or processed outside the Kingdom.

Where the destination is not assessed as adequate, Article 4 of the Transfer Regulation allows transfers in defined cases under one of three safeguards:

  • Standard Contractual Clauses, in four versions by the roles of sender and recipient;
  • Binding Common Rules, for multinational groups;
  • an accreditation certificate held by the recipient, issued by an entity SDAIA licenses.

Each case comes with its own safeguard, and the fit matters for AI:

Case Safeguard required Sensitive data allowed?
Occasional or time-limited, for a limited number of people SCCs or a certified recipient No
Central operations inside a multinational group Binding Common Rules, SCCs or a certified recipient Not excluded
A service or benefit provided directly to the customer A recipient with an accreditation certificate No
Scientific research SCCs or a certified recipient No

An AI feature that calls an API all day is not occasional. Unless you belong to a multinational group, that usually leaves three routes: a destination SDAIA has assessed as adequate, the direct-service case with a provider that holds a certificate from an SDAIA-licensed body, or processing inside the Kingdom. Ask the provider in writing which applies before you rely on it.

A transfer risk assessment is required under Article 7 when you rely on those safeguards, or when you send sensitive data abroad continuously or at scale. It records the purpose and legal basis, the scope of processing, the safeguards, how you limit data, the possible harms and the controls. Article 5 extends PDPL protection to onward transfers, so the provider’s sub-processors are in scope too.

A pending change. On 6 October 2026 SDAIA opened consultation on draft amendments to the Implementing Regulation, which closed on 5 November 2026. The draft would require controllers to store personal data inside the Kingdom while still allowing compliant transfers, and would make the use of emerging technologies a standalone trigger for an impact assessment. Keeping your record of truth in Saudi Arabia and sending the model only what it needs works under both texts.

Data minimisation: send fields, not records

Article 11(3) of the law and Article 19 of the Implementing Regulation require the minimum personal data the purpose needs. SDAIA’s minimum personal data guideline recommends data maps that tie each field to its purpose. In an AI integration that means:

  • Build prompts from named fields, not whole records. A model sorting a complaint needs the complaint, not the national ID and address.
  • Replace identifiers before the call with placeholders, keep the mapping in your system, and restore values afterwards. SDAIA’s guideline on destruction, anonymisation and tokenisation covers these techniques.
  • Test redaction in both languages. Filters miss a name inside an Arabic sentence, a phone number in Arabic-Indic digits, or a medical detail in a voice note.
  • Don’t call it anonymised. Under Article 9 of the Implementing Regulation, data is anonymised only when the person can no longer be re-identified. If you keep a mapping, it is still personal data.

Retention: the three places data lives

Article 18 of the law requires destroying personal data without undue delay once it is no longer needed for its purpose, unless there is a legal basis for keeping it for a set period or a court case needs it. An AI feature leaves copies in three places:

  1. Your database, where results are stored. Set a period per purpose.
  2. Your logs and traces. Prompt logging and error tracking often keep full prompts indefinitely. This is the copy people forget.
  3. The provider. Check default retention for inputs and outputs, any abuse-monitoring period, whether reduced or zero retention is offered on your plan, and how stored files are deleted.

Put the period in the processor contract and in your privacy policy, which Article 12 of the law says must explain how data is kept and destroyed.

Impact assessment, notice, security and breaches

  • Impact assessment. Article 22 of the law requires an impact assessment for products and services that process personal data. Article 25 of the Implementing Regulation requires a written assessment for sensitive data, for combining datasets from different sources, and for processing at scale or repeatedly with emerging technologies or automated decisions. Most AI features on customer data will need one. SDAIA offers a privacy impact assessment service.
  • Notice. Article 4(5) of the Implementing Regulation asks controllers using emerging technologies or automated decisions at scale to tell customers how their data is protected and whether decisions are entirely automated.
  • Security. Article 19 of the law requires organisational, administrative and technical measures to protect personal data, including while it is being transferred. Article 23 of the Implementing Regulation points to National Cybersecurity Authority controls, or recognised best practice if you are not bound by them: restricted API keys, encryption, and access limits on logs.
  • Breaches. Article 20 of the law requires notifying SDAIA when you learn of a breach, damage or illegal access to personal data, and notifying the customers affected when it could harm their data or their rights. Article 24 of the Implementing Regulation sets the timing: SDAIA within 72 hours of learning of a breach that could harm customers, and affected customers without undue delay.
  • Customer rights. Article 4 of the law gives customers the right to know why their data is collected, to access it, to get a copy, to have it corrected and to ask for its destruction. Plan how a correction or deletion request reaches the copies an AI feature leaves in your logs and at the provider. Article 17 of the law requires passing corrections on to anyone the data was transferred to.
  • Records. Article 31 of the law requires a record of processing that states the purpose, who the data is disclosed to, whether it is transferred outside the Kingdom and how long it is kept. Add each AI feature to it.
  • Penalties. Article 36 of the law allows a warning or a fine of up to SAR 5 million for private entities, doubled for repeats. Article 35 sets up to two years in prison, a fine of up to SAR 3 million, or both, for disclosing or publishing sensitive data with intent to harm or for personal gain. Under Article 40, anyone harmed by a violation can also claim compensation in court.

Architecture patterns that make compliance easier

Most of the risk is set by the architecture before anyone signs a contract. Four patterns cover most cases, and they combine.

Redact, call, restore

Your backend strips identifiers, sends the rest to the model, and puts identifiers back into the structured result. Cheap to add, but imperfect on messy free text.

Keep identity at home, send references

The model sees an internal reference and the content it needs, such as “ticket 8841: the delivery arrived damaged”. Your system holds the link to the customer, so the record of truth stays in Saudi Arabia.

Process inside the Kingdom

Use a Saudi cloud region that offers the model you need, or host an open-weight model yourself. This avoids most transfer questions, at the cost of fewer model choices, more operations work and capacity you pay for either way.

A person approves decisions about people

The model proposes and a person on your team confirms. This keeps you out of “entirely automated” decisions and catches model errors before they reach a customer.

Pattern Reduces Main trade-off
Redact, call, restore What leaves your system Misses on messy text
Send references Identity exposure More backend logic
Process in-Kingdom Transfer obligations Model choice, cost, operations
Human approval Automated-decision risk Slower; needs staff time

SDAIA’s AI guidance alongside the law

There is no separate Saudi AI law, so PDPL governs the personal data in an AI feature. SDAIA’s AI Ethics Principles and its Generative AI guidelines add expectations on privacy, transparency and human oversight. For most private companies they are guidance, not law, but they show what the regulator expects and make an impact assessment easier to write.

How Bahr AI approaches this

Bahr AI is a software and AI company in Jeddah. Our AI integration work connects existing AI services to the systems a business already runs:

  • Your application or backend calls the AI service and handles responses, errors and retries, so you control which fields go into each request.
  • Results come back as named fields your system validates before using them.
  • Uncertain or high-impact results go to a person. In our step-by-step example, nothing is booked until someone confirms the request.
  • We work with the databases and services you already use, rather than moving your data to a new platform.
  • We work with all the major AI providers and choose one per project, so the choice can follow where each provider processes data and on what terms.
  • We host inside or outside Saudi Arabia, as your data and obligations require, including in-Kingdom hosting when the data should not leave the Kingdom.

In workflow automation, we add AI only to steps that depend on understanding text, and document each automation with alerts when a step fails.

We are not lawyers. We build the technical side alongside your legal adviser or data protection officer, who decides the lawful basis and signs off the assessment.

Planning an AI feature that touches customer data? Tell us about the systems involved and we can walk through the data flow before anything is built.

Checklist before you ship

  • Each AI feature has a written purpose and lawful basis.
  • Explicit consent covers sensitive data, credit data and entirely automated decisions.
  • The provider contract covers purpose, data categories, duration, breach notice, foreign law and sub-processors.
  • You know where the provider processes data, with a transfer basis, safeguard and, where required, risk assessment.
  • Prompts use named fields, and identifiers are replaced where possible.
  • Retention is set for your database, logs and provider, and training on your data is off unless you chose it.
  • An impact assessment is written, and the privacy policy explains the AI use and any processing outside the Kingdom.
  • Your record of processing lists each AI feature, and correction and deletion requests reach your logs and the provider.
  • Someone tracks the October 2026 draft amendments and reviews the design when the final text appears.

Frequently asked questions

Can a Saudi business use an LLM API such as a hosted GPT, Claude or Gemini model with customer data?

Yes, PDPL does not ban it. It treats the API call as processing, usually by a processor acting for you. You need a lawful basis for the purpose, a contract that covers what the Implementing Regulation lists, a valid basis and safeguards if the provider processes the data outside Saudi Arabia, and you should send only the data the task needs.

Do I need customer consent before sending their data to an AI model?

Not always. Consent is the default under Article 5, but Article 6 allows processing without it, for example to implement an agreement the customer is party to, or for a documented legitimate interest that involves no sensitive data. The Implementing Regulation requires explicit consent for sensitive data, credit data, and decisions based entirely on automated processing. Using data collected for one purpose in a new AI purpose needs its own basis.

Does PDPL require customer data to stay inside Saudi Arabia?

As of 16 November 2026, PDPL allows transfers abroad under Article 29 and the Transfer Regulation, subject to conditions and safeguards. In October 2026 SDAIA consulted on draft amendments that would require controllers to store personal data inside the Kingdom while still allowing compliant transfers. Check whether the amendments have been published before you rely on either position.

Is pseudonymised or redacted data still personal data under PDPL?

If you can link it back to a person, for example with a token table you keep, treat it as personal data. Pseudonymisation lowers risk and reduces what leaves your system, but it does not take the processing out of PDPL. Only data that can no longer identify anyone, directly or indirectly, falls outside the law.

What are the penalties for breaking PDPL?

Under Article 36, a private entity can receive a warning or a fine of up to SAR 5 million, which can be doubled for a repeat violation. Under Article 35, disclosing or publishing sensitive data with intent to harm the person or for personal gain can lead to up to two years in prison, a fine of up to SAR 3 million, or both.

Does SDAIA have AI-specific rules for private companies?

There is no separate AI law. PDPL and its regulations govern any personal data your AI feature handles. SDAIA also publishes AI Ethics Principles and Generative AI guidelines, which set expectations on privacy, transparency and human oversight that are worth following alongside the law.

Your next project

Discuss your project