
Superintelligent Agent for Complaints Handling
How to use a superintelligent agent for complaints handling: classify cases, track deadlines and draft replies, with an auditable log and human review.
Want to apply this in your company?
Book a call with Juan →A superintelligent agent for complaints handling is, in practice, an AI system with clear limits that helps classify complaints, track deadlines and prepare draft replies, while every decision is logged for audit. It does not replace the ombudsman or complaints manager. It organizes the queue, flags what is urgent and leaves sensitive judgment to a person. The value lies in the method and the record, not in the product name.
Key takeaways
- The agent works on three fronts: classifying the complaint, calculating and watching the deadline, and drafting the reply for review.
- A deadline is a business rule, not a model opinion: the calculation must be deterministic, with the AI only reading and suggesting.
- Every step must leave a trail: what came in, what the agent suggested, who approved it and what was sent.
- Serious, sensitive or legally risky cases should always go to a person, with the context already organized.
- The safe path is a pilot on one real flow, with a success metric agreed in advance, and only then expanding, adjusting or stopping.
What an AI agent does (and does not do) in a complaints office
A complaints office (what Brazilian companies call an ouvidoria) deals with text that is emotional, messy and often incomplete. The customer writes through a form, email, WhatsApp or a public channel, and the team has to work out what it is about, who owns it, how much time is left and what has already been said. That reading and organizing work is exactly what AI does well.
What the agent can safely do:
- Read the complaint and propose a category, a topic and a severity level.
- Pull the customer's history and similar complaints from the company's systems.
- Suggest the responsible area and build a summary for whoever will handle the case.
- Calculate the deadline from rules you have registered.
- Write a draft reply based on approved policies.
What it should not do alone: grant a refund or exception, admit fault, interpret a contract, decide a case involving health, safety or reputational risk, or close a complaint without approval from an authorized person. If you want to understand why the superintelligence label often creates the wrong expectations, read about superintelligence myths that get in the way of business decisions. In a complaints office, what you actually run is an agent with a narrow scope and supervision.
How to classify complaints with AI without losing judgment
Classification is the step where AI helps the most and where an error spreads the furthest. A misclassified complaint lands in the wrong queue, misses its deadline and creates rework. That is why the taxonomy comes before the model.
A good classification design has:
- A closed list of categories, each with a short definition and examples. The agent chooses among them and does not invent new ones.
- A severity field with written criteria (for example: safety risk, threat of legal action, mention of a public authority, vulnerable customer).
- A confidence field: when the agent is unsure, it flags the case for human triage instead of forcing a category.
- A justification of one or two sentences, so the reviewer understands why that category was suggested.
One important detail: a complaint is text written by a third party, and it may contain disguised instructions, such as asking the agent to ignore its rules. Always treat the content of a complaint as data, never as an order. OWASP's guidance on the risks of applications built on language models is a good reference for this defensive layer.
To measure quality, build a set of past complaints already classified by experienced people and compare them with the agent's suggestions. Review the disagreements as a group: sometimes the model is wrong, and sometimes the category was poorly defined.
How to track deadlines without relying on the model's memory
Deadlines are where a complaints office suffers most, and where the temptation to ask the model to calculate everything is strongest. Avoid it. Language models can get calendar math, business days and holidays wrong. The reliable approach is to separate responsibilities:
- The AI identifies the complaint type, the channel and the date received, and suggests which deadline rule applies.
- A deterministic flow (a piece of code or an automation rule) calculates the due date from the registered rule, the holiday calendar and the date received.
- The system sends escalating alerts before the due date and escalates to a manager when a case stalls.
The deadlines themselves depend on your internal policy, your contracts and, in some sectors, the rules of regulators. Confirm with legal and compliance which ones apply to each type of case, and register them as configuration with an effective date, so changes are recorded. The agent should never have permission to change a deadline rule.
If the company talks to customers over WhatsApp, it is also worth understanding the channel's rules before promising an automatic follow-up. The article on the WhatsApp 24 hour customer service window explains how the agent should behave when the conversation window closes.
How to draft the reply with AI support
The reply is the final product of a complaints office, and an assisted draft saves time when it has structure. The idea is that the agent builds the base and a person decides the final content.
A reliable draft uses only what has been approved:
- The company's policy and standard wording for that type of case, retrieved from a controlled knowledge base.
- Case facts taken from the system (dates, protocol numbers, status), not from the model's memory.
- A defined tone: direct, respectful, with no promises the company cannot keep.
- Clear markers for points that need a human decision, such as a compensation amount or an exception.
The reply should acknowledge the problem, explain what was found, say what will be done and give the next step and the timeline. If the agent cannot find a fact in the system, it should flag the gap instead of filling it with something plausible. The article on handling consumer complaint sites with AI details the history, draft and review logic for public channels, which applies well to a complaints office. For first-line support, the guide on what to automate in AI customer support helps separate what stays with automation and what stays with a person.
What to record so every decision is auditable
Auditing means being able to reconstruct, afterward, what happened and why. Without it, the complaints office cannot defend a reply or fix a systematic error. The record must be created by the system, not by the model itself, and the agent must not be able to edit it.
For each complaint, keep:
- Case identifier, channel, and date and time received.
- Original text and processed version (for example, with personal data masked where it makes sense).
- The agent's suggested classification, its confidence and justification, and the final approved classification.
- The deadline rule applied, the calculated due date and the alerts sent.
- Sources consulted for the draft (policy, history, document) and the version of each.
- The generated draft, the edits made by the person, who approved it and when.
- The model version and the instructions in use on that date, to explain changes in behavior.
- The reply sent and any reopening of the case.
This set is what the observability field calls traces, metrics and logs, the signals that let you understand a system's behavior from the inside. The OpenTelemetry concepts guide is a good starting point for anyone building this layer. Also define how long each record is kept and who can access it, because the log itself contains personal data.
Step by step: piloting on a real flow
The method we apply is map, limit, pilot and hand over. In a complaints office it looks like this:
- Map: describe how a complaint arrives, who reads it, which systems it lives in, where deadlines get lost and how a reply is approved today. Measure the baseline: time to first triage, overdue complaints, rework caused by wrong classification.
- Limit: choose one complaint type and one channel. Define which data the agent can see, which tools it can use (read history, suggest a category, generate a draft) and which actions are blocked (sending a reply, granting an exception, changing a deadline).
- Pilot: run the agent in shadow mode first, suggesting while the team works as usual. Compare the suggestions with the human decisions, adjust, and only then start using the draft for real, always with approval. Agree in advance on the success metric and the criterion for stopping.
- Hand over: document the rules, the tests, the log dashboard and who looks after what, and decide together whether to expand, adjust or end the pilot.
An illustrative scenario: a company receives billing complaints through a web form. The agent reads the text, suggests the category incorrect charge, marks medium severity, pulls the invoice history and notes that the deadline rule for this type expires on a date calculated by the flow. It builds a draft with facts from the system and highlights the field for a possible refund, which only an authorized analyst fills in. The analyst changes the category to a different one, the correction is logged as a disagreement, and the reply goes out with the approval recorded. Nothing in this example represents a real customer result.
Which risks need attention: LGPD, malicious text and automated decisions
Complaints carry personal data and sometimes sensitive data, such as health information. Before connecting any AI to the flow, define the legal basis for processing, minimize what the agent can see and know where the data is processed. If the model provider is outside Brazil, read about international data transfer under LGPD when using AI providers and check the guidance from ANPD, Brazil's data protection authority. For highly sensitive data, one option is to evaluate a model running in an environment controlled by the company itself.
There is also the matter of automated decisions. If a classification or a reply affects the data subject's interests, they may have the right to request a review, and the company must be able to explain its criteria. Keeping a person in the final decision and storing the justification reduces this risk. The article on LGPD automated decision-making and the right to review goes deeper into the topic.
To structure risk management for the system as a whole, the NIST AI Risk Management Framework offers a useful vocabulary: map, measure, manage and govern. On the architecture of the agent itself, Anthropic's article on building effective agents reinforces a practical idea: start with simple flows and add autonomy only when there is evidence it is needed.
A final checklist before going live:
- The category and severity taxonomy is written and approved by the complaints office.
- The deadline rules are registered and validated by legal, outside the model.
- The agent has no permission to send, refund or close.
- There is a human triage queue for low confidence and serious cases.
- The record of each decision is generated by the system and protected by restricted access.
- There is a test set built from real past cases and a routine for reviewing disagreements.
- Someone is responsible for monitoring the agent after handover.
Frequently asked questions
Can the AI agent answer a complaint on its own? Technically it can, but in a complaints office that is not the recommended design. The reply carries the company's responsibility, so the agent prepares the draft and an authorized person approves it. Simple, well-bounded cases can gain more autonomy after a pilot period with evidence.
Does the AI calculate the complaint deadline? It helps identify the case type and the applicable rule, but the due date calculation should be done by a deterministic flow with a calendar and registered rules. That way the result is predictable, testable and auditable, without depending on a calculation made by a language model.
What makes the decision record truly auditable? The system, not the model, records the input, the suggestion, the approval, the sources consulted, the version of the instructions and the reply sent, with a date and a responsible person. The record should be protected against editing and have restricted access, since it also contains personal data.
Where should my company start? Choose a complaint type with reasonable volume and clear rules, measure how it is handled today and run the agent in shadow mode, sending nothing to the customer. With the agreed metric and the logs in hand, you decide whether to expand, adjust or stop.