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

JT123462

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

    ok
    From: oddbjorn73@gmail.com
    Subject: Kit til Gemu cPos1436
    Body: 650 chars
    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": null,
        "contact_name": "Oddbjørn Wågbø",
        "contact_email": "oddbjorn73@gmail.com",
        "phone": "9057177",
        "vat_number": null,
        "address": null
      },
      "items": [
        {
          "line_no": 1,
          "quantity": 1,
          "unit": "kit",
          "product_reference": "Overgangskit (transition kit) for Gemu 554 40D 137 51 2 with control unit Gemu 1436000Z1ECON0001050",
          "manufacturer": "Gemu",
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": null,
            "pressure_rating": null,
            "material_body": null,
            "material_seal": null,
            "actuation": "pneumatic",
            "voltage": null,
            "torque_or_flow": null,
            "temperature": null,
            "thread_or_connection": null,
            "other": [
              {
                "key": "presumed_components",
                "value": "adapter of some kind and rod extension (forlenger til stangen)"
              },
              {
                "key": "control_integration",
                "value": "Customer uncertain if on/off valve needs replacement or pneumatic control from unit"
              }
            ]
          },
          "missing_fields": [
            "exact_kit_configuration",
            "adapter_specification",
            "rod_extension_dimensions",
            "valve_replacement_requirement",
            "pressure_rating",
            "material_body",
            "material_seal",
            "connection_types"
          ]
        }
      ],
      "application_context": "Gemu valve and control unit purchased from bankruptcy auction. Customer needs transition kit to integrate control unit with valve for pneumatic operation.",
      "attachments_referenced": [],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": "Equipment sourced from bankruptcy auction (Gemu 554 40D 137 51 2 valve + Gemu 1436000Z1ECON0001050 control unit)"
      },
      "completeness": "partial",
      "missing": [
        "delivery_location",
        "delivery_deadline",
        "detailed_kit_specifications",
        "customer_business_entity"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: delivery_location, delivery_deadline, detailed_kit_specifications, customer_business_entity

    ok
    partial
    • delivery_location
    • delivery_deadline
    • detailed_kit_specifications
    • customer_business_entity
    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 creation deferred

    Steps 08 + 09

    Customer company name not extracted — needs human review.

    skip
  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/JT123462).

    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 →