Bulk Document Extraction & Review
Extracts structured data from sets of legal documents into tabular format. Each document becomes a row; user-defined questions become columns. Produces reviewable tables with source citations, then supports analysis across the extracted dataset.
Prerequisites
- Document set — the files to analyze (contracts, agreements, correspondence, filings, etc.)
- Extraction questions — what to extract from each document (see Column Design below)
- Document type — the nature of the documents (e.g., all NDAs, mixed data room, email set)
- Review purpose — what the table will be used for (DD report, compliance check, portfolio analysis, case chronology)
- Output preferences — format (table, CSV, report narrative), language, level of detail
If extraction questions are not provided, propose a standard column set based on the document type.
Workflow
Phase 1: Column Design
Define extraction columns. Each column is a question asked of every document. Column types:
| Type |
Description |
Example |
| Verbatim |
Extract exact language from the document |
"What is the governing law clause?" |
| Free response |
Summarize or interpret |
"Summarize the key obligations of the Seller" |
| Classification |
Yes/No or category |
"Does this agreement contain a change-of-control provision?" |
| Date |
Extract specific dates |
"What is the effective date?" |
| Numeric |
Extract amounts, percentages |
"What is the liability cap amount?" |
| List |
Multiple items from same document |
"List all defined terms" |
Standard column sets by document type:
Contracts / Agreements:
- Document name and type
- Parties (with roles)
- Effective date and term
- Governing law and jurisdiction
- Key financial terms (price, payment, caps)
- Termination provisions (convenience, cause, notice period)
- Assignment / change of control
- Indemnification scope
- Limitation of liability
- Confidentiality term
- Unusual or non-standard provisions
- Red flags or concerns
Correspondence / Emails:
- Date and time
- Sender and recipient(s)
- Subject
- Key facts or events described
- Commitments or action items
- Attachments referenced
- Privilege indicators
Court Filings / Pleadings:
- Filing date
- Document type (motion, brief, order, etc.)
- Filing party
- Relief sought or ruling issued
- Key arguments or findings
- Deadlines or next dates
- Cited authorities
Phase 2: Document Processing
For each document in the set:
- Identify — document name, type, date, page count
- Extract — answer each column question with:
- The extracted value
- Source citation (page number, section, paragraph)
- Confidence indicator when the answer requires interpretation
- Flag — note any documents that:
- Cannot be processed (corrupted, illegible, wrong format)
- Contain ambiguous answers for a given column
- Have notable omissions (expected provision absent)
Phase 3: Table Assembly
Compile results into a structured table:
| Doc # |
Document Name |
[Column 1] |
[Column 2] |
... |
[Column N] |
Flags |
Table conventions:
- One row per document
- Empty cells marked "Not found" or "N/A" (distinguish between absent and inapplicable)
- Multi-value cells use semicolons as delimiters
- Source citations in parentheses after each value: (§3.2, p.7)
- Flags column captures anomalies, concerns, or items requiring attorney review
Phase 4: Cross-Document Analysis
After extraction, analyze the dataset:
4a. Summary Statistics
- Total documents processed / skipped / flagged
- Distribution of key values (e.g., "65% have mutual indemnification, 35% one-sided")
- Date ranges (earliest and latest effective dates, expirations)
- Outliers (documents with unusual terms relative to the set)
4b. Risk and Anomaly Report
- Inconsistencies — documents with conflicting terms (different governing law, conflicting definitions)
- Missing provisions — documents lacking standard clauses present in majority of set
- Outlier terms — values significantly different from the norm (unusually high caps, short cure periods)
- Red flags — provisions requiring immediate attorney attention
4c. Comparative Analysis
- Side-by-side comparison of key terms across selected documents
- Deviation from standard or template language
- Trend analysis (if documents span time periods)
Phase 5: Report Generation
Based on the extracted table and analysis, produce:
- Executive summary — key findings, overall risk assessment, critical items requiring action
- Detailed table — full extraction results (Phase 3 output)
- Analysis narrative — written summary of cross-document patterns, risks, and recommendations
- Follow-up list — documents or issues requiring further review, with specific questions
Use Case Templates
M&A Due Diligence Data Room
Columns: Parties, Date, Contract type, Term, Renewal, Change of control, Assignment consent, Material financial terms, Restrictive covenants, IP provisions, Termination triggers, Red flags
Analysis focus: Change-of-control provisions that could block closing, material contracts requiring consent, unusual termination rights, aggregate financial exposure
Lease Portfolio Review
Columns: Property, Landlord, Tenant, Commencement, Expiration, Renewal options, Monthly rent, Escalation, CAM/NNN, Assignment/subletting, Termination rights, Restoration obligations
Analysis focus: Upcoming expirations, below/above-market rents, assignment restrictions affecting transactions, aggregate lease obligations
Employment Agreement Audit
Columns: Employee, Title, Start date, Term, Base compensation, Bonus/equity, Non-compete scope and duration, Non-solicit, IP assignment, Severance triggers, Change-of-control provisions, Governing law
Analysis focus: Non-compete enforceability by jurisdiction, aggregate severance exposure, key person dependencies, inconsistencies across similar roles
Regulatory Filing Review
Columns: Filing type, Filing date, Filer, Jurisdiction, Status, Key disclosures, Material changes from prior filing, Deficiencies noted, Response deadline
Analysis focus: Compliance gaps, missed deadlines, material disclosure changes, cross-filing consistency
Guidelines
- Every extracted value must include a source citation (section, page, or paragraph reference)
- Distinguish between "Not found" (searched but absent) and "N/A" (not applicable to this document type)
- Do not infer or extrapolate values — extract only what the document explicitly states
- When a provision is ambiguous, extract the verbatim language and flag for attorney review rather than interpreting
- Process documents in consistent order (alphabetical, chronological, or as provided)
- For large sets, process in batches and maintain consistent column definitions across batches
- Flag any document that appears to be a duplicate or superseded version
- Note document language — if documents are in multiple languages, indicate the source language and whether extraction was from the original or a translation
- Mark [VERIFY] on any extracted value where confidence is low due to poor document quality, ambiguous language, or complex cross-references
- Maintain a processing log: document name, status (processed/skipped/flagged), notes
1---
2name: bulk-document-extraction-review
3language: en
4description: >-
5 Extracts structured data from large sets of legal documents into tabular
6 format for review, analysis, and reporting. Processes contracts, agreements,
7 correspondence, filings, and other legal documents in bulk — extracting
8 key terms, dates, parties, obligations, risks, and custom fields into
9 organized tables. Use when conducting due diligence document review,
10 bulk contract extraction, compliance audits across document sets, lease
11 portfolio analysis, employment agreement review, regulatory filing review,
12 or any task requiring structured extraction from multiple documents.
13 Trigger keywords: tabular review, bulk extraction, document review table,
14 data room review, batch document analysis, contract extraction, portfolio
15 review, structured extraction, document comparison table.
16metadata:
17 source: https://skillmd.com/skills/casemark/bulk-document-extraction-review
18 author: casemark
19 practice_areas:
20 - Transactional
21 - Corporate
22 - Litigation
23 document_types:
24 - Summary
25 - Report
26 skill_modes:
27 - Analysis
28 - Research
29---
30
31# Bulk Document Extraction & Review
32
33Extracts structured data from sets of legal documents into tabular format. Each document becomes a row; user-defined questions become columns. Produces reviewable tables with source citations, then supports analysis across the extracted dataset.
34
35## Prerequisites
36
371. **Document set** — the files to analyze (contracts, agreements, correspondence, filings, etc.)
382. **Extraction questions** — what to extract from each document (see Column Design below)
393. **Document type** — the nature of the documents (e.g., all NDAs, mixed data room, email set)
404. **Review purpose** — what the table will be used for (DD report, compliance check, portfolio analysis, case chronology)
415. **Output preferences** — format (table, CSV, report narrative), language, level of detail
42
43If extraction questions are not provided, propose a standard column set based on the document type.
44
45## Workflow
46
47### Phase 1: Column Design
48
49Define extraction columns. Each column is a question asked of every document. Column types:
50
51| Type | Description | Example |
52|---|---|---|
53| **Verbatim** | Extract exact language from the document | "What is the governing law clause?" |
54| **Free response** | Summarize or interpret | "Summarize the key obligations of the Seller" |
55| **Classification** | Yes/No or category | "Does this agreement contain a change-of-control provision?" |
56| **Date** | Extract specific dates | "What is the effective date?" |
57| **Numeric** | Extract amounts, percentages | "What is the liability cap amount?" |
58| **List** | Multiple items from same document | "List all defined terms" |
59
60**Standard column sets by document type:**
61
62**Contracts / Agreements:**
63- Document name and type
64- Parties (with roles)
65- Effective date and term
66- Governing law and jurisdiction
67- Key financial terms (price, payment, caps)
68- Termination provisions (convenience, cause, notice period)
69- Assignment / change of control
70- Indemnification scope
71- Limitation of liability
72- Confidentiality term
73- Unusual or non-standard provisions
74- Red flags or concerns
75
76**Correspondence / Emails:**
77- Date and time
78- Sender and recipient(s)
79- Subject
80- Key facts or events described
81- Commitments or action items
82- Attachments referenced
83- Privilege indicators
84
85**Court Filings / Pleadings:**
86- Filing date
87- Document type (motion, brief, order, etc.)
88- Filing party
89- Relief sought or ruling issued
90- Key arguments or findings
91- Deadlines or next dates
92- Cited authorities
93
94### Phase 2: Document Processing
95
96For each document in the set:
97
981. **Identify** — document name, type, date, page count
992. **Extract** — answer each column question with:
100 - The extracted value
101 - Source citation (page number, section, paragraph)
102 - Confidence indicator when the answer requires interpretation
1033. **Flag** — note any documents that:
104 - Cannot be processed (corrupted, illegible, wrong format)
105 - Contain ambiguous answers for a given column
106 - Have notable omissions (expected provision absent)
107
108### Phase 3: Table Assembly
109
110Compile results into a structured table:
111
112| Doc # | Document Name | [Column 1] | [Column 2] | ... | [Column N] | Flags |
113|---|---|---|---|---|---|---|
114
115**Table conventions:**
116- One row per document
117- Empty cells marked "Not found" or "N/A" (distinguish between absent and inapplicable)
118- Multi-value cells use semicolons as delimiters
119- Source citations in parentheses after each value: (§3.2, p.7)
120- Flags column captures anomalies, concerns, or items requiring attorney review
121
122### Phase 4: Cross-Document Analysis
123
124After extraction, analyze the dataset:
125
126#### 4a. Summary Statistics
127- Total documents processed / skipped / flagged
128- Distribution of key values (e.g., "65% have mutual indemnification, 35% one-sided")
129- Date ranges (earliest and latest effective dates, expirations)
130- Outliers (documents with unusual terms relative to the set)
131
132#### 4b. Risk and Anomaly Report
133- **Inconsistencies** — documents with conflicting terms (different governing law, conflicting definitions)
134- **Missing provisions** — documents lacking standard clauses present in majority of set
135- **Outlier terms** — values significantly different from the norm (unusually high caps, short cure periods)
136- **Red flags** — provisions requiring immediate attorney attention
137
138#### 4c. Comparative Analysis
139- Side-by-side comparison of key terms across selected documents
140- Deviation from standard or template language
141- Trend analysis (if documents span time periods)
142
143### Phase 5: Report Generation
144
145Based on the extracted table and analysis, produce:
146
1471. **Executive summary** — key findings, overall risk assessment, critical items requiring action
1482. **Detailed table** — full extraction results (Phase 3 output)
1493. **Analysis narrative** — written summary of cross-document patterns, risks, and recommendations
1504. **Follow-up list** — documents or issues requiring further review, with specific questions
151
152## Use Case Templates
153
154### M&A Due Diligence Data Room
155**Columns:** Parties, Date, Contract type, Term, Renewal, Change of control, Assignment consent, Material financial terms, Restrictive covenants, IP provisions, Termination triggers, Red flags
156**Analysis focus:** Change-of-control provisions that could block closing, material contracts requiring consent, unusual termination rights, aggregate financial exposure
157
158### Lease Portfolio Review
159**Columns:** Property, Landlord, Tenant, Commencement, Expiration, Renewal options, Monthly rent, Escalation, CAM/NNN, Assignment/subletting, Termination rights, Restoration obligations
160**Analysis focus:** Upcoming expirations, below/above-market rents, assignment restrictions affecting transactions, aggregate lease obligations
161
162### Employment Agreement Audit
163**Columns:** Employee, Title, Start date, Term, Base compensation, Bonus/equity, Non-compete scope and duration, Non-solicit, IP assignment, Severance triggers, Change-of-control provisions, Governing law
164**Analysis focus:** Non-compete enforceability by jurisdiction, aggregate severance exposure, key person dependencies, inconsistencies across similar roles
165
166### Regulatory Filing Review
167**Columns:** Filing type, Filing date, Filer, Jurisdiction, Status, Key disclosures, Material changes from prior filing, Deficiencies noted, Response deadline
168**Analysis focus:** Compliance gaps, missed deadlines, material disclosure changes, cross-filing consistency
169
170## Guidelines
171
172- Every extracted value must include a source citation (section, page, or paragraph reference)
173- Distinguish between "Not found" (searched but absent) and "N/A" (not applicable to this document type)
174- Do not infer or extrapolate values — extract only what the document explicitly states
175- When a provision is ambiguous, extract the verbatim language and flag for attorney review rather than interpreting
176- Process documents in consistent order (alphabetical, chronological, or as provided)
177- For large sets, process in batches and maintain consistent column definitions across batches
178- Flag any document that appears to be a duplicate or superseded version
179- Note document language — if documents are in multiple languages, indicate the source language and whether extraction was from the original or a translation
180- Mark [VERIFY] on any extracted value where confidence is low due to poor document quality, ambiguous language, or complex cross-references
181- Maintain a processing log: document name, status (processed/skipped/flagged), notes