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

JT124262 · Drammen kommune

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/JT124262/inquiry.eml

    ok
    From: dennis.jesper.tygesen@drammen.kommune.no
    Subject: DTS613 Prisforespørsel 2stk dn100 red.ventiler
    Body: 1611 chars
    Attachments: image002.png, image003.png, image001.png, image657505.gif
    Show full email body
  2. 2

    AI extracts structured JSON

    Step 02

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

    ok
    Norwegiannew inquiry1 item(s)
    Show extracted JSON
    {
      "language": "no",
      "intent": "new_inquiry",
      "customer": {
        "company": "Drammen kommune",
        "contact_name": "Dennis Jesper Tygesen",
        "contact_email": "dennis.jesper.tygesen@drammen.kommune.no",
        "phone": "320 46 655",
        "vat_number": null,
        "address": "Skogliveien 4D, 3047 Drammen"
      },
      "items": [
        {
          "line_no": 1,
          "quantity": 2,
          "unit": "stk",
          "product_reference": "DN100 red.ventiler (reduction valves)",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN100",
            "pressure_rating": null,
            "material_body": null,
            "material_seal": null,
            "actuation": null,
            "voltage": null,
            "torque_or_flow": "Max 25 l/s",
            "temperature": null,
            "thread_or_connection": null,
            "other": [
              {
                "key": "inlet_pressure",
                "value": "9.2 bar"
              },
              {
                "key": "outlet_pressure",
                "value": "4.2 bar"
              },
              {
                "key": "min_night_flow",
                "value": "0 l/s"
              },
              {
                "key": "application",
                "value": "DTS613 reserve water supply station"
              }
            ]
          },
          "missing_fields": [
            "pressure_rating_class",
            "material_body",
            "material_seal",
            "thread_or_connection",
            "temperature_range"
          ]
        }
      ],
      "application_context": "DTS613 station - reserve water supply to city zone (by-sone). System must not drain overlying zone when flow is restricted. Max 25 l/s flow limit required. Valves remain mostly idle/at rest in normal operation.",
      "attachments_referenced": [],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": "Station DTS613 valve replacement project"
      },
      "completeness": "partial",
      "missing": [
        "pressure_rating_class (PN) - operating pressures given but rated class not specified",
        "material_specifications (body and seal)",
        "thread_or_connection_type",
        "delivery_deadline"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: pressure_rating_class (PN) - operating pressures given but rated class not specified, material_specifications (body and seal), thread_or_connection_type, delivery_deadline

    ok
    partial
    • pressure_rating_class (PN) - operating pressures given but rated class not specified
    • material_specifications (body and seal)
    • thread_or_connection_type
    • delivery_deadline
    Rule trace (deterministic)
    Verdict: partial · 1 of 1 items need clarification
    • item 1: × needs follow-upsizing only — need at least one disambiguating spec
  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-20074 — Drammen kommune

    ok
    BC#: C-20074
    Company: Drammen kommune
    Email: dennis.jesper.tygesen@drammen.kommune.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/JT124262).

    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 →