Administration and integrations

Personal data: find, export, erase

Logley finds a person by email, name or tax ID in company records, document text, extracted values and email logs, masks them after a preview, and deletes the original file of every document the erasure matches — so read the limits first.

ABOUT 7 MINUTESTUTORIALFOR ADMINISTRATORS

Goal

Handle a data-subject request end to end: find where the person appears, export the list, erase them from the text and files Logley keeps, and know what remains.

Before you begin

The tools are on one Settings page, and only the Admin role holds the permission they need. Have these to hand:

  • An account with the Admin role
  • Every identifier the person appears under — email address, name as written on your documents, tax ID
  • Your own record of the request: Logley logs what was done and by whom, not why

Find, export and erase

  1. Open Data requests

    The tab is Data requests, under Privacy and audit, and its first block is Find a data subject. Without the compliance permission the tab does not appear at all, and among the built-in roles only Admin holds that permission.

    Settings, then Privacy and audit, then Data requests

    The tab before a search. Recent compliance activity is where each export and erasure is recorded.
  2. Search for the person

    Type one identifier (an email address, a name or a tax ID) into Data subject and select Search, or press Enter. It looks for that exact text, ignoring case, so Jan Kowalski does not find Kowalski Jan or J. Kowalski: search each form the person appears under. The next section lists where it looks.

  3. Read what was found

    The tab reports how many references it found and how many of each kind, in words: Documents: 3, for instance. It does not list the records themselves; the export does.

  4. Export the list

    Select Export to download a JSON file of every match: the kind of record, its identifier, the field that matched and a short label (an email address, a name or a file name), with the counts by kind. The file names each kind by the server’s own code, such as Supplier for a company record; the table below gives them. It is an index of where the person appears, not a copy of their data. To answer a subject access request, use it to find the records and supply their content yourself. Each export is written to the compliance log, and the tab says so under the button.

  5. Preview the erasure

    Select Preview erasure. Logley works out what it would change without changing anything, and says how many records of each kind it would redact. The preview can be smaller than the search: a company record found only by its name or tax ID is not changed by erasure. Every document it counts also loses its original file when you erase, unless it is under legal hold.

    A search by email address, then its preview. Erase stays disabled until the box reads ERASE.
  6. Erase

    Type ERASE in the box and select Erase. It cannot be undone, and the tab answers Erasure complete. Recorded in the compliance log. Every occurrence of the identifier becomes [REDACTED], ignoring case:

    • In company records, a contact email that is exactly the identifier is removed, and occurrences in notes are masked.
    • In documents, a matching sender address is removed, and occurrences in the supplier field and in the text read from the file are masked.
    • Every matched document’s original file (the PDF or image) is deleted from storage, unless the document is under legal hold. The document keeps its masked text and extracted values, so work on it with Re-extract, not Re-process selected, which starts again from the file.
    • In extracted values, occurrences are masked.
    • In the email logs, a matching recipient or sender is replaced, and occurrences in a sent message’s body or a received message’s subject are masked.
    • In the copies Logley keeps of what it saw, occurrences are masked too: the audit log (including the erasure’s own change), assistant conversations and the log of what the assistant looked up. If that pass fails, the tab says so in place of its confirmation: the subject was erased, but the copies in the audit log, the chat history and the AI agent log were not all cleaned. Run the erasure again for the same subject to finish it.
    • A document whose text changed loses its search vectors: it no longer comes back from meaning-based search or the assistant’s document search until someone re-extracts it, which indexes the masked text. Keyword search still finds the masked text meanwhile.
    • The replacement is literal and ignores word boundaries — erasing Jan also masks the start of January. Use the most specific identifier, and read the preview.
  7. Check the compliance log

    The erasure appears under Recent compliance activity as Data erased, about Data subject, with its time. The entry keeps the counts by kind, the account that ran it and a SHA-256 hash of the identifier rather than the identifier itself, and Logley never changes or deletes it. Searches and previews are not logged. A hash is not anonymous to someone who already knows the identifier: they can hash it and find the entry, which is also how you can show later that a given person was erased.

    An export and then an erasure, as the log lists them. The times are illustrative.

Where the search looks

The table shows the kinds as the tab names them, the code the export file gives each, and the fields each one is searched in. Whole value means the field must equal the identifier; in every other field the identifier may appear anywhere in the text. Deleted documents are included, and so are colleagues’ private documents.

What the personal-data search covers
Shown asCodeWhere the identifier is looked for
CompaniesSupplierCompany records: contact email (whole value), name, tax ID (whole value), notes
DocumentsDocumentSender’s email address (whole value), the supplier field, the text read from the file
Document readingsDocumentExtractionEverything extracted from a document
Emails sentOutboundEmailLogEmails Logley sent: recipient (whole value), message body
Emails receivedProcessedEmailEmails Logley received: sender (whole value), subject
Audit log entriesAuditLogThe record of changes: the label, and the old and new values of each change
Chat conversationsChatSessionAssistant conversations: the conversation’s title
Chat messagesChatMessageAssistant messages: the message text and the excerpts it cites
AI agent actionsAgentActionLogWhat the assistant looked up: the arguments of each lookup, such as a search for the person

What erasure does not reach

Erasure edits the text Logley keeps and deletes the files of the documents it matched. Copies of the person elsewhere stay where they are:

  • Documents under legal hold. Their text is masked, but their original file stays, and Re-process selected, in the Documents list, reads that file again and brings the erased details back into the text, the extracted values and the index. Re-extract works from the masked text and does not.
  • What the search skips: file names, document notes and tags, customers, supplier contacts, replies waiting in the email queue, and invoices you issued and their PDFs.
  • Company names and tax IDs, which the search finds but erasure leaves as they are.

A document page also offers Anonymize PII when processing found email addresses, phone numbers, IBANs or VAT numbers in it. It masks those in the document’s text only; the file, the extracted values and the passages already indexed for search keep them.

Deleting a whole document

Deleting a document is not erasure. It takes the document out of the lists, search and the assistant and deletes its search vectors at once; after 30 days Logley removes the file, the record holding its text and its extracted values from the server. Until then erasure still reaches a deleted document, so when a document mentions the person, erase them first. A document under legal hold cannot be deleted.

Before you close the request

  • Your backups (database dumps, vector snapshots and document archives) still hold the data until they rotate out.
  • Anything Logley already sent elsewhere (emails, ERP or CRM syncs, webhooks) is outside its reach.
  • Documents stay until someone deletes them, so nothing ages the data out for you.
NEXT GUIDEAudit log
Continue

Continue exploring

Was this guide useful?

If something was missing or unclear, the contact page says where to write.

Contact