Exact revision
Every clause and risk points to the revision it came from. An amendment is a new revision, not an overwrite.
Review an agreement clause by clause. Risks and counsel's decision stay with the revision they apply to.
01Connect the agreement
export default async (_ctx, client) => {
return client.connections.list({ connector_key: "google.drive" });
};Read the agreement from the drive the firm already uses. Each uploaded revision keeps its own identity.
One agreement, revisions v4 and v5.
02Read the clauses
export default async (_ctx, client) => {
return client.query(`
SELECT title, payload_text
FROM events
WHERE title ILIKE '%Redwood%'
ORDER BY occurred_at DESC
LIMIT 20
`);
};Clause 7 carries uncapped indemnity language, the same pattern that blocked the Acme NDA in September. Clause 11.5 changed the rent review wording.
Clause, revision, risk, owner.
03Review the risk
export default async (_ctx, client) => {
return client.entities.create({
entity_type: "risk",
name: "Uncapped indemnity",
metadata: { severity: "high", source_clause: "7" },
});
};One high risk is flagged to clause 7, with the clause and counterparty linked. Counsel sees the exact revision, not a summary.
Risk, severity, mitigation, source clause.
04Approve with counsel
export default async (_ctx, client) => {
return client.operations.execute({
operation_key: "gmail.create_draft",
input: { to: ["priya"], subject: "Redwood NDA · clause 7" },
});
};The memo is drafted in counsel's mailbox with the clause and evidence attached. Nothing is sent until a person approves it.
05The model behind it
export const contract = defineEntityType({ key: "contract", name: "Contract" });
export const clause = defineEntityType({ key: "clause", name: "Clause" });
export const risk = defineEntityType({ key: "risk", name: "Risk" });
export const counterparty = defineEntityType({ key: "counterparty", name: "Counterparty" });Contract, clause and risk stay separate. Counsel approval is tied to the exact revision; a later amendment is a new revision, not an overwrite.
Agreement, status, renewal, notice.
Provision, revision, risk.
Severity, mitigation, source clause.
It reads the mailbox and documents you connect, drafts the next action, and waits for a person to approve any send, delete or filing.
Every clause and risk points to the revision it came from. An amendment is a new revision, not an overwrite.
Counsel sees the clause, the history and the counterparty record behind each risk.
Memos are drafted for the reviewer. Nothing is sent until a person approves it.
The same workspace, with a different request.
Track which flats approved the current deed, with the email behind each answer.
See the other legal workflows.
We will review one agreement at no cost, with nothing to install. You keep the risk register and the clauses behind it.