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

JT124092 · Havforskningsinstituttet Matre

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

    ok
    From: torfinn.aga@hi.no
    Subject: Tilbud på positioner
    Body: 1547 chars
    Attachments: AEA5A05C.JPG, image643430.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": "Havforskningsinstituttet Matre",
        "contact_name": "Torfinn Aga",
        "contact_email": "torfinn.aga@hi.no",
        "phone": "41 50 50 52",
        "vat_number": null,
        "address": "Matre 5, 5984 Matredal"
      },
      "items": [
        {
          "line_no": 1,
          "quantity": 2,
          "unit": "stk",
          "product_reference": "positioner (positioning valve/actuator)",
          "manufacturer": null,
          "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": [
              {
                "key": "control_signal",
                "value": "0-10V"
              }
            ]
          },
          "missing_fields": [
            "dimension",
            "pressure_rating",
            "material_body",
            "material_seal",
            "manufacturer",
            "manufacturer_part_no",
            "torque_or_flow",
            "temperature",
            "thread_or_connection"
          ]
        }
      ],
      "application_context": "Marine research facility (Havforskningsinstituttet Matre)",
      "attachments_referenced": [
        "image of positioning valve"
      ],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": null
      },
      "completeness": "partial",
      "missing": [
        "delivery.location",
        "delivery.deadline",
        "product specification details (customer references image but no detailed technical specs provided in text)"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: delivery.location, delivery.deadline, product specification details (customer references image but no detailed technical specs provided in text)

    ok
    partial
    • delivery.location
    • delivery.deadline
    • product specification details (customer references image but no detailed technical specs provided in text)
    Rule trace (deterministic)
    Verdict: partial · 1 of 1 items need clarification
    • item 1: × 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-20066 — Havforskningsinstituttet Matre

    ok
    BC#: C-20066
    Company: Havforskningsinstituttet Matre
    Email: torfinn.aga@hi.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/JT124092).

    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 →