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

# Workflows

> Multi-step legal pipelines that take documents in and return finished work product, either from the built-in catalogue or built by you

A workflow takes a pile of documents and a handful of answers about your situation, runs a multi-step pipeline over them, and hands back finished work product: a DOCX memo, an XLSX log, a scored redline package, a draft motion.

Everything in between (retrieval, extraction, scoring, synthesis, citation verification, rendering) runs unattended. You launch it and come back to the artifacts.

<Card title="New here? Run one in ten minutes" icon="rocket" href="/docs/workflows/quickstart">
  A folder of NDAs to a finished review memo, start to finish.
</Card>

There are two ways to get one.

<CardGroup cols={2}>
  <Card title="Built-in workflows" icon="grid-2" href="/docs/workflows/built-in">
    25 pre-built pipelines maintained by Vaquill. Pick one, upload documents, answer a short form, launch. No configuration.
  </Card>

  <Card title="Workflow Builder" icon="wrench" href="/docs/workflows/builder">
    Chain 25 typed step types into your own pipeline, or describe it in plain English and let Vaquill draft the chain for you.
  </Card>
</CardGroup>

<Frame caption="The Workflows gallery: built-in catalogue and your custom workflows">
  <img src="https://mintcdn.com/vaquill/2UMb7US0EYXDhATr/images/workflows-gallery.webp?fit=max&auto=format&n=2UMb7US0EYXDhATr&q=85&s=99b8670d4e330b12384ea7bd400b9c8f" alt="Screenshot of the Workflows gallery showing the built-in workflow catalogue grouped by category" style={{ borderRadius: '0.5rem' }} width="1712" height="1070" data-path="images/workflows-gallery.webp" />
</Frame>

## Which one do I want

<CardGroup cols={2}>
  <Card title="Use a built-in workflow when" icon="circle-check">
    The job is a recognizable legal task: reviewing a batch of NDAs, building a privilege log, drafting a motion, auditing vendors for privacy compliance. Someone has already thought hard about the prompts, the scoring rubric, and the output format.
  </Card>

  <Card title="Use the builder when" icon="wrench">
    Your job is specific to your organization: a custom intake sequence, a firm-specific scoring pass, a chain that ends in your own DOCX template. Or you want to run a built-in-style pipeline with your own steps swapped in.
  </Card>
</CardGroup>

The two are not exclusive. A common pattern is to run a built-in workflow to see the shape of the output, then build a custom one that does the same thing against your own playbook and your own export format.

Neither kind is billed per run. Both are covered by your subscription; see [Plans, trial, and limits](/docs/guides/plans-and-limits).

## How they differ

|                       | Built-in                                                | Custom                                               |
| --------------------- | ------------------------------------------------------- | ---------------------------------------------------- |
| Who defines the steps | Vaquill, in code                                        | You, in the builder                                  |
| Configuration         | A form: document slots plus typed inputs                | Per-step config panes, wired to upstream outputs     |
| Versioning            | Ships with the product                                  | You publish versions; each publish is content-hashed |
| Branching and loops   | Baked into the orchestrator                             | Conditional branch and loop-over-documents steps     |
| Output                | Fixed artifact set per workflow                         | Whatever your Output steps produce                   |
| Scope                 | Runs against uploaded documents plus an optional matter | Runs against a matter you pick at launch             |
| Where it lives        | The Workflows gallery                                   | The Custom Workflows gallery                         |

## What a run looks like

Both kinds share the same run machinery.

<Steps>
  <Step title="Launch">
    Pick the workflow, attach documents to its slots, fill in the inputs, and optionally scope the run to a matter.
  </Step>

  <Step title="Watch">
    The run streams progress: which step is executing, a percentage, and an audit event for every step start, completion, document processed, and artifact rendered. Cancel at any point.
  </Step>

  <Step title="Collect">
    Completed runs expose their artifacts as signed downloads, plus an on-screen results panel. Runs persist in your run history, so the work product stays retrievable.
  </Step>
</Steps>

Read [Running a workflow](/docs/workflows/running-a-workflow) for the mechanics that apply to every workflow, and [Results and artifacts](/docs/workflows/results-and-artifacts) for what comes out the other end.

## Related

<CardGroup cols={2}>
  <Card title="Agent Mode" icon="robot" href="/docs/guides/agent-mode">
    One-shot autonomous research that picks its own tools. A workflow is the repeatable, auditable version.
  </Card>

  <Card title="Document Matrix" icon="table" href="/docs/guides/document-matrix">
    Several built-in workflows run a matrix under the hood. This is that engine on its own.
  </Card>

  <Card title="Playbooks" icon="book" href="/docs/guides/playbooks">
    Negotiation playbooks feed the Contract Playbook Review workflow.
  </Card>

  <Card title="Matters and workspaces" icon="folder-open" href="/docs/guides/matters-workspaces">
    Runs scoped to a matter save their output back into it.
  </Card>
</CardGroup>
