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

JT999999 · Sebastian Nagel AS

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.

13 stages
  1. 1

    Email arrives in M-Files inbox

    Step 01

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

    ok
    From: sebastian.nagel@nagel-engineering.no
    Subject: Inquiry: valves for new fish-farm intake project
    Body: 880 chars
    Show full email body
  2. 2

    AI extracts structured JSON

    Step 02

    2 item(s) detected · language=en · intent=application_advice

    ok
    Englishapplication advice2 item(s)
    Show extracted JSON
    {
      "language": "en",
      "intent": "application_advice",
      "customer": {
        "company": "Sebastian Nagel AS",
        "contact_name": "Sebastian Nagel",
        "contact_email": "sebastian.nagel@nagel-engineering.no",
        "phone": "+47 41 22 88 17",
        "vat_number": null,
        "address": "Frøya, Norway"
      },
      "items": [
        {
          "line_no": 1,
          "quantity": null,
          "unit": "stk",
          "product_reference": "Knife gate valve, rough-filter line, manual actuator",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN200",
            "pressure_rating": "PN10",
            "material_body": null,
            "material_seal": "EPDM",
            "actuation": "manual",
            "voltage": null,
            "torque_or_flow": null,
            "temperature": null,
            "thread_or_connection": "wafer",
            "other": [
              {
                "key": "media",
                "value": "raw seawater"
              },
              {
                "key": "duty",
                "value": "rough filtration"
              }
            ]
          },
          "missing_fields": [
            "quantity"
          ]
        },
        {
          "line_no": 2,
          "quantity": 1,
          "unit": "stk",
          "product_reference": "Pressure-reducing valve, main intake header, electric actuator with downstream-pressure setpoint",
          "manufacturer": null,
          "manufacturer_part_no": null,
          "cross_ref_to": null,
          "specs": {
            "dimension": "DN300",
            "pressure_rating": null,
            "material_body": "super-duplex (preferred) or seawater-resistant equivalent",
            "material_seal": null,
            "actuation": "electric, modulating",
            "voltage": null,
            "torque_or_flow": "120 m³/h peak",
            "temperature": null,
            "thread_or_connection": "flanged",
            "other": [
              {
                "key": "control_mode",
                "value": "downstream pressure setpoint, modulating"
              },
              {
                "key": "media",
                "value": "raw seawater (intake header)"
              },
              {
                "key": "downstream_target_pressure",
                "value": null
              }
            ]
          },
          "missing_fields": [
            "pressure_rating",
            "downstream_target_pressure",
            "voltage"
          ]
        }
      ],
      "application_context": "New smolt-facility seawater intake at Frøya. Customer is sizing the header for ~120 m³/h peak; needs the PRV to hold a stable downstream setpoint as flow varies. Item 1 sits upstream on the rough-filter line; item 2 is the main header PRV before filtration.",
      "attachments_referenced": [],
      "delivery": {
        "location": "Frøya, Norway",
        "deadline": null,
        "incoterms": "EXW or DAP (customer flexible)"
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": "First-time customer — no prior order history."
      },
      "completeness": "partial",
      "missing": [
        "item 1 quantity",
        "item 2 downstream target pressure",
        "item 2 control voltage",
        "delivery deadline"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: item 1 quantity, item 2 downstream target pressure, item 2 control voltage, delivery deadline

    ok
    partial
    • item 1 quantity
    • item 2 downstream target pressure
    • item 2 control voltage
    • delivery deadline
    Rule trace (deterministic)
    Verdict: partial · 1 of 2 items need clarification
    • item 1: × needs follow-upno quantity
    • item 2: ✓ quotablequotable (sizing + 3 disambiguating specs)
  4. 4

    AI drafts follow-up email to customer

    Step 04

    Drafted in en, awaiting human approval.

    ok
  5. 5

    Customer reply received

    Step 05

    From sebastian.nagel@nagel-engineering.no — fixture .tmp/jscock_customer_replies/JT999999_full.txt

    ok
  6. 6

    AI re-extracts and merges with original

    Step 06

    Reply JT999999_full → verdict partial → complete. 4 field(s) newly resolved, 0 still missing.

    ok
    before: partialafter: complete
    Newly resolved
    • item[1].quantity
    • item[2].downstream_target_pressure
    • item[2].voltage
    • delivery.deadline
  7. 7

    Customer found in Business Central

    Steps 08 + 09

    BC# C-20013 — Sebastian Nagel AS

    ok
    BC#: C-20013
    Company: Sebastian Nagel AS
    Email: sebastian.nagel@nagel-engineering.no
  8. 8

    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/JT999999).

    ok
  9. 9

    AI drafts RFQ emails to selected suppliers

    Steps 14 + 15

    2 draft RFQ(s) — to SISTAG AG WEY, GEMÜ Gebr. Müller. Drafts await human approval before send.

    ok
    2 draft RFQs prepared (not sent).
    SISTAG AG WEY · en · drafted by haiku
    GEMÜ Gebr. Müller · en · drafted by haiku
  10. 10

    Score supplier quotes (2 received)

    Steps 16 + 17

    Winner: SISTAG AG WEY · score 0.89 · 4440.0 EUR · 28d lead

    ok
    SupplierStatusTotalLeadIncotermScoreFlags
    SISTAG AG WEYpartial4,440 EUR28dEXW89
    GEMÜ Gebr. Müllerpartial14,850 EUR63dDAP9
    Show winning quote line items
    [
      {
        "line_no": 1,
        "sku": "WEY1VNC.200WAXX_S0",
        "description": "Knife Gate Valve VNC DN200 Wafer, Body: EN-GJL-250 ductile iron (Ni-coated), Knife: 1.4571, Seal: EPDM, Manual handwheel actuator",
        "quantity": 6,
        "unit": "stk",
        "unit_price": 740,
        "total": 4440,
        "notes": "FKM seat optional at +EUR 78/pc for high-biofouling duty."
      }
    ]
  11. 11

    BC quote already drafted

    Steps 10 + 20

    Quote Q-2026-00005 · 2 line(s) · 19290.0 EUR · status=draft

    ok
    Quote#: Q-2026-00005
    Currency: EUR
    Status: draft
    Total ex VAT: 19,290 EUR
  12. 12

    Write quote number back to M-Files

    Step 11

    Wrote Q-2026-00005 to .tmp/jscock_mfiles/JT999999/quote_no.txt

    ok
    Wrote Q-2026-00005 to .tmp/jscock_mfiles/JT999999/quote_no.txt. The DMS now has a back-reference from the inquiry document to the BC quote.
  13. 13

    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 →