> ## 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.

# Intro To Document Automation

> Learn how Gavel Workflows combine a questionnaire with document templates to automate legal document generation without writing code.

Gavel is a no-code document automation platform built for legal professionals. A **workflow** is the core building block: it pairs a questionnaire — a series of questions you define — with one or more output document templates. When someone fills out the questionnaire, Gavel uses their answers to generate a fully populated document in seconds. No find-and-replace, no copy-paste. Accurate, automated documents are generated every time.

## How a workflow is structured

Every Gavel workflow has two sides that work together.

<CardGroup cols={2}>
  <Card title="The questionnaire" icon="clipboard-question">
    A step-by-step web form you build in Gavel's workflow editor directly in the browser. Each question has a unique variable name. The person filling out the workflow — you, a colleague, or a client — answers the questions on screen.
  </Card>

  <Card title="Output documents" icon="file-text">
    One or more Word (.docx) or PDF templates you connect to the workflow. You tag each template with variable names that match your questions. When the questionnaire is submitted, Gavel merges the answers into the templates automatically.
  </Card>
</CardGroup>

## The two-step build process

Building a workflow follows a consistent two-step pattern regardless of complexity.

<Steps>
  <Step title="Set up the questionnaire">
    Add questions that capture all the data your documents need. Each question type — text, date, yes/no, single select, and more — maps to a unique variable name. You can organize questions across multiple pages and sections, add conditional logic to show or hide questions based on prior answers, and include instructional blocks or kickout pages for decision-making flows.
  </Step>

  <Step title="Connect your output documents">
    Upload your Word or PDF templates and tag them with the variable names from your questionnaire. For Word documents, you insert variable tags directly in the document using Gavel's Word Add-in. For fillable PDFs, you map fields in Gavel's PDF Tagger. You can add conditional clauses, calculations, and repeating-item loops to control exactly how the answers appear in the finished document.
  </Step>
</Steps>

<Note>
  You can connect multiple output documents to a single workflow. For example, a contract workflow might generate a main agreement, an exhibit, and a signature document all from one questionnaire.
</Note>

## Common use cases

Gavel workflows are flexible enough to serve very different purposes depending on how you configure sharing and access.

| Use case                       | Description                                                                                                                             |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| **Internal drafting**          | You and your team fill out the questionnaire to generate documents without sending anything to a client.                                |
| **Client intake (multi-user)** | A client fills out the questionnaire to provide their information; you review the data and generate documents in-house.                 |
| **Client-facing portal**       | Clients access and complete the workflow directly, receiving generated documents immediately on the output page.                        |
| **Decision trees**             | Logic-driven workflows that guide users to a decision or recommendation rather than (or in addition to) producing documents.            |
| **Paid workflows**             | Add a Stripe payment gate (before starting the questionnaire or before generating documents) to monetize your automated legal products. |

## What you can build

Legal professionals use Gavel for a wide range of document types: estate planning documents, business formation packages, lease agreements, demand letters, client intake forms, compliance checklists, and more. Because Gavel works with standard Word and PDF templates, any document you currently draft manually can become an automated workflow.

<CardGroup cols={2}>
  <Card title="Quickstart guide" icon="rocket" href="/workflows/quickstart">
    Build and test your first workflow step by step.
  </Card>

  <Card title="What can you build?" icon="lightbulb" href="/workflows/what-can-you-build">
    Explore use cases and examples across practice areas.
  </Card>
</CardGroup>
