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

# Generate AI-Drafted Specification Sections

> Review identified CSI divisions, add project information, and generate editable specification sections using the AI drafting engine — then export as DOCX.

The Specification Drafting workflow uses the divisions identified during a drawing or specification analysis and generates detailed, project-specific specification sections for each selected CSI division. Instead of starting from a blank template, you arrive at this page with a pre-populated division list that reflects what is actually in your project, then provide project details and let the AI produce a first draft of each section.

<Note>
  This page requires pre-populated data from either the **Specification Match** workflow or the **A700 Upload** workflow. Navigating here directly without completing one of those steps first will redirect you to the home page. Session data expires after five minutes, so complete the previous step and proceed promptly.
</Note>

## Step 1: Review the division selection

When you arrive at the Specification Drafting page, the division table is already populated with the CSI divisions identified in your analysis. Each row represents a division group and the specific sections within it.

Review the selections and make any adjustments:

* **Check or uncheck divisions** to include or exclude them from the draft
* **Expand a division group** to see and toggle individual sections
* The division count at the top of the table reflects your current selection

<Tip>
  If your project uses a non-standard scope, deselect divisions that do not apply before generating the draft. This avoids producing placeholder sections for work that is not part of the contract.
</Tip>

## Step 2: Add project information

The **Project Information** panel appears above the division table. Fill in the following fields before generating sections:

| Field               | Purpose                                                |
| ------------------- | ------------------------------------------------------ |
| **Project Name**    | Appears in the specification header and section titles |
| **Project Number**  | Used for document control references                   |
| **Tender Number**   | Links the specification to the tender package          |
| **Contract Number** | Links the specification to the executed contract       |

None of these fields are strictly required to generate a draft, but completed project information produces more usable output and avoids manual find-and-replace after export.

## Step 3: Generate draft sections

<Steps>
  <Step title="Confirm your division selection">
    Review the division table one final time. The number of selected divisions determines how long generation will take.
  </Step>

  <Step title="Click Generate">
    Click the **Generate** or **Continue to Draft** button at the bottom of the division table. The page transitions to the Section Drafting view.
  </Step>

  <Step title="Wait for the AI to draft each section">
    The AI drafting engine processes your selected divisions sequentially. Progress is shown per section. Completed sections become available to review as each one finishes — you do not need to wait for the entire set to complete.
  </Step>

  <Step title="Review and edit">
    Read through each generated section. The text is structured to follow standard specification formatting with Part 1 (General), Part 2 (Products), and Part 3 (Execution) where applicable. Edit directly in the section editor to refine wording, add project-specific requirements, or remove inapplicable clauses.
  </Step>
</Steps>

## Step 4: Export the specification

Once you have reviewed and edited all sections, export the completed specification:

<Tabs>
  <Tab title="Export as DOCX">
    Click **Export** and choose **DOCX**. The exported document includes all drafted sections formatted for use in a standard specification binder or contract package.
  </Tab>

  <Tab title="Export individual sections">
    Select specific sections from the list and export only those. This is useful when you need to issue an addendum or share a subset of sections with a subcontractor.
  </Tab>
</Tabs>

## Going back to edit

If you need to change your division selection or update project information after generation has started, click **Back to Edit** in the header. This returns you to the division table view. Your drafted sections are preserved, so switching back and regenerating only changed sections avoids re-running the full set.

<Warning>
  Changing project information after generating sections does not automatically update the content of already-drafted sections. Re-generate any sections that reference project-specific details if you update the Project Name, Number, Tender Number, or Contract Number.
</Warning>
