J.S.Cock · AI Inquiry Demo
← All inquiries · Inquiry detail view
End-to-end flow

JT122674 · Haukeland universitetssjukehus

One inquiry, all stages. Each box below is the actual artifact persisted by the pipeline — not a mockup. The brief asks: "does Kine actually work?". This page is the answer.

9 stages
  1. 1

    Email arrives in M-Files inbox

    Step 01

    Inquiry stored at .tmp/jscock_mfiles/JT122674/inquiry.eml

    ok
    From: sveinung.knutsen@helse-bergen.no
    Subject: 2 1/2" Bailey damp reduksjon+rep sett
    Body: 410 chars
    Attachments: Outlook-laforrfz.png, image261431.gif
    Show full email body
  2. 2

    AI extracts structured JSON

    Step 02

    2 item(s) detected · language=no · intent=new_inquiry

    ok
    Norwegiannew inquiry2 item(s)
    Show extracted JSON
    {
      "language": "no",
      "intent": "new_inquiry",
      "customer": {
        "company": "Haukeland universitetssjukehus",
        "contact_name": "Sveinung Knutsen",
        "contact_email": "sveinung.knutsen@helse-bergen.no",
        "phone": "55974702/93427883",
        "vat_number": null,
        "address": null
      },
      "items": [
        {
          "line_no": 1,
          "quantity": 1,
          "unit": "stk",
          "product_reference": "2 1/2\" Bailey damp reduksjon ventil (steam reduction valve)",
          "manufacturer": "Bailey",
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "2 1/2\"",
            "pressure_rating": "10bar til 3bar",
            "material_body": null,
            "material_seal": null,
            "actuation": null,
            "voltage": null,
            "torque_or_flow": null,
            "temperature": "steam",
            "thread_or_connection": null,
            "other": [
              {
                "key": "type",
                "value": "damp reduksjon (steam reduction)"
              }
            ]
          },
          "missing_fields": [
            "manufacturer_part_no",
            "material_body",
            "material_seal",
            "thread_or_connection"
          ]
        },
        {
          "line_no": 2,
          "quantity": 1,
          "unit": "sett",
          "product_reference": "rep.sett med pakninger til Bailey 2 1/2\" damp reduksjon ventil (repair set with seals)",
          "manufacturer": "Bailey",
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": null,
            "pressure_rating": null,
            "material_body": null,
            "material_seal": null,
            "actuation": null,
            "voltage": null,
            "torque_or_flow": null,
            "temperature": null,
            "thread_or_connection": null,
            "other": []
          },
          "missing_fields": [
            "manufacturer_part_no",
            "material_seal",
            "pressure_rating"
          ]
        }
      ],
      "application_context": "Steam pressure reduction system at Haukeland University Hospital, reducing from 10bar to 3bar",
      "attachments_referenced": [],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": null
      },
      "completeness": "partial",
      "missing": [
        "manufacturer_part_no (Bailey valve model/reference)",
        "material_body",
        "material_seal",
        "thread_or_connection",
        "delivery_location"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: manufacturer_part_no (Bailey valve model/reference), material_body, material_seal, thread_or_connection, delivery_location

    ok
    partial
    • manufacturer_part_no (Bailey valve model/reference)
    • material_body
    • material_seal
    • thread_or_connection
    • delivery_location
    Rule trace (deterministic)
    Verdict: partial · 1 of 2 items need clarification
    • item 1: ✓ quotablequotable (sizing + 2 disambiguating specs)
    • item 2: × needs follow-upno sizing field (need dimension or torque/flow)
  4. 4

    AI drafts follow-up email to customer

    Step 04

    Drafted in no, awaiting human approval.

    ok
  5. 5

    Customer created in Business Central

    Steps 08 + 09

    New BC# C-20024 — Haukeland universitetssjukehus

    ok
    BC#: C-20024
    Company: Haukeland universitetssjukehus
    Email: sveinung.knutsen@helse-bergen.no
  6. 6

    Match items against the J.S.Cock catalog

    Steps 12 + 13

    Top-5 candidates per item via TF-IDF over 18.8k SKUs (see Matches tab on /inquiry/JT122674).

    ok
  7. 7

    Score supplier quotes

    Steps 16 + 17

    No supplier replies received yet — scoring waits for at least one.

    skip
  8. 8

    Draft quote in Business Central

    Steps 10 + 20

    Waiting for the supplier quote to land before drafting.

    skip
  9. 9

    Human approval (sales engineer)

    Step 21

    In production this becomes a real review UI in Week 2-3. Demo: approve / edit / reject from the page.

    pending

Process map: see how this aligns with JS Cock’s diagram →