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

# Workflows

> The end-to-end RFQ → quotation lifecycle Brain automates

# Workflows

Brain organizes the studio's daily work into a small number of defined workflows.
Each workflow has a clear trigger, an AI-drafted output, a human approval gate, and
a write path to either CutMake or an outbound email.

The full lifecycle looks like this:

```text theme={null}
Client RFQ email
       ↓
   Email tagged + task created
       ↓
   Style creation (with duplicate check)
       ↓
   Tech pack → BOM draft
       ↓
   True cost draft
       ↓
   Material sourcing + assignment
       ↓
   Quotation generation (markup or pricing intelligence)
       ↓
   Quotation email drafted
       ↓
   Human approves and sends
       ↓
   Oversight agent monitors response
```

## The intake group

Workflows that turn a fresh client RFQ into structured records.

<CardGroup cols={2}>
  <Card title="Email → Style" icon="envelope-open-text" href="/brain/staging/workflows/email-to-style">
    Detects RFQ emails, tags them, creates a task, extracts style fields, runs
    duplicate detection, and produces a draft style record for approval.
  </Card>

  <Card title="Client Creation" icon="user-plus" href="/brain/staging/workflows/client-creation">
    Creates new client records from sales contracts, registration docs, and
    onboarding materials, with required-field checking.
  </Card>

  <Card title="Style Creation" icon="shirt" href="/brain/staging/workflows/style-creation">
    The standalone style creation workflow used either by command or as the
    write step of the email-to-style flow.
  </Card>
</CardGroup>

## The costing group

Workflows that turn approved styles into accurate cost models.

<CardGroup cols={2}>
  <Card title="Tech Pack → BOM" icon="diagram-project" href="/brain/staging/workflows/tech-pack-to-bom">
    The anchor feature. Reads tech packs, POMs, and images to produce a first-draft
    BOM with confidence scores for every line.
  </Card>

  <Card title="True Cost" icon="calculator" href="/brain/staging/workflows/true-cost">
    Builds a first-draft true cost from the BOM, flags missing prices, and routes to
    the merchandiser for review.
  </Card>

  <Card title="Material Sourcing" icon="boxes-stacked" href="/brain/staging/workflows/material-sourcing">
    Suggests materials from the library and surfaces gaps for the sourcing team.
    Humans assign the real materials.
  </Card>
</CardGroup>

## The quotation group

Workflows that produce and send the client offer.

<CardGroup cols={2}>
  <Card title="Quotation" icon="file-invoice-dollar" href="/brain/staging/workflows/quotation">
    Generates a quotation from approved true cost. Starts with fixed markup; later
    adds pricing intelligence.
  </Card>

  <Card title="Quotation Email" icon="paper-plane" href="/brain/staging/workflows/quotation-email">
    Drafts the client email with the quotation attached. Human approval is always
    required before send.
  </Card>
</CardGroup>

## The visibility group

Workflows that give managers a clean view of the pipeline.

<CardGroup cols={2}>
  <Card title="Oversight Agent" icon="binoculars" href="/brain/staging/workflows/oversight">
    Monitors every RFQ in flight. Flags slow responses, cold inquiries, missing
    quotes, ownership gaps, and pricing risk.
  </Card>

  <Card title="Manager Queries" icon="magnifying-glass-chart" href="/brain/staging/workflows/manager-queries">
    "What is happening with this client, style, or order?" — answered consistently,
    every time, with source links to every claim.
  </Card>
</CardGroup>

## Common spine

Every workflow follows the same pattern:

1. **Trigger** — a user command, an inbound email, or a scheduled check.
2. **Permission gate** — who is asking; what they can do.
3. **AI extraction or generation** — drafts using whatever sources apply.
4. **Source linking** — every claim ties back to an artifact.
5. **Draft preview** — confidence-tagged, editable.
6. **Approval gate** — human reviews, edits, approves.
7. **Write or send** — record promoted into CutMake or email sent.
8. **Correction logging** — every edit captured for the feedback loop.
9. **Next-step suggestion** — Brain proposes what to do next.

See [Principles](/brain/staging/principles) for why the spine looks this way.
