Redact personal data
With Ocultar dados pessoais (PII) (Redact personal data) on, Diska removes personal data from the text each call leaves: the transcript, the summary, the post-call analysis and the webhook. Each item is replaced by a tag:
Falas com o NOME. O meu número é TELEFONE e moro na MORADA.
The call itself does not change: the agent hears and uses everything the caller says. Redaction happens when the call ends, before any analysis or delivery.
Turn it on
- In the agent editor, open Definições → Segurança e conformidade (Settings → Security and compliance).
- Turn on Ocultar dados pessoais (PII).
- Publish the agent. The option is part of the version, and real calls use the published version.
It applies to calls that end after you publish. Earlier calls are not changed.
Test calls from the panel follow the draft, so you can try it before publishing.
What is redacted
| Data | Tag | Examples |
|---|---|---|
| People's names | [NOME] | "Márcio Quimbundo" and, later in the call, just "Márcio" |
| Phone numbers | [TELEFONE] | "958 114 794", "+244 923 …", "nove cinco oito, um um quatro…" (spelled out) |
| E-mail addresses | [EMAIL] | "nome@empresa.ao", "nome arroba gmail ponto com" (spoken) |
| Addresses | [MORADA] | Street, neighbourhood with a house number, building, floor, postcode |
| ID documents | [DOCUMENTO] | BI, NIF, passport, driving licence |
| Cards | [CARTÃO] | Number, expiry date and CVV |
| Bank accounts | [IBAN] | IBAN |
| Dates of birth | [DATA_NASCIMENTO] | "nasci a 3 de Maio de 1990" |
Data with a known shape (phone numbers, e-mails, cards, IBAN, BI) is found by rules, including when spelled out in words. Names, addresses and dates of birth are identified by a language model that can only point at excerpts present in the transcript: it never rewrites the text.
These stay visible:
- the company contacts written in the agent's instructions (when the agent reads out the sales number, that number is not the caller's);
- the agent's name and the company's name;
- amounts, dates and times.
Where it applies
| Where | Redacted? |
|---|---|
| Transcript in Históricos (Histories) | Yes |
| Call summary | Yes — written from the already redacted call |
| Evaluations and sentiment | Yes — computed on the already redacted call |
| Extractor values stored with the call | Yes |
| Post-call webhook | Yes |
| Log of the tools used during the call | Yes |
| Shared memory | Yes — built from the already redacted call |
| DISKA API chats | Yes, when the conversation closes |
| Caller's number (caller ID) | No — needed for the SMS to the caller, memory and billing |
| Audio recording | No — if the audio must not hold personal data, turn Gravar chamadas (Record calls) off |
| Data an action stores on purpose (a calendar booking, a record in your CRM) | No |
| WhatsApp text conversations | No — the option applies to calls |
Post-call actions
Information extractors still read the full call to feed the actions that act on the caller's behalf. The post-call SMS and custom actions receive the real values, for example the name for "Olá {nome}". What Diska stores, and what it sends in the webhook, carries the tags.
If you need the caller's name or contact in your system, send them with a custom action: the post-call webhook arrives without them.
Limitations
- Redaction is permanent. The original text is not kept and cannot be recovered.
- No detector is perfect, especially on transcribed speech. A misheard name can slip through, and a common word can be hidden by mistake. Treat redaction as one layer of protection, not the only one.
- The summary and memory wait for redaction. They are normally ready seconds after the call. For an interrupted call (abandoned, for example), the platform redacts it a few minutes later and only then creates them.
- Name and address detection uses the same model provider that already writes the call summary.

