> ## Documentation Index
> Fetch the complete documentation index at: https://helpdocs.gavel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch Analysis: Generate a Comparative Table and Memo

> Turn a set of contracts into an interactive spreadsheet—extract terms, compare clauses, and spot inconsistencies across multiple files at once.

## Overview

Batch Analysis in Gavel Exec for Web transforms a set of contracts or documents into a structured, interactive spreadsheet. Each document becomes a column, and each specific term becomes a row, making it possible to extract key terms, compare clause language, and identify inconsistencies across large document sets in a single workflow.

Batch Analysis is built for high-volume legal work where reviewing contracts one at a time is not practical.

<Note>
  Batch Analysis is available in **Gavel Exec for Web**. It is not available in the Word add-in.
</Note>

***

## What It Does

Upload a set of contracts and Gavel Exec returns a structured table where:

* **Columns** represent individual documents
* **Rows** represent AI-generated extractions based on your prompts

From the spreadsheet view you can:

* Extract specific terms (payment amounts, notice periods, governing law, renewal provisions)
* Compare how a clause is handled across different agreements
* Flag inconsistencies in language or missing provisions
* Draft memoranda on major issues across the full document set

***

## How to Run a Batch Analysis

<Steps>
  <Step title="Upload your documents">
    In **Gavel Exec for Web**, open the Batch Analysis feature and upload the contracts you want to analyze.
  </Step>

  <Step title="Define your extraction fields">
    Click on "Auto-detect fields" to allow the AI to generate various fields you want to extract from the contracts. You can also add your own fields separated by a comma.

    Each field becomes a row in the output spreadsheet.
  </Step>

  <Step title="Run the analysis">
    Gavel Exec processes each document against every prompt. The hybrid search layer locates the relevant provisions—whether they use the same words, similar language, or structurally equivalent clauses.
  </Step>

  <Step title="Review the table">
    The results appear in a table. Click into the cell and open a sidebar that shows the source language in the original document.
  </Step>

  <Step title="Export CSV or draft a memo analysis of the findings">
    Export the table for use in due diligence reports or click "Draft Analysis" to generate a memorandum on major issues drawn from the full document set.

    You can also edit the Draft Analysis prompt to cover specific aspects of the Batch Analysis as needed.
  </Step>
</Steps>

***

## Common Use Cases

| Use Case                  | What You're Looking For                                                          |
| ------------------------- | -------------------------------------------------------------------------------- |
| Due diligence             | Key terms, reps and warranties, material conditions across a deal's document set |
| Lease portfolio review    | Rent escalations, expiration dates, renewal options, landlord obligations        |
| Vendor contract audits    | Liability caps, indemnification positions, data processing terms                 |
| Policy compliance reviews | Consistency of required provisions across a contract population                  |
| NDA triage                | Scope, carve-outs, survival periods, permitted disclosures                       |

***

## Generating a Memo from Batch Results

After running a Batch Analysis, Gavel Exec can draft a structured memorandum summarizing major issues across the document set. The memo can be adjusted to include basics or other specific language you would like it include, such as:

* References the source documents with citations
* Organizes findings by issue or clause type
* Flags the most significant deviations or risks across the population

This is particularly useful for delivering due diligence summaries, portfolio reviews, or compliance audits to clients or senior stakeholders.

***
