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
- Producto anterior 85 · Estándar × 2€25.00
PDF · printed by Houzle with getQuotePdf
- When it helpsA customer asks for a priceThe request arrives in a call or an email and you sell from a known catalog.
- What it needsContacts and a catalogThe customer and products with their prices, in the system that owns each one. Today every workspace keeps all its data in Houzle.
- What you decideReview and acceptanceThe quote stays a draft until someone accepts it. Converting it to an order is a separate step.
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.”
What your agent does.
MCP tool = REST operationId · same permissions and validation
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 presetPOST /v1/contacts/resolve { "email": "[email protected]" } → 200 decision "match" "id": "10000001-…-000000007531" "name": "Clínica Alameda · Madrid"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 presetGET /v1/contacts/…7531/context → 200 opportunities.total 2 "missing_for_next_step": []
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 upPOST /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 2500Step 4: Get the PDF
Houzle prints its own quotes. Over MCP the file comes whole in data.content_base64.
getQuotePdfcommercial.read · every presetGET /v1/quotes/<id>/pdf → 200 application/pdf
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.
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.
acceptQuotecreateOrderFromQuote
Try it with your own catalog.
Connect an assistant key, verify with getMe and send the request above.