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

JT123138 · Spetalsverk

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

    ok
    From: ehansen@spetalsverk.no
    Subject: Forespørsel på sluseventil og spjeldventil, DN200 PN25
    Body: 1284 chars
    Attachments: image002.png, image342450.gif
    Show full email body
  2. 2

    AI extracts structured JSON

    Step 02

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

    ok
    Norwegiannew inquiry4 item(s)
    Show extracted JSON
    {
      "language": "no",
      "intent": "new_inquiry",
      "customer": {
        "company": "Spetalsverk",
        "contact_name": "Eivind Hansen",
        "contact_email": "ehansen@spetalsverk.no",
        "phone": "+47 62 96 76 90",
        "vat_number": null,
        "address": "Galterudvegen 701, 2212 Kongsvinger"
      },
      "items": [
        {
          "line_no": 1,
          "quantity": null,
          "unit": null,
          "product_reference": "Spjeldventil m/ gir og ratt (Butterfly valve with gearbox and hand wheel)",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN200",
            "pressure_rating": "PN25",
            "material_body": null,
            "material_seal": null,
            "actuation": "manual",
            "voltage": null,
            "torque_or_flow": "0.08 m³/s",
            "temperature": null,
            "thread_or_connection": null,
            "other": [
              {
                "key": "working_pressure",
                "value": "144 mVs"
              },
              {
                "key": "max_pressure",
                "value": "160 mVs"
              }
            ]
          },
          "missing_fields": [
            "quantity",
            "unit",
            "manufacturer",
            "manufacturer_part_no",
            "material_body",
            "material_seal",
            "temperature",
            "thread_or_connection"
          ]
        },
        {
          "line_no": 2,
          "quantity": null,
          "unit": null,
          "product_reference": "Spjeldventil oljeservo og fallodd (Butterfly valve with oil servo and fail-safe)",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN200",
            "pressure_rating": "PN25",
            "material_body": null,
            "material_seal": null,
            "actuation": "pneumatic",
            "voltage": null,
            "torque_or_flow": "0.08 m³/s",
            "temperature": null,
            "thread_or_connection": null,
            "other": [
              {
                "key": "working_pressure",
                "value": "144 mVs"
              },
              {
                "key": "max_pressure",
                "value": "160 mVs"
              },
              {
                "key": "control_type",
                "value": "servo with fail-safe"
              }
            ]
          },
          "missing_fields": [
            "quantity",
            "unit",
            "manufacturer",
            "manufacturer_part_no",
            "material_body",
            "material_seal",
            "temperature",
            "thread_or_connection"
          ]
        },
        {
          "line_no": 3,
          "quantity": null,
          "unit": null,
          "product_reference": "Sluseventil m/ gir og ratt (Gate valve with gearbox and hand wheel)",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN200",
            "pressure_rating": "PN25",
            "material_body": null,
            "material_seal": null,
            "actuation": "manual",
            "voltage": null,
            "torque_or_flow": "0.08 m³/s",
            "temperature": null,
            "thread_or_connection": null,
            "other": [
              {
                "key": "working_pressure",
                "value": "144 mVs"
              },
              {
                "key": "max_pressure",
                "value": "160 mVs"
              }
            ]
          },
          "missing_fields": [
            "quantity",
            "unit",
            "manufacturer",
            "manufacturer_part_no",
            "material_body",
            "material_seal",
            "temperature",
            "thread_or_connection"
          ]
        },
        {
          "line_no": 4,
          "quantity": null,
          "unit": null,
          "product_reference": "Sluseventil m/ oljehydraulisk aktuator (dobbeltvirkende) (Gate valve with double-acting oil-hydraulic actuator)",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN200",
            "pressure_rating": "PN25",
            "material_body": null,
            "material_seal": null,
            "actuation": "hydraulic",
            "voltage": null,
            "torque_or_flow": "0.08 m³/s",
            "temperature": null,
            "thread_or_connection": null,
            "other": [
              {
                "key": "working_pressure",
                "value": "144 mVs"
              },
              {
                "key": "max_pressure",
                "value": "160 mVs"
              },
              {
                "key": "actuation_type",
                "value": "double-acting"
              },
              {
                "key": "hydraulic_pressure",
                "value": "80-100 bar"
              }
            ]
          },
          "missing_fields": [
            "quantity",
            "unit",
            "manufacturer",
            "manufacturer_part_no",
            "material_body",
            "material_seal",
            "temperature",
            "thread_or_connection"
          ]
        }
      ],
      "application_context": null,
      "attachments_referenced": [],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": null
      },
      "completeness": "partial",
      "missing": [
        "Quantity for each line item",
        "Material specifications (body and seal)",
        "Operating temperature range",
        "Specific delivery deadline",
        "Delivery location",
        "Thread or connection type details (beyond DN200 standard)"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: Quantity for each line item, Material specifications (body and seal), Operating temperature range, Specific delivery deadline, Delivery location, Thread or connection type details (beyond DN200 standard)

    ok
    partial
    • Quantity for each line item
    • Material specifications (body and seal)
    • Operating temperature range
    • Specific delivery deadline
    • Delivery location
    • Thread or connection type details (beyond DN200 standard)
    Rule trace (deterministic)
    Verdict: partial · 4 of 4 items need clarification
    • item 1: × needs follow-upno quantity
    • item 2: × needs follow-upno quantity
    • item 3: × needs follow-upno quantity
    • item 4: × needs follow-upno quantity
  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-20037 — Spetalsverk

    ok
    BC#: C-20037
    Company: Spetalsverk
    Email: ehansen@spetalsverk.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/JT123138).

    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 →