Skip to main content
Legalai.guide
Intermediate

Tutorial 17: Document Assembly & Automation

Master dynamic legal document assembly with conditional logic, automated client intake workflows, court form auto-population, and multi-document transaction management.

Learning Objectives

By the end of this tutorial, you will:

  • Master dynamic legal document assembly with conditional logic
  • Automate client intake workflows from questionnaires to document generation
  • Implement court form auto-population systems for efficient filing
  • Build and manage comprehensive template and clause libraries
  • Generate correspondence documents at scale with variable personalization
  • Create multi-document assembly workflows for transactions and closings
  • Understand how Claude compares to Clio Draft, Gavel, and Lawmatics for automation

Intermediate Level - Basic Claude experience required - Time: 45 minutes

What Is Document Assembly?

Document assembly is the automated generation of legal documents by combining:

  • Template structures with standardized formatting and mandatory clauses
  • Variable fields populated from intake data, matter information, or user inputs
  • Conditional logic that inserts or excludes clauses based on specific conditions
  • Clauses libraries providing approved, risk-managed alternative language

Enterprise Platform Comparison

FeatureClio DraftGavelLawmaticsClaude
Dynamic template populationYesYesYesYes
Conditional clause insertionLimitedYesLimitedStrong
Variable field handlingYesYesYesStrong
Intelligent client questionnairesYesLimitedStrongYes
Court form auto-fillLimitedYesLimitedYes
Template version controlYesLimitedYesManual
Clause library managementYesYesYesStrong
Multi-document assemblyLimitedLimitedLimitedStrong
AI-driven customizationLimitedLimitedLimitedVery strong

Claude's Key Advantage: Superior conditional logic, multi-document workflows, and AI-driven customization without the overhead of proprietary platforms.

Core Assembly Framework

Legal document assembly requires three inputs:

INPUT 1: TEMPLATE WITH VARIABLES & CONDITIONS
├── Standard sections
├── [VARIABLE_FIELD] placeholders
├── [IF: CONDITION] ... [ENDIF] blocks
└── Clause references {{clause_id}}

INPUT 2: CLIENT/MATTER DATA
├── Party information
├── Transaction parameters
├── Risk profile
└── Special conditions

INPUT 3: ASSEMBLY LOGIC
├── Variable substitution
├── Conditional evaluation
├── Clause selection
└── Formatting rules

OUTPUT: GENERATED DOCUMENT
└── Ready for execution or further negotiation

Practical Exercise 1: Dynamic NDA with Conditional Mutual/Unilateral Structure

Scenario: Your firm handles NDAs for both technology companies (mutual) and design studios hiring consultants (unilateral from consultant). You need a single template that adapts.

Prompt:

I need to generate a Non-Disclosure Agreement based on the following parameters.

## ASSEMBLY DATA:
- Agreement Type: [MUTUAL / UNILATERAL]
- Disclosing Party: [Company Name]
- Receiving Party: [Recipient Name]
- Term: [X years]
- Permitted Uses: [Technology evaluation / Contract negotiation / Employment consideration]
- Territory: [Worldwide / [Specific Countries]]
- Return of Information: [Destruction / Return / Certification]
- Exceptions to Confidentiality: [Include standard legal advice / Include all standard exceptions]

## DYNAMIC TEMPLATE WITH CONDITIONS:

[BEGIN PREAMBLE]
This Non-Disclosure Agreement ("Agreement") is entered into as of [DATE], by and between
[DISCLOSING_PARTY] ("Disclosing Party") and [RECEIVING_PARTY] ("Receiving Party").

[IF: AGREEMENT_TYPE = MUTUAL]
WHEREAS, the parties desire to exchange confidential information and wish to protect the
confidentiality of such information;
[ELSE]
WHEREAS, the Disclosing Party may disclose confidential information to the Receiving Party
for the purpose of [PERMITTED_USES], and the Disclosing Party desires to protect the
confidentiality of such information;
[ENDIF]

[BEGIN SECTION 1: DEFINITIONS]
"Confidential Information" means all information disclosed by [DISCLOSING_PARTY] to
[RECEIVING_PARTY] in any form...

[IF: INCLUDE_LEGAL_EXCEPTION = TRUE]
Confidential Information does not include information that is independently developed
without reference to the Confidential Information, or information disclosed with the
consent of the Disclosing Party, provided that legal advice received from counsel shall
not be deemed Confidential Information when necessary to assert legal rights.
[ELSE]
Confidential Information does not include information that is independently developed
without reference to the Confidential Information, or information disclosed with the
consent of the Disclosing Party.
[ENDIF]

[BEGIN SECTION 2: OBLIGATIONS]

[IF: AGREEMENT_TYPE = MUTUAL]
Each party agrees to:
(a) Maintain the confidentiality of Confidential Information received from the other party;
(b) Use Confidential Information solely for the purposes of [PERMITTED_USES];
(c) Protect Confidential Information using the same standard of care used to protect its
    own confidential information, but in no case less than reasonable care;
(d) Limit disclosure to employees, contractors, and advisors who have a legitimate need
    to know and who are bound by written confidentiality obligations.

[ELSE]

The Receiving Party agrees to:
(a) Maintain the confidentiality of Confidential Information disclosed by the
    Disclosing Party;
(b) Use Confidential Information solely for the purposes of [PERMITTED_USES];
(c) Protect Confidential Information using the same standard of care used to protect
    its own confidential information, but in no case less than reasonable care;
(d) Limit disclosure to employees, contractors, and advisors who have a legitimate need
    to know and who are bound by written confidentiality obligations.

[ENDIF]

[BEGIN SECTION 3: RETURN OF INFORMATION]
[IF: RETURN_METHOD = DESTRUCTION]
Upon request by the Disclosing Party, or upon termination of this Agreement, the
Receiving Party shall promptly return or certify destruction of all Confidential
Information.
[ELSE IF: RETURN_METHOD = RETURN]
Upon request by the Disclosing Party, or upon termination of this Agreement, the
Receiving Party shall promptly return all Confidential Information.
[ELSE IF: RETURN_METHOD = CERTIFICATION]
Upon request by the Disclosing Party, or upon termination of this Agreement, the
Receiving Party shall provide written certification of the return or destruction of
all Confidential Information.
[ENDIF]

[BEGIN SECTION 4: TERM]
This Agreement shall remain in effect for [TERM] from the date first written above,
unless earlier terminated by either party upon [30] days written notice.

## PLEASE GENERATE:
1. A complete, ready-to-execute [AGREEMENT_TYPE] NDA with all conditional sections
   properly populated
2. A summary table showing which clauses were included/excluded and why
3. Version control metadata (template version, assembly date, variable values used)

Exercise Deliverables

When Claude processes this prompt, it should generate:

Complete NDA document (3-4 pages)
Conditional logic execution table
Metadata for template version control
Customization checklist for user review

Part 3: Client Intake Questionnaire Automation

The Intake-to-Document Pipeline

STEP 1: CLIENT COMPLETES QUESTIONNAIRE

STEP 2: CLAUDE EXTRACTS AND VALIDATES DATA

STEP 3: CLAUDE GENERATES INTAKE MEMORANDUM

STEP 4: CLAUDE CREATES MATTER MANAGEMENT TEMPLATE

STEP 5: CLAUDE SUGGESTS INITIAL DOCUMENTS TO GENERATE

STEP 6: CLAUDE OPENS MATTER AND POPULATES CRM

Practical Exercise 2: Real Estate Transaction Intake Automation

Scenario: Your firm handles real estate transactions. You need to automate the intake process from questionnaire to generating 12 foundational documents.

Client Questionnaire Responses (paste directly into Claude):

REAL ESTATE TRANSACTION INTAKE QUESTIONNAIRE

TRANSACTION TYPE
[ ] Residential Purchase  [X] Commercial Purchase  [ ] Sale  [ ] Lease

PARTIES
Property Address: 1500 Oak Street, Suite 100, Austin, TX 78701
Buyer Legal Entity: TechCore Holdings LLC
Seller Legal Entity: Austin Properties Investments Inc.
Buyer's Counsel: Required? Yes
Seller's Counsel: Yes

PURCHASE DETAILS
Purchase Price: $2,500,000
Earnest Money Deposit: $250,000 (10%)
Financing: $1,875,000 (75% LTV)
Expected Closing Date: 90 days
Title Insurance Required: Yes - Owner's Policy and Lender's Policy

PROPERTY DETAILS
Property Type: Class A Office Building
Square Footage: 45,000 SF
Year Built: 2008
Number of Floors: 5
Occupancy: 92% (5 tenants, ranging 5-25 years in place)

ENVIRONMENTAL/DUE DILIGENCE
Phase I ESA Required: Yes
Phase II ESA: Conditional on Phase I findings
Surveys: Yes - Current survey required
Inspections: Structural, mechanical, HVAC, plumbing required

FINANCING
Lender: JPMorgan Chase Commercial Real Estate
Interest Rate: Fixed at 4.85%
Loan Term: 7 years
Amortization: 30 years
Prepayment: 1% penalty first 3 years, then free

SPECIAL CONDITIONS
Earnout/Seller Financing: No
Assignment Rights: Buyer may assign with lender approval (not to be unreasonably withheld)
Condition Precedent to Closing: None beyond standard inspections
Broker Involvement: Yes - Commercial real estate broker (4.5% commission)

RISK FACTORS
Tenant Turnover: Medium (one major tenant lease expires in 18 months)
Market Conditions: Buyer concerned about rising interest rates (hedge requested)
Environmental: No known environmental issues
Zoning: Confirm zoning permits office use through 2050

Prompt:

I have a client completing a commercial real estate purchase. Here is their intake questionnaire response:

[PASTE QUESTIONNAIRE ABOVE]

Please perform the following tasks:

## TASK 1: INTAKE MEMORANDUM
Generate a professional intake memorandum summarizing:
- Transaction overview
- Key parties and counsel
- Critical dates and deadlines
- Property description and condition
- Financing structure
- Special conditions and contingencies
- Preliminary legal issues identified
- Recommended next steps

## TASK 2: DUE DILIGENCE CHECKLIST
Create a comprehensive due diligence checklist with:
- Phase 1: Title and Records Review
- Phase 2: Property Inspections
- Phase 3: Financing Documentation
- Phase 4: Tenant and Lease Review
- Phase 5: Environmental and Regulatory
- Estimated completion timeline for each phase

## TASK 3: DOCUMENT GENERATION MANIFEST
List all documents that should be generated for this transaction:
1. Purchase and Sale Agreement (with proposed key terms)
2. Inspection Rider
3. Financing Condition Addendum
4. Title Commitment Review Memo
5. Environmental Due Diligence Scope Letter
6. Estoppel Certificate Demand Letter
7. Survey Requirements Memo
8. Preliminary Closing Checklist
9. Matter Timeline and Milestones
10. Parties and Counsel Information Sheet
11. Signatory Authority Verification Letter
12. Post-Closing Deliverables List

For each document, specify:
- Status (To Generate / On Hold / Pending Data)
- Key variables needed
- Estimated generation time
- Approval requirements before execution

## TASK 4: MATTER MANAGEMENT TEMPLATE
Create a matter management worksheet with:
- Matter name and number
- Parties and counsel contact information
- Key dates and deadlines
- Document repository structure
- Email distribution lists
- Escalation procedures for critical issues
- Weekly status reporting template

## TASK 5: RECOMMENDED DOCUMENT PRIORITY
Based on the transaction timeline (90-day closing), recommend:
- Documents to generate immediately (Week 1)
- Documents to generate after Phase 1 inspection results (Week 2-3)
- Documents to generate for final closing coordination (Week 6-8)
- Documents for post-closing follow-up

Exercise Output Expectations

Claude should produce:

Intake memorandum (2-3 pages)
Due diligence checklist (60+ items)
Document generation manifest with 12 documents
Matter management template
Phased timeline for document preparation

Part 4: Court Form Auto-Population

How Court Forms Differ from Transaction Documents

TRANSACTION DOCUMENTS          |  COURT FORMS
--------------------------------|-----------
Negotiated between parties     |  Prescribed by court rule
Custom language possible       |  Strict formatting required
Flexible structure             |  Fixed caption/structure
Multiple versions acceptable   |  Only approved versions accepted
Signature blocks vary          |  Signature lines in exact positions

Practical Exercise 3: Complaint Auto-Population from Case Data

Scenario: Your litigation team files 20-30 complaints per month. You need to auto-populate the standard complaint caption and basic allegations from case intake data.

Case Data (input):

LITIGATION CASE INTAKE DATA

CASE INFORMATION
Case Type: Employment Discrimination - Wrongful Termination
Plaintiff: Sandra Mitchell
Plaintiff Counsel: Your Law Firm
Defendant(s): TechCore Solutions Inc., James Henderson (CEO, personally)
Court: United States District Court for the Western District of Texas
Division: Austin

PLAINTIFF INFORMATION
Full Legal Name: Sandra Mitchell
Address: 2847 Barton Hills Drive, Austin, TX 78746
Occupation: Former Senior Software Engineer
Employment Period: March 15, 2019 - October 22, 2024

DEFENDANT INFORMATION
Defendant 1: TechCore Solutions Inc. (Corporate Defendant)
  - Principal Place of Business: 1200 Tech Parkway, Austin, TX 78701
  - State of Incorporation: Delaware
  - Type: C-Corporation
Defendant 2: James Henderson (Individual Defendant - CEO)
  - Title: Chief Executive Officer
  - Address: 3100 Westlake Hills Drive, Austin, TX 78746
  - Role: Involved in termination decision and discriminatory conduct

FACTUAL BASIS
Employment History: Plaintiff worked as Senior Software Engineer from March 2019 through
October 22, 2024. Performance reviews were consistently "Exceeds Expectations."

Discrimination: Based on race (African American) and gender (Female). Plaintiff received
different pay, different promotional opportunities, and different working conditions compared
to similarly situated white male engineers.

Adverse Action: Termination without cause on October 22, 2024. Defendant claimed "restructuring"
but plaintiff was not replaced; her work was reassigned.

Damages: Lost wages (24 months projection), emotional distress, punitive damages for reckless
conduct, attorney's fees, costs.

JURISDICTION & VENUE
Jurisdiction: Diversity jurisdiction (Defendant's principal place of business in Texas,
Plaintiff citizen of Texas)
Amount in Controversy: Exceeds $75,000
Venue: Western District of Texas (defendants reside in or have principal place of business
in this district)

STATUTE OF LIMITATIONS
Filing Deadline: October 22, 2025 (one year from termination under state law;
federal Title VII = 300 days from administrative filing)
EEOC Complaint Filed: February 14, 2025 (Right to Sue Letter obtained)
Demand Letter Sent: August 1, 2024

CLAIMS TO INCLUDE
1. Title VII of the Civil Rights Act of 1964 - Discrimination Based on Race and Gender
2. Title VII of the Civil Rights Act of 1964 - Retaliation
3. 42 U.S.C. § 1981 - Racial Discrimination in Contracts
4. Negligent Infliction of Emotional Distress (State Law)
5. Tortious Interference with Employment Relationship

Prompt:

I need to generate a federal district court complaint for employment discrimination. Here is
the case intake data:

[PASTE CASE DATA ABOVE]

Please generate the following:

## TASK 1: COURT FORM COMPLIANCE
Create a compliant Federal Rules of Civil Procedure complaint with:

### CAPTION (Rule 10 Compliant)
- Proper court identification (U.S. District Court, correct division)
- Correct party names and designations
- Case number placeholder [CASE NO. ___]
- Judge assignment placeholder [ASSIGNED TO: ___]

### NUMBERED ALLEGATIONS
- Allegations organized in numbered paragraphs (1, 2, 3... not bullets)
- Jurisdiction paragraph (28 U.S.C. § 1331, 28 U.S.C. § 1332)
- Venue paragraph (28 U.S.C. § 1391)
- Fact allegations organized by claim

### CLAIM-BY-CLAIM STRUCTURE
For each claim listed above:
- Separate "Count" heading
- Elements of claim identified
- Allegations specifically referenced to factual paragraphs
- Prayer for relief for each count

### PRAYER FOR RELIEF
- Specific damages (back pay, front pay, emotional distress)
- Equitable relief (injunctive relief if applicable)
- Punitive damages with basis
- Attorney's fees and costs with statutory reference
- Further relief as the Court deems just and proper

## TASK 2: JURISDICTION AND VENUE ANALYSIS
Confirm that this complaint meets:
- Subject matter jurisdiction (federal question or diversity)
- Personal jurisdiction (service process requirements for each defendant)
- Venue (proper district per statute)
- Statute of limitations (EEOC filing, statute of limitations clock)

Provide recommended service of process strategy for each defendant.

## TASK 3: FILING CHECKLIST
Generate a pre-filing checklist including:
- Complaint review (fact verification, legal accuracy)
- Certificate of Service requirements
- ECF filing procedures for Western District of Texas
- Proposed case management order (if required by local rule)
- Initial disclosures deadline (26 days after service for federal rule)
- Affidavit of attorney regarding good faith conference (if required)
- Cover sheet requirements (JS-044 or local equivalent)
- Filing fee requirements and payment method
- Copy requirements for judge and defendants' counsel

## TASK 4: RESPONSIVE PLEADING PREDICTION
Based on the facts, predict likely defendant responses:
- Likely motion to dismiss arguments (Rule 12(b)(6) - failure to state claim)
- Likely factual challenges/affirmative defenses
- Expected discovery disputes
- Recommended responses to anticipated motions

## TASK 5: CAPTION VARIANTS
Generate three caption variations for:
1. Initial filing (with [CASE NO. _____] placeholder)
2. First amended complaint (if needed after discovery)
3. Class action certification (if applicable - describe criteria for certification)

Exercise Output Expectations

Fully populated, court-ready complaint (8-12 pages)
Jurisdiction/venue analysis memo
Pre-filing checklist (50+ items)
Responsive pleading prediction memo
Caption variants for different documents

Part 5: Template Management & Clause Library

Template Versioning Best Practices

TEMPLATE LIBRARY STRUCTURE

templates/
├── master-templates/
│   ├── nda-mutual-v2.5 (current)
│   ├── nda-unilateral-v2.3
│   └── purchase-agreement-v1.8
├── archive/
│   ├── nda-mutual-v2.4 (deprecated)
│   └── nda-mutual-v2.3 (legacy)
├── clause-library/
│   ├── confidentiality/
│   │   ├── mutual-confidentiality-v1.2
│   │   ├── unilateral-confidentiality-v1.1
│   │   └── regulatory-confidentiality-v1.0
│   ├── indemnification/
│   │   ├── standard-indemnification-v2.1
│   │   ├── ip-indemnification-v1.5
│   │   └── environmental-indemnification-v1.0
│   └── termination/
│       ├── for-cause-termination-v1.2
│       ├── convenience-termination-v1.1
│       └── bankruptcy-termination-v1.0
└── precedents/
    ├── [Company Name]-master-services-agreement-v3
    ├── [Client Name]-stock-purchase-agreement-v2
    └── [Matter]-settlement-agreement-v1

Practical Exercise 4: Building a Confidentiality Clause Library with Version Control

Prompt:

I need to build a clause library for confidentiality/NDA provisions with version control.
Please create a comprehensive clause library with:

## TASK 1: CLAUSE INVENTORY WITH METADATA
Create a structured library with the following clauses, each with metadata:

FOR EACH CLAUSE PROVIDE:
- Clause ID (confidentiality-v1.2)
- Title
- Applicable Contexts (mutual NDA, employee NDA, vendor NDA, etc.)
- Risk Level (GREEN = favorable to drafter, YELLOW = balanced, RED = unfavorable)
- Key Variables: [LIST ALL PLACEHOLDERS]
- Word Count
- Precedent Source (e.g., "TechCore NDA v3, executed 2024")
- Approval Status (Draft / Legal Team Approved / Partner Approved)
- Last Updated Date
- Change Log (summary of recent edits with dates)

## CLAUSES TO INCLUDE:

1. DEFINITION OF CONFIDENTIAL INFORMATION
   - Standard definition (technology, business info, trade secrets)
   - Exclusions from confidentiality (public knowledge, independent development, etc.)
   - Variation: Heightened definition for IP/trade secret matters
   - Variation: Narrow definition for regulatory compliance scenarios

2. PERMITTED USES
   - Technology evaluation (for vendor relationship)
   - Contract negotiation
   - Employment evaluation
   - Due diligence
   - Investor evaluation
   - Regulatory compliance

3. STANDARD OF CARE
   - Reasonable care standard
   - Same standard as own confidential information
   - Specific security measures (encryption, access controls, etc.)
   - Variation: Healthcare/HIPAA-specific security requirements
   - Variation: Financial services SOC 2 Type II requirements

4. RETURN OR DESTRUCTION OF INFORMATION
   - Automatic destruction upon termination
   - Return to disclosing party
   - Certification of destruction
   - Variation: Legal hold requirement (preservation for litigation)
   - Variation: Regulatory requirement to maintain records

5. PERMITTED DISCLOSURES
   - Employees with need to know
   - Contractors and advisors
   - Required legal disclosures (court order, regulatory request)
   - Parent/subsidiary companies
   - Variation: No assignment to competitors
   - Variation: Permitted assignment with consent

6. TERM AND TERMINATION
   - Fixed term (e.g., 2 years, 5 years, perpetual for trade secrets)
   - Termination at will
   - Survival period after termination
   - Variation: Different survival for different types of information
   - Variation: Trade secret information survives indefinitely

7. REPRESENTATIONS AND WARRANTIES
   - Authority to disclose
   - Non-infringement of third-party rights
   - Ownership of information disclosed
   - Variation: No warranty clause (limited warranty)
   - Variation: Extended warranties including accuracy

8. REMEDIES
   - Equitable relief (injunctive relief without posting bond)
   - Attorney's fees provisions
   - No damages cap
   - Variation: Liquidated damages clause
   - Variation: Limitations on remedies for material breaches

## TASK 2: MATRIX COMPARISON
Create a comparison matrix showing:

| Clause Type | Standard Version | Tech/IP Version | Healthcare Version | Variation 1 | Variation 2 |
|-------------|-----------------|-----------------|------------------|-----------|-----------|
| Definition | confidentiality-v1.2 | confidentiality-tech-v1.0 | confidentiality-hipaa-v1.1 | ... | ... |
| Risk (Standard) | YELLOW | GREEN | RED | ... | ... |
| Word Count | 180 | 220 | 310 | ... | ... |
| Recommended for | General agreements | IP-heavy deals | Healthcare entities | ... | ... |

## TASK 3: ASSEMBLY INSTRUCTIONS
For each clause, provide:
- Merge field requirements: [PARTY_NAME], [TERM_YEARS], etc.
- Conditional branches (if applicable):
  - IF [PARTY_TYPE] = "EMPLOYEE" THEN use employee-specific language
  - IF [INDUSTRY] = "HEALTHCARE" THEN require HIPAA riders
- Cross-references: Which other clauses work with this one?
- Incompatible clause combinations (e.g., can't have both "destruction" AND "return" requirements)

## TASK 4: VERSION CONTROL DOCUMENTATION
For the last 5 versions of the most-used clause, show:
- Version number, date, and editor
- Summary of changes from prior version
- Reason for change (market trend, client feedback, legal risk)
- Example:
  * v1.2 (Feb 2025) - Changed "reasonable care" to specific SOC 2 Type II requirement per market trend
  * v1.1 (Oct 2024) - Added permitted assignment language after client negotiation
  * v1.0 (Jan 2024) - Original clause

## TASK 5: QUARTERLY CLAUSE REVIEW
Create a template for quarterly review of clause library to:
- Identify underused clauses (consider deprecation)
- Identify frequently-negotiated clauses (mark for revision)
- Identify clauses with litigation history (revise for clarity)
- Identify gaps in clause coverage (develop new clauses)
- Update precedent source information (executed agreements)

Exercise Output Expectations

Structured clause library (100+ items)
Metadata for each clause with version history
Risk-level matrix showing variations
Assembly instructions with merge fields
Change log with rationale for updates
Quarterly review template for continuous improvement

Part 6: Letter and Notice Generation at Scale

Practical Exercise 5: Automated Demand Letter Generation

Scenario: Your firm practices collections and needs to generate demand letters in batches—each customized to the specific claim, statute of limitations, and creditor preferences.

Data Template for Batch Processing:

DEMAND LETTER BATCH DATA

LETTER 1:
Creditor: TechCore Solutions Inc.
Debtor: ABC Manufacturing LLC
Claim Type: Unpaid Invoice for Services Rendered
Invoice Number: INV-2024-08301
Invoice Date: August 30, 2024
Amount Due: $145,000
Services Description: Software development and implementation, 6-month project
Statute of Limitations: 4 years (general contract - state law)
Deadline for Payment: 14 days
Escalation Actions: If unpaid, will file suit seeking judgment plus prejudgment interest
Creditor Preference: Professional but firm tone, reference specific invoice

LETTER 2:
Creditor: Phoenix Capital Advisors
Debtor: Zenith Energy Partners LP
Claim Type: Breach of Loan Agreement - Failure to Maintain Debt Service Coverage Ratio
Loan Agreement Date: January 15, 2024
Default Date: December 31, 2024
Required DSCR: 1.25x
Actual DSCR: 1.08x
Amount Due: $500,000 (accelerated principal)
Statute of Limitations: 5 years (UCC - promissory note)
Deadline for Cure: 10 days
Escalation Actions: If not cured, will declare event of default and commence foreclosure
Creditor Preference: Formal, technical language, reference loan agreement sections

LETTER 3:
Creditor: BuildRight Construction
Debtor: Henderson Properties LLC
Claim Type: Mechanics Lien - Unpaid for Material and Labor
Project Address: 1500 Oak Street, Austin, TX 78701
Project Owner: TechCore Solutions Inc.
Work Performed: HVAC installation and repair (January - March 2025)
Amount Due: $87,500
Statute of Limitations: 2 years (mechanics lien - specific lien deadline may apply)
Deadline for Payment: 21 days
Escalation Actions: Will record mechanics lien and commence foreclosure on property
Creditor Preference: Reference specific work items, include photos/documentation of work
Special Requirements: Must comply with state mechanics lien statute (notice requirements,
timing for lien perfection)

Prompt:

I need to generate three demand letters from different creditors to different debtors.
Each letter must be customized to the specific claim type, statute of limitations, and
creditor preferences. Here is the batch data:

[PASTE DATA ABOVE]

## REQUIREMENTS FOR EACH LETTER:

### LETTER FORMAT
- Letterhead: [CREDITOR_LAW_FIRM_NAME] (or creditor's business if pro se)
- Date: Today's date
- Recipient: [DEBTOR] address
- Professional business letter format (not legal document format)

### LETTER CONTENT - SHOULD INCLUDE:
1. OPENING: State purpose clearly and concisely (demands payment of $X for reason Y)

2. FACTUAL BACKGROUND:
   - When the obligation arose (contract date, invoice date, when work performed)
   - What services/goods were provided (be specific, reference invoice numbers, project details)
   - When payment was due
   - Status of payment attempts (if applicable)

3. LEGAL BASIS:
   - Cite the specific contract, statute, or legal obligation
   - Reference specific sections of agreements if applicable
   - Explain why debtor is legally obligated to pay

4. DEMAND FOR PAYMENT:
   - Specific dollar amount
   - Payment method and details (wire transfer account, check payable to, etc.) - [REDACTED FOR SECURITY]
   - Payment deadline (specific date, e.g., "by January 31, 2025")

5. CONSEQUENCES OF NONPAYMENT:
   - Describe escalation actions in detail
   - Reference statute of limitations (confirm time remaining for creditor to sue)
   - Explain impact on debtor (lien, judgment, foreclosure, wage garnishment, etc.)
   - Warn about attorney's fees, interest, court costs if applicable

6. CALL TO ACTION:
   - What debtor should do (contact creditor's attorney, remit payment, cure default, etc.)
   - By when
   - Contact information for debtor's response

7. TONE CALIBRATION:
   - Letter 1 (Invoice): Professional but firm
   - Letter 2 (Loan Default): Formal, technical, precise
   - Letter 3 (Mechanics Lien): Professional, firm, include reference to lien rights

### ADDITIONAL REQUIREMENTS FOR LETTER 3 (MECHANICS LIEN):

Include statement of lien rights warning, such as:

"[Debtor] should be aware that [Creditor] has the right to file a mechanics' lien
against the property at [Project Address], which will cloud the title and prevent
refinancing or sale of the property. Under [State] law, mechanics' liens remain in
effect for [X years] and can result in foreclosure of the property."

## DELIVERABLES:

For each of the three letters, provide:
1. Fully formatted, ready-to-mail demand letter
2. Statute of limitations analysis (calculation of time remaining for creditor to sue)
3. Service requirements (how should letter be served - certified mail, email, personal service, etc.)
4. Follow-up procedure (if debtor doesn't respond within deadline, what's next?)
5. Negotiation notes (if debtor contacts to discuss payment plan, what flexibility does creditor have?)

## BATCH METADATA:

For the batch as a whole, provide:
- Summary table showing all 3 letters with key variables
- Estimated cost to send batch (if outsourced to mail service)
- Timeline for follow-up actions (30 days, 60 days, 90 days)
- Case management system information (where to file correspondence, set calendar alerts, etc.)

Exercise Output Expectations

Three fully customized demand letters (1-2 pages each)
Statute of limitations analysis for each claim
Service and follow-up procedures
Negotiation guidance for each creditor
Batch metadata and timeline

Part 7: Multi-Document Assembly for Transactions

The Transaction Document Set Assembly Process

TRANSACTION: Real Estate Purchase

DOCUMENT SET INCLUDES:
├── Core Transaction Documents
│   ├── Purchase and Sale Agreement (base template with variables)
│   ├── Earnest Money Agreement (conditional on financing)
│   ├── Title Commitment Review Memo (output from title company input)
│   └── Survey Exhibit (reference document)

├── Financing Documents (if applicable)
│   ├── Financing Condition Addendum
│   ├── Lender Requirements Memo
│   └── Loan Commitment Comparison

├── Inspection/Due Diligence Documents
│   ├── Inspection Rider with Conditions
│   ├── Environmental Due Diligence Scope
│   ├── Environmental Phase I ESA Review Memo
│   └── Tenant Estoppel Certificate Demands (quantity = # of tenants)

├── Closing/Operations Documents
│   ├── Closing Checklist
│   ├── Closing Binder Table of Contents
│   ├── Title Insurance Commitment Analysis
│   ├── Title Insurance Policy (post-closing)
│   ├── Deed (customized to state/county requirements)
│   ├── Closing Statement (ALTA 5.0 or HUD-1)
│   └── Preliminary Closing Calculations

└── Post-Closing Documents
    ├── Certificate of Title Opinion
    ├── Mechanics Lien Waiver (if applicable)
    ├── Landlord Estoppel Certificate
    └── Notice of Transfer/Assignment (if applicable)

Practical Exercise 6: Closing Binder Assembly with Cross-References

Scenario: Your firm is closing a $2.5M commercial real estate purchase. You need to generate a complete closing binder with 50+ documents, all properly organized, cross-referenced, and with completion status tracking.

Prompt:

I need to generate a complete closing binder for a commercial real estate purchase with the following parameters:

TRANSACTION PARAMETERS:
- Transaction Type: Commercial Real Estate Purchase
- Property: 1500 Oak Street, Suite 100, Austin, TX 78701
- Buyer: TechCore Holdings LLC (Delaware corporation)
- Seller: Austin Properties Investments Inc. (Delaware corporation)
- Purchase Price: $2,500,000
- Earnest Money: $250,000 (deposited with escrow agent)
- Financing: $1,875,000 (75% LTV) from JPMorgan Chase Commercial Real Estate
- Scheduled Closing Date: [CLOSING_DATE]
- Closing Location: Title Company Offices, Austin, Texas

DOCUMENT STATUS (simulated data):
- Purchase Agreement: EXECUTED (February 3, 2025)
- Inspection Rider: EXECUTED (February 10, 2025)
- Financing Commitment: RECEIVED (February 15, 2025)
- Title Commitment: RECEIVED (February 17, 2025)
- Survey: IN PROGRESS (expected February 28, 2025)
- Environmental Phase I: RECEIVED (February 20, 2025)
- Tenant Estoppels: 4 of 5 RECEIVED (one pending)
- Appraisal: RECEIVED (February 19, 2025)

CLOSING TEAM:
- Closing Attorney: [YOUR LAW FIRM]
- Buyer's Tax Advisor: [Company Name]
- Lender's Counsel: [Lender's Law Firm]
- Title Company: [Title Company Name]
- Real Estate Broker: [Broker Name] (4.5% commission split)

## TASK 1: CLOSING BINDER TABLE OF CONTENTS

Generate a professionally organized table of contents with:

SECTIONS (in order):
1. TRANSACTION SUMMARY
   - Transaction overview (1-page executive summary)
   - Key parties and contact information
   - Important dates and deadlines
   - Financial summary (purchase price, earnest money, financing, buyer's cash contribution, seller net proceeds)

2. EXECUTED TRANSACTION DOCUMENTS
   - Purchase and Sale Agreement (with all exhibits and riders)
   - Earnest Money Agreement
   - [Other transaction documents in order executed]

3. TITLE AND SURVEY
   - Original Title Commitment (Schedule A, Schedule B items, Schedule C exceptions)
   - Title Commitment Analysis Memo (attorney analysis of exceptions)
   - Preliminary Title Opinion (if issued)
   - Final Title Report
   - Survey of Property (marked to show easements, encroachments)
   - Survey Analysis Memo (attorney analysis of survey exceptions)

4. FINANCING DOCUMENTS
   - Loan Commitment Letter
   - Loan Commitment Analysis Memo (attorney review of conditions)
   - Appraisal Report Summary
   - Environmental Assessment (Phase I ESA)
   - Environmental Assessment Analysis
   - [Lender's requested documents: title insurance requirements, survey requirements, etc.]

5. PROPERTY CONDITION AND DUE DILIGENCE
   - Inspection Rider
   - Phase I Environmental Site Assessment (Executive Summary)
   - Environmental Analysis Memo
   - Mechanical Inspection Report
   - Roof Inspection Report
   - Structural Analysis Report
   - Property Condition Assessment Summary
   - Compliance Review (ADA, fire code, building codes)

6. TENANT AND LEASE INFORMATION
   - Rent Roll (current tenants, lease terms, rental amounts)
   - Tenant Estoppel Certificates (4 of 5 received, one pending)
   - Lease Abstracts (summary of key lease terms)
   - Landlord Estoppel Certificate (seller's certification of lease compliance)
   - Notice of Change in Ownership (to be delivered to tenants post-closing)

7. INSURANCE
   - Title Insurance Commitment (marked to show coverage)
   - Title Insurance Requirements Checklist
   - Preliminary Title Insurance Commitment Analysis
   - Final Owner's Title Insurance Policy (template for closing)
   - Final Lender's Title Insurance Policy (template for closing)

8. FINANCIAL DOCUMENTS
   - Preliminary Closing Statement (ALTA 5.0 format)
   - Closing Statement Analysis Memo (line-by-line analysis of credits, debits)
   - Proration Calculations (property taxes, rents, HOA fees, utilities, etc.)
   - 1031 Exchange Documentation (if applicable)
   - Tax Documentation (FIRPTA declaration, basis step-up calculations)

9. CLOSING DELIVERABLES - BUYER'S SIDE
   - Closing Checklist - Buyer's Obligations
   - Proof of Funds Letter
   - Title Insurance Order Form
   - Insurance Binder (fire/casualty/liability)
   - Borrower's Affidavit (for title insurance)
   - Final Walkthrough Inspection Checklist
   - Affidavit of Buyer's Counsel (regarding documents and title)

10. CLOSING DELIVERABLES - SELLER'S SIDE
    - Closing Checklist - Seller's Obligations
    - Deed (prepared in final form, ready to execute)
    - Affidavit of Title
    - Estoppel Certificate (seller's certification of lease compliance)
    - Non-Foreign Investment in Real Property Tax Act (FIRPTA) Affidavit
    - Affidavit of Seller's Counsel

11. CLOSING DELIVERABLES - LENDER'S SIDE
    - Lender's Closing Checklist
    - Loan Documents (promissory note, deed of trust, etc.)
    - Lender's Title Insurance Requirement Affidavit
    - Survey Certification
    - Environmental Lien Search Results
    - FIRPTA Declaration (Lender's requirement)

12. POST-CLOSING DELIVERABLES
    - Title Insurance Policies (final owner's and lender's policies)
    - Recorded Deed
    - Recorded Deed of Trust (if financed)
    - Recorded Mechanics Lien Waivers (if any liens filed)
    - Notice of Assignment/Transfer (if applicable)
    - Landlord Notice of Ownership Change
    - Certificate of Title (from title company)

13. CROSS-REFERENCE AND TRACKING
    - Parties and Counsel Contact Information (with phone, email, mailing address)
    - Important Dates Timeline
    - Closing Preparation Checklist (50+ items)
    - Document Status Tracking (which documents completed, which pending, who responsible for each)
    - Issues and Exceptions Log (title exceptions, survey exceptions, inspection issues, remedies)

## TASK 2: DOCUMENT STATUS TRACKING MATRIX

Create a comprehensive matrix showing:

| Document | Status | Issue Flag | Owner | Due Date | Notes |
|----------|--------|-----------|-------|----------|-------|
| Purchase Agreement | EXECUTED | - | Buyer's Counsel | Executed | All riders executed |
| Survey | IN PROGRESS | No | Title Company | 2/28/2025 | Easement on west property line noted |
| Tenant Estoppel - Unit 2 | PENDING | YES | Buyer's Counsel | 2/25/2025 | Tenant 2 slow to respond; follow up required |
| [Additional 40+ documents] | ... | ... | ... | ... | ... |

## TASK 3: ISSUES AND EXCEPTIONS LOG

For each open issue, provide:

| Issue Type | Description | Identified In | Severity | Recommended Resolution | Assigned To | Status |
|-----------|-------------|---------------|----------|----------------------|------------|--------|
| Title Exception | Easement for utility lines (utility district) | Schedule B | LOW | Standard utility easement; no action required | Title Attorney | CLOSED |
| Survey Discrepancy | Encroachment on west boundary (6 inches) | Survey Report | MEDIUM | Verify with neighbor; may need easement agreement | Buyer's Counsel | OPEN |
| Tenant Estoppel | Unit 2 estoppel not yet received | Closing Prep | MEDIUM | Follow up with tenant and broker by 2/25/2025 | Broker | OPEN |
| Lease Compliance | One tenant lease expires 18 months post-closing | Lease Review | MEDIUM | Negotiate renewal; track in matter management | Buyer's Counsel | OPEN |
| Financing | Appraisal came in at $2,450,000 (property worth $2,500,000) | Appraisal | HIGH | Lender will accept 98% LTV; buyer may need additional cash | Buyer | OPEN |

## TASK 4: CLOSING PREPARATION TIMELINE

Create a detailed timeline with specific tasks:

WEEK 1 BEFORE CLOSING (by 2/24/2025):
- [ ] Confirm all estoppel certificates received (4 tenants)
- [ ] Resolve survey encroachment issue with neighbor
- [ ] Confirm appraisal with lender
- [ ] Prepare preliminary closing statement
- [ ] Confirm borrower's final walkthrough inspection date
- [ ] Coordinate with title company on title insurance policies
- [ ] Confirm all lender requirements received
- [ ] Prepare deed in final executed form
- [ ] Prepare FIRPTA and other closing affidavits

DAY OF CLOSING (2/28/2025):
- [ ] Final walkthrough by buyer (verify property condition, verify lease compliance)
- [ ] Final closing statement review and approval by all parties
- [ ] Execution of deed by seller
- [ ] Execution of promissory note and deed of trust by buyer
- [ ] Execution of title insurance applications by all parties
- [ ] Verification of funds transfer (buyer's cash contribution)
- [ ] Verification of loan advance (lender's funds)
- [ ] Verification of earnest money application to purchase price
- [ ] Delivery of policies and documents to each party

POST-CLOSING (within 5 days):
- [ ] Recording of deed
- [ ] Recording of deed of trust
- [ ] Receipt of title insurance policies from title company
- [ ] Delivery of title insurance policies to buyer and lender
- [ ] Notice of change in ownership to all tenants
- [ ] Final accounting and fund dispersal
- [ ] Archival of closing documents

## TASK 5: CLOSING CHECKLIST FOR ALL PARTIES

Create three separate detailed checklists:

### BUYER'S CLOSING CHECKLIST
- [ ] Review preliminary closing statement in detail (within 3 business days of closing)
- [ ] Confirm purchase price, earnest money credit, financing amount, buyer's cash contribution
- [ ] Confirm prorations (property taxes, rents, utilities, HOA fees, etc.)
- [ ] Review title insurance commitment for exceptions
- [ ] Confirm survey with property boundaries and easements
- [ ] Confirm all estoppel certificates received and reviewed
- [ ] Confirm tenant rents and lease terms in rent roll
- [ ] Conduct final walkthrough (within 24 hours of closing)
- [ ] Verify utilities in buyer's name (arrange transfer)
- [ ] Confirm insurance binder in place (fire, casualty, liability)
- [ ] Prepare cashier's check or wire instructions for closing
- [ ] Execute deed from seller
- [ ] Execute promissory note
- [ ] Execute deed of trust
- [ ] Execute title insurance application
- [ ] Execute FIRPTA affidavit
- [ ] Execute any estoppel certificates required by lender
- [ ] Receive title insurance policies
- [ ] Receive recorded deed
- [ ] Arrange for transfer of property management systems

### SELLER'S CLOSING CHECKLIST
- [ ] Execute deed in proper form
- [ ] Execute affidavit of title
- [ ] Execute FIRPTA affidavit
- [ ] Obtain estoppel certificates from tenants
- [ ] Execute estoppel certificate certifying lease compliance
- [ ] Prepare final rent roll for buyer
- [ ] Provide tenant contact information to buyer
- [ ] Provide lease file copies to buyer
- [ ] Verify all liens satisfied or assumed
- [ ] Prepare final accounting (prorations, rents, deposits, etc.)
- [ ] Coordinate recording of deed
- [ ] Arrange for property insurance cancellation (post-closing)
- [ ] Arrange for utilities transfer to buyer (post-closing)

### LENDER'S CLOSING CHECKLIST
- [ ] Receive appraisal (property valued at $2,450,000+)
- [ ] Receive title commitment and approve exceptions
- [ ] Receive final survey and approve
- [ ] Receive Phase I ESA and approve
- [ ] Receive final closing statement and approve
- [ ] Receive borrower's financial documentation
- [ ] Disburse loan funds upon execution of note and deed of trust
- [ ] Receive title insurance policy naming lender as mortgagee
- [ ] Confirm no liens on property post-closing

## DELIVERABLES:

1. Complete Closing Binder Table of Contents (with document descriptions)
2. Document Status Tracking Matrix (50+ documents with status)
3. Issues and Exceptions Log with resolution strategy
4. Closing Preparation Timeline (week-by-week through post-closing)
5. Detailed Checklists for Buyer, Seller, and Lender
6. Preliminary Closing Statement (ALTA 5.0 format)
7. Parties and Counsel Contact Information (with phone/email)
8. Critical Dates and Deadlines Summary

Exercise Output Expectations

Comprehensive closing binder (TOC + 50+ documents referenced)
Document status tracking with 50+ items
Issues and exceptions log with resolutions
Multi-phase closing timeline
Detailed checklists for all parties
Preliminary closing statement
Contact information and critical dates summary

Summary: Document Assembly Workflow Comparison

WorkflowClio DraftGavelLawmaticsClaude
NDA with Conditional LogicBasicGoodBasicAdvanced
Intake to Document PipelineBasicLimitedStrongStrong
Court Form Auto-PopulationLimitedGoodLimitedAdvanced
Template Library ManagementYesYesYesStrong (with structure)
Batch Demand LettersLimitedBasicBasicAdvanced
Multi-Document Closing BinderLimitedLimitedLimitedAdvanced
Setup ComplexityModerateModerateModerateLow
Customization FlexibilityLimitedModerateModerateUnlimited
AI-Driven AdaptationNoNoNoYes

Key Takeaways

  1. Document assembly with conditional logic enables single templates to generate dozens of document variants—saving time while maintaining consistency.

  2. Intake automation transforms paper questionnaires into actionable data, automatically generating documents and tracking cascading obligations.

  3. Court form auto-population reduces filing errors and accelerates litigation by auto-filling captions, party information, and jurisdiction data.

  4. Template and clause management requires systematic versioning, metadata, and change tracking to ensure the latest approved language is always used.

  5. Batch processing (demand letters, closing binders, notices) multiplies Claude's value—generating dozens of customized documents in seconds.

  6. Multi-document workflows coordinate complex transactions by tracking dependencies, cross-references, and completion status across 50+ documents.

  7. Claude's advantages over Clio Draft, Gavel, and Lawmatics include superior conditional logic, AI-driven customization, and unlimited flexibility without platform lock-in.

Your firm is now equipped to automate document assembly at scale—from simple intake forms to complex transaction closings.