Text Analytics and UK GDPR Compliance

Financial services firms process vast amounts of unstructured text every day. This includes customer feedback, complaint narratives, survey responses and internal policy documents. Manually reviewing this text is time-consuming and prone to human error. Microsoft Power Platform provides AI Builder, a feature that allows you to apply artificial intelligence to text analytics without writing complex code. However, when you introduce AI to process text, you must adhere strictly to data privacy laws, particularly the UK General Data Protection Regulation (Data protection legislation requiring lawful processing, data minimization, purpose limitation, and strict security controls over personal data.), known as UK GDPR, and regulatory expectations regarding operational resilience and accountability.

Refresher Core Mental Model: Text Analytics and UK GDPR Compliance 1 min

In Power Platform Automation for Regulated Teams: Power Automate, Power Apps and AI Builder with Governance, Text Analytics and UK GDPR Compliance focuses on turning AI Builder Capabilities for Text Analytics into a repeatable, governed practice. Rather than treating tools as black-box oracles, anchor every step to three questions: What approved data goes in? What structured draft comes out? And who verifies the result against primary evidence before action is taken?

This lesson explores how to use AI Builder (A Power Platform capability that lets makers embed governed document processing, extraction, and text classification into Power Apps and Power Automate flows.) for text recognition and sentiment analysis while maintaining robust governance. We will focus on a scenario involving customer feedback responses. As always, you must ensure that all exercises and tests use synthetic or public data, never real customer or confidential data. Real data must remain protected behind stringent security boundaries.

AI Builder Capabilities for Text Analytics

AI Builder offers several prebuilt models that are highly relevant to regulatory analytics. These models can be added directly into Power Automate (Microsoft’s workflow orchestration service used to build automated cloud flows, multi-stage approvals, and system integrations under tenant DLP policies.) cloud flows or Power Apps, transforming unstructured text into structured, actionable data.

Text Analytics and UK GDPR Compliance
  • Sentiment analysis: This model evaluates text input and labels the sentiment as positive, negative or neutral, with a mixed label also possible for a whole document. It also provides a confidence score between 0 and 1. This is highly useful for gauging customer reaction to a new product, policy or service change.
  • Key phrase extraction: This model identifies the main talking points within a large block of text. For instance, if feedback responses discuss how well a product delivers good outcomes, the model might automatically extract phrases like fair value, vulnerable customers, or communication standards.
  • Language detection: This model identifies the language in which a document is written, which is essential when dealing with cross-border regulatory matters or international branch communications.
  • Text recognition: Often referred to as Optical Character Recognition, this model extracts printed or handwritten text from images and PDF documents, converting it into machine-readable data that can be processed by other AI models.

Protecting Personal Data under UK GDPR

When you automate text analytics, you must consider the privacy implications carefully. Even if a feedback form explicitly asks respondents not to include personal information, they frequently do. Under UK GDPR, you must process personal data lawfully, fairly, and transparently. You must also adhere to the principle of data minimisation, meaning you should only process the data strictly necessary for your stated regulatory or business purpose.

If your Power Automate flow sends feedback responses to AI Builder, you are actively processing that data. You must ensure that your environment strategy and data policies (Tenant-level technical policies that classify connectors into Business, Non-Business, and Blocked groups to prevent unauthorized data exfiltration.) (formerly DLP policies) restrict where this data can flow. For example, your data policy should block, or classify as Non-Business, the connectors that could send this analysed text to unapproved external applications, social media platforms or personal email services.

Furthermore, you must apply least-privilege permissions across your architecture. Only the specific service account or authorised users running the automation should have access to the source data and the AI Builder models. The outputs of the AI models should be saved securely in Microsoft Dataverse (Microsoft Power Platform’s governed cloud data platform providing role-based security, relational storage, and immutable audit logging for apps, flows, and agents.). Within Dataverse, you can apply row-level security through security roles and column-level security to ensure that only authorised policy, supervision, or risk staff can view the sensitive results.

Comparison of Text Analytics Methods in Regulated Environments
Processing MethodEfficiency and ScalabilityUK GDPR and Privacy ControlsAudit and Logging
Manual ReviewVery low. Reviewing hundreds of responses takes weeks of highly skilled staff time.Relies entirely on human vigilance to redact or protect personal data within documents.Poor. It is difficult to prove exactly who read which document, when they read it, and what they did with the information.
Shadow IT (Unapproved Public AI)High but uncontrolled. Staff might use unapproved external websites to summarise text quickly.Unacceptable risk. Pasting confidential or personal data into public tools can breach UK GDPR, firm policy and regulatory expectations.None. The organisation has no record of the sensitive data leaving its boundary.
Governed Power Platform and AI BuilderHigh. Automates thousands of records in minutes using managed cloud flows.Strong. Data is processed within Microsoft’s cloud services under your organisation’s agreements with Microsoft, governed by data policies and Dataverse security roles.Comprehensive. Dataverse auditing, flow run history and custom exception logs provide a clear record of the data processing.
Plain-text version
Processing Method | Efficiency and Scalability | UK GDPR and Privacy Controls | Audit and Logging
Manual Review | Very low. Reviewing hundreds of responses takes weeks of highly skilled staff time. | Relies entirely on human vigilance to redact or protect personal data within documents. | Poor. It is difficult to prove exactly who read which document, when they read it, and what they did with the information.
Shadow IT (Unapproved Public AI) | High but uncontrolled. Staff might use unapproved external websites to summarise text quickly. | Unacceptable risk. Pasting confidential or personal data into public tools can breach UK GDPR, firm policy and regulatory expectations. | None. The organisation has no record of the sensitive data leaving its boundary.
Governed Power Platform and AI Builder | High. Automates thousands of records in minutes using managed cloud flows. | Strong. Data is processed within Microsoft's cloud services under your organisation's agreements with Microsoft, governed by data policies and Dataverse security roles. | Comprehensive. Dataverse auditing, flow run history and custom exception logs provide a clear record of the data processing.

Worked Example: Analysing Customer Feedback Responses

Imagine your customer experience team has received five hundred synthetic responses to a feedback survey about changes to a savings product. You need to categorise the main themes and gauge overall sentiment. To build this safely, you will use a dedicated Developer environment to create a Power Automate cloud flow. You must use a synthetic dataset of mock feedback responses for this entire development and testing phase.

Your automation will follow a secure, governed process to ensure data integrity and compliance.

  • Trigger: The cloud flow triggers automatically when a new synthetic response document is uploaded to a highly restricted SharePoint document library.
  • Text Extraction: If the uploaded document is a PDF, the flow uses the AI Builder text recognition model to extract the written content safely.
  • Analysis: The flow passes the extracted text to the AI Builder sentiment analysis and key phrase extraction models for evaluation.
  • Secure Storage: The flow writes the extracted key phrases, the sentiment score, and a link to the original document into a secure Dataverse table governed by least-privilege access rules.

Because you are operating in a regulated environment, you must not allow the AI to make automated decisions that affect customers or other individuals. The AI is purely an analytical assistant. Your flow will flag negative responses or documents mentioning specific risks, but a named human staff member will always review the actual response. This ensures alignment with regulatory expectations for human oversight of automated processes. Where any automated decision could affect individuals, check the ICO’s latest guidance on automated decision-making, which is being updated following the Data (Use and Access) Act 2025.

The Role of the Centre of Excellence

The Power Platform Centre of Excellence plays a critical role in preventing shadow IT. Shadow IT occurs when staff bypass approved corporate tools to use unapproved public AI services. As noted in our comparison table, pasting confidential feedback responses into public AI tools can be a serious breach of data privacy. By providing a governed internal environment with AI Builder, the Centre of Excellence offers a safe, approved alternative that meets analytical needs while maintaining strict security.

Furthermore, Copilot in Power Platform can assist your developers by generating the initial structure of your cloud flow based on natural language prompts. If you ask Copilot to build a flow that triggers on a new SharePoint document and passes the text to AI Builder, it will map out the basic steps. However, Copilot is an accelerator, not a replacement for human governance. The developer must still configure the least-privilege connections, ensure the data is routed to a secure Dataverse table, and verify that the flow respects all applicable data policies.

Enforcing Testing Before Release

You must never build and run this type of automation directly in your Production environment. Building directly in Production introduces the severe risk of accidental data modification or privacy breaches. Instead, you must use formal Application Lifecycle Management principles.

You will build your solution in a Developer environment. Once you have configured the flow, you must test it thoroughly using your synthetic feedback data. You should verify that the sentiment analysis is reasonably accurate and that the key phrase extraction identifies relevant regulatory themes. More importantly, you must test your error handling. What happens if the AI Builder model fails to process a heavily distorted PDF image? Your flow must handle this gracefully, logging the error and notifying the responsible team, rather than failing silently.

Once testing is complete, you will package your flow, the Dataverse table schema, and the required connection references into a Power Platform Solution. This Solution is then promoted to a Test environment for formal User Acceptance Testing, and finally deployed to the Production environment as a Managed Solution. This Managed state prevents users from making unauthorised edits to the flow in Production.

Comprehensive Logging and Audit Trails

Record-keeping is a fundamental requirement for UK financial services firms. When using AI to process data, you must maintain a clear, reliable audit trail. Within Microsoft Dataverse, you must enable auditing on the table that stores your feedback analysis. Once enabled, Dataverse auditing records who created each record, when it was created, and any subsequent updates made by human reviewers.

Your Power Automate flow should also write custom audit logs for its own execution. If a document cannot be processed, the flow should add a row to a dedicated Exceptions table, noting the document ID and the technical reason for failure. This comprehensive logging ensures that during an internal audit or a supervisory review, you can demonstrate exactly how many documents were processed, which specific AI models were applied, and how exceptions were managed.

Named Human Ownership and Accountability

The Senior Managers and Certification Regime makes senior individuals within a firm accountable for the activities they are responsible for, including the firm’s use of technology and automation. Automation and AI do not remove human accountability; they demand it. Every Power Platform solution must have a clearly documented, named human owner.

If the original creator of the feedback analysis flow moves to a different department or leaves the organisation, your Centre of Excellence team must facilitate a formal handover process. Ownership of the flow and the associated Dataverse tables must be officially transferred to another named individual. This owner is responsible for ensuring the flow continues to operate within data privacy guidelines, that permissions remain restricted to the principle of least-privilege, and that AI Builder usage stays within the capacity your firm has licensed (AI Builder features now draw on AI Builder credits and then on Copilot Credits).

By combining AI Builder capabilities with strict data policies, managed environments, synthetic testing, and clear human accountability, regulated teams can safely unlock the immense value of text analytics. This approach transforms slow, manual compliance tasks into secure, automated workflows while fully respecting UK GDPR and strict regulatory standards.

Text Analytics and UK GDPR Compliance in practice
Go deeper Architectural & Governance Trade-Offs in Text Analytics and UK GDPR Compliance 1 min · optional

When scaling Protecting Personal Data under UK GDPR across a team or regulated workflow, the primary bottleneck is rarely generation speed—it is verification overhead and drift. High-performing teams track two operational metrics alongside throughput: Edit-to-Approval Time (how many minutes a human reviewer spends correcting outputs) and Source-Traceability Rate (whether 100% of material numbers and claims link back to an audited record). If edit time exceeds manual drafting baseline across two cycles, tighten your input schema and negative constraints before expanding scope.

Custom Enterprise Workshop • The Tesseract Academy

In-House Corporate AI Strategy & Governance Clinics

Bespoke executive clinics led by Dr. Stylianos Kampakis for leadership teams, boards, and division directors.