Use case · Quotes

Prepare quotes from customer context.

Your agent resolves who is asking, reads their context and saves a draft quote priced from your catalog. Houzle prints it as a PDF, and you review it before it goes anywhere.

  • Preset · Assistant
  • 4 tool calls
  • Result · draft quote + PDF
QuoteDraftSample data
Contact
Clínica Alameda · Madrid
Context
2 open deals · nothing missing
Created by
Sales assistant · agent
  • Producto anterior 85 · Estándar × 2€25.00
Total excl. VAT€25.00

PDF · printed by Houzle with getQuotePdf

The request

Ask in your own words.

“Prepare a quote for Clínica Alameda ([email protected]): two units of Producto anterior 85. Then give me the PDF.”

Step by step

What your agent does.

MCP tool = REST operationId · same permissions and validation

  1. Step 1: Resolve the customer

    Finds the contact by the email in the request. Nothing is created or merged; a name alone would only propose candidates.

    resolveContactcommercial.read · every preset
    POST /v1/contacts/resolve
    { "email": "[email protected]" }
    
    → 200  decision "match"
      "id": "10000001-…-000000007531"
      "name": "Clínica Alameda · Madrid"
  2. Step 2: Read their context

    One bounded read: people, deals, open tasks, quotes and what is missing for the next step. Notes arrive as untrusted data.

    getContactContextcommercial.read · every preset
    GET /v1/contacts/…7531/context
    
    → 200  opportunities.total 2
      "missing_for_next_step": []
  3. Step 3: Prepare and save the draft

    Names the product and quantity. Houzle resolves the line, prices it and saves a draft. The Idempotency-Key makes a retry safe.

    prepareQuotecommercial.write · assistant and up
    POST /v1/quotes/prepare
    Idempotency-Key: request-1042-quote
    {
      "contact_id": "…7531",
      "lines": [{ "query": "Producto anterior 85", "quantity": 2 }],
      "save": true
    }
    
    → 201  status "draft" · total_cents 2500
  4. Step 4: Get the PDF

    Houzle prints its own quotes. Over MCP the file comes whole in data.content_base64.

    getQuotePdfcommercial.read · every preset
    GET /v1/quotes/<id>/pdf
    
    → 200  application/pdf
What you get

A draft you can check line by line.

  • Each line keeps the product name, variant and price it was quoted at.
  • Prices come from your catalog tiers, the contact’s price list and agreed discount.
  • Totals exclude VAT. Taxes are calculated on the invoice.
  • Sending the same request with the same Idempotency-Key returns the same draft, never a second one.
  • The quote is recorded in the audit log with the agent as the actor.
Not in this flow yet

Sending is still yours.

Houzle prints the PDF but does not email the quote to the customer. Share it through your usual channel. When the customer agrees, an agent with the closer preset (or a person) accepts the quote and converts it into an order.

  • acceptQuote
  • createOrderFromQuote

Try it with your own catalog.

Connect an assistant key, verify with getMe and send the request above.