Strip PII
Mick Davis · +61 411 xxx 482 asks about an N80 cat-back for his 2018 Hilux.
[customer] asks about an N80 cat-back for his 2018 Hilux. {phone:[redacted]}
The composed builder — every primitive in the family wired together for the Quote estimator workflow. Trigger fires, RAG grounds, prompt assembles, the model drafts, the gate validates and the tool persists. Eval, cost and version history sit alongside so the team can iterate without leaving the canvas.
Full AI workflow studio is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.
Full AI workflow studio: The composed builder — every primitive in the family wired together for the Quote estimator workflow. Trigger fires, RAG grounds, prompt assembles, the model drafts, the gate validates and the tool persists. Eval, cost and version history sit alongside so the team can iterate without leaving the canvas.
POST /hooks/shopify/quote{ "type": "shopify.order.requested", "customer": { "id": "cust_mick_davis_8821", "firstName": "Mick", "phone": "+61411xxx482" }, "vehicle": { "year": 2018, "make": "Toyota", "model": "Hilux N80", "variantHints": ["long-range", "GD-6"] }, "skuRequest": ["manta-cat-back-hc"], "channel": "web-form", "receivedAt": "2026-05-29T09:14:11+10:00"}text-embedding-3-largeparts-catalogue-2026fitment/hilux-n80-manta.md12mm clearance offset required for N80 trucks running the 130L long-range tank. Bay 2 hoist setup notes inline.
supplier-feeds/manta-2026-04.csvManta 3in mid-pipe $440 + cat-back $1,055 + dump pipe optional $620. Lead time 3 business days.
labour/exhaust-matrix.mdCat-back swap N80: 2.5h flat rate. Add 0.4h for long-range tank shield. Bay 2 tooling required.
policies/warranty.mdManta cat-back parts 24-month warranty. Fitting warranty 12 months from invoice date.
Mick Davis · +61 411 xxx 482 asks about an N80 cat-back for his 2018 Hilux.
[customer] asks about an N80 cat-back for his 2018 Hilux. {phone:[redacted]}
query = 'Hilux N80 long-range cat-back Manta clearance' · top 6
6 hits · top similarity 0.92 (fitment/hilux-n80-manta.md) · rerank 0.95
system = quote-estimator v3.2 · user injects {{vehicle}}, {{parts.skuList}}, {{labour.hours}}
1,820 tokens of context handed to the model. Output gate awaits JSON.
Generate JSON quote — parts inc GST, labour 2.5h × $80, total rounded.
{ "totalIncGstAud": 1695, "lineItems": [ … 3 items ] } — streaming
Awaiting JSON output from upstream model.
—
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": ["totalIncGstAud", "lineItems"], "properties": { "totalIncGstAud": { "type": "integer", "minimum": 1, "maximum": 25000 }, "lineItems": { "type": "array", "minItems": 1 } }}quote.createAuthor a quote ID with line items and persist to the CRM.
{ "name": "quote.create", "description": "Persist a quote with line items + totals.", "input_schema": { "type": "object", "properties": { "customerId": { "type": "string", "pattern": "^cust_[a-z0-9_]+$" }, "vehicleSummary": { "type": "string", "maxLength": 80 }, "lineItems": { "type": "array", "items": { "type": "object", "properties": { "sku": { "type": "string" }, "qty": { "type": "integer", "minimum": 1 }, "retailAud": { "type": "number", "minimum": 0 } }, "required": ["sku", "qty", "retailAud"] } }, "labourHours": { "type": "number" }, "totalIncGstAud": { "type": "number" } }, "required": ["customerId", "lineItems", "totalIncGstAud"] }}result.quoteIdresult.totalIncGstAudresult.stripePaymentLinkStrip phone, email and ABN before logging the payload.
Block prompt-injection attempts disguised as customer messages.
OpenAI moderation pass on outbound copy.
Identify intent, capture vehicle, run quote estimator, reply in one SMS.
Goal reached. Send SMS reply with quote refresher and Bay 2 slot offer.
hermes.respond({ template: 'quote.ack', vars: { quoteId: 'q_44521' } })
SMS sent · message-id sm_88421 · delivered receipt pending
| Sample | Accuracy | Tone | Safety | Cost | Overall |
|---|---|---|---|---|---|
| Hilux N80 cat-back · long-range | 96 | 92 | 100 | 78 | 94 |
| Commodore SS quote follow-up | 82 | 88 | 100 | 88 | 89 |
| Manta DPF warranty rattle | 64 | 72 | 92 | 84 | 76 |
| Falcon BA mid-pipe stock | 90 | 84 | 100 | 92 | 92 |
| Saturday booking confirmation | 98 | 96 | 100 | 96 | 98 |
| Engineered exhaust ADR cert | 58 | 76 | 100 | 82 | 76 |
Tightened JSON shape — totalIncGstAud now required integer. Added long-range tank clarifying ask.
Restored Aussie tradie register · trimmed the 'Voice:' block · cut 64 system tokens.
Migrated to JSON-only output. Removed prose preamble. Output gate enforces totalIncGstAud.
Added parts.search guardrail · refused to quote non-stock SKUs without lookup.