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

JT123580 · Haram 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/JT123580/inquiry.eml

    ok
    From: camilla.waagbo.nilsen@haram.kommune.no
    Subject: deler til cla-val
    Body: 1061 chars
    Attachments: Outlook-nvf0bcrc.png, image757686.gif, image484711.png
    Show full email body
  2. 2

    AI extracts structured JSON

    Step 02

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

    ok
    Norwegiannew inquiry2 item(s)
    Show extracted JSON
    {
      "language": "no",
      "intent": "new_inquiry",
      "customer": {
        "company": "Haram kommune",
        "contact_name": "Camilla Waagbø Nilsen",
        "contact_email": "Camilla.Waagbo.Nilsen@haram.kommune.no",
        "phone": "99 36 56 92",
        "vat_number": null,
        "address": null
      },
      "items": [
        {
          "line_no": 1,
          "quantity": 3,
          "unit": "stk",
          "product_reference": "CKX44-STD-02",
          "manufacturer": "CLA-VAL",
          "manufacturer_part_no": "CKX44-STD-02",
          "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": []
          },
          "missing_fields": [
            "dimension",
            "pressure_rating",
            "material_body",
            "material_seal",
            "actuation",
            "voltage",
            "torque_or_flow",
            "temperature",
            "thread_or_connection"
          ]
        },
        {
          "line_no": 2,
          "quantity": 2,
          "unit": "stk",
          "product_reference": "CKX43-STD-01",
          "manufacturer": "CLA-VAL",
          "manufacturer_part_no": "CKX43-STD-01",
          "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": []
          },
          "missing_fields": [
            "dimension",
            "pressure_rating",
            "material_body",
            "material_seal",
            "actuation",
            "voltage",
            "torque_or_flow",
            "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": [
        "delivery_location",
        "delivery_deadline"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: delivery_location, delivery_deadline

    ok
    partial
    • delivery_location
    • delivery_deadline
    Rule trace (deterministic)
    Verdict: complete · all items quotable directly
    • item 1: ✓ quotablemanufacturer part-no or cross-ref present (catalog-resolvable)
    • item 2: ✓ quotablemanufacturer part-no or cross-ref present (catalog-resolvable)
  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-20049 — Haram kommune

    ok
    BC#: C-20049
    Company: Haram kommune
    Email: Camilla.Waagbo.Nilsen@haram.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/JT123580).

    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 →