Every compliance request.
Its documents. Its deadline.

Run a DSAR or AML check from intake to decision, with the statutory clock and the documents in one place.

Legal — Lobu

Home

How it works

01Open the request

A DSAR arrived in the privacy inbox.
Connect the privacy inboxCode
run_sdk
export default async (_ctx, client) => {
  return client.connections.list({ connector_key: "google.gmail" });
};

Read the request from the mailbox the team already uses. The matter opens with the date of receipt and the statutory clock.

Connect Gmail

Privacy inbox

Read-only. Scoped to the privacy label.

Connected
DSAR-2026-041

Received 12 Oct · due 12 Nov.

Created

02Find the evidence

Find every place we hold their data.
Index the evidenceCode
run_sdk
export default async (_ctx, client) => {
  return client.query(`SELECT title, payload_text
    FROM events
    WHERE title ILIKE '%Alex Morgan%'
    ORDER BY occurred_at DESC
    LIMIT 50`);
};

Account emails, support tickets and the signed contract are indexed with their source. A miss is visible; a duplicate is counted once.

Evidence index

Source, revision, collected.

Created

03Decide what can be released

What can we release, and what needs redacting?
Open the approval checkCode
run_sdk
export default async (_ctx, client) => {
  return client.entities.create({
    entity_type: "approval-check",
    name: "Release with redactions",
    metadata: { exemption: "third-party data" },
  });
};

Counsel records the decision and the exemption. The assessment is tied to the evidence set, not to a summary.

Approval check

Decision, reviewer, exemption.

Created

04Draft the response

Draft the response before the clock runs out.
Create the response draftCode
run_sdk
export default async (_ctx, client) => {
  return client.operations.execute({
    operation_key: "gmail.create_draft",
    input: { to: ["alex"], subject: "Your data request · DSAR-2026-041" },
  });
};

The response is drafted with the evidence and the decision attached. Nothing is sent until the owner approves it.

Drafts stay in your mailbox

Priya Shah
I'll review the redactions and send it.

05The model behind it

Show me the model behind the request.
Define the compliance entitiesCode
lobu.config.ts
export const matter = defineEntityType({ key: "matter", name: "Matter" });
export const documentRevision = defineEntityType({ key: "document-revision", name: "Document revision" });
export const approvalCheck = defineEntityType({ key: "approval-check", name: "Approval check" });
export const obligation = defineEntityType({ key: "obligation", name: "Obligation" });

The request is a matter. Evidence is a set of document revisions; the approval check holds the decision; the obligation carries the statutory deadline. The requester is a person record, not a new table.

Matter

Request, type, received, due.

Created
Document revision

Source, revision, collected.

Created
Obligation

Deadline, owner, status.

Created

What the agent can and can't do.

It reads the mailbox and documents you connect, drafts the next action, and waits for a person to approve any send, delete or filing.

The clock is a record

The statutory deadline is an obligation on the matter, with an owner. It is not a note hidden in the inbox.

Open the source.

Every answer links to the source email or document revision it came from.

Drafts stay in your mailbox.

The response is drafted for the owner to review and send. Nothing leaves the firm automatically.

The same workspace, with a different request.

Leasehold approvals

Track which flats approved the current deed, with the email behind each answer.

Contract review

Review an agreement clause by clause. Risks and counsel's decision stay with the revision they apply to.

Start with one live request.

We will run one DSAR or AML check at no cost, with nothing to install. You keep the documents and the decision record.

Talk to us