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

JT124212 · OKEA

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.

4 stages
  1. 1

    Email arrives in M-Files inbox

    Step 01

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

    ok
    From: leif.kaare.vik@okea.no
    Subject: 56563 Replenishment OFFSHORE:
    Body: 418 chars
    Attachments: 56563.pdf, image001.png
    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": "OKEA",
        "contact_name": "Leif Kåre Vik",
        "contact_email": "leif.kaare.vik@okea.no",
        "phone": "+47 454 55 881",
        "vat_number": null,
        "address": null
      },
      "items": [
        {
          "line_no": 1,
          "quantity": null,
          "unit": null,
          "product_reference": "sikkerhetsventil (safety valve)",
          "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": []
          },
          "missing_fields": [
            "quantity",
            "unit",
            "manufacturer",
            "manufacturer_part_no",
            "dimension",
            "pressure_rating",
            "material_body",
            "material_seal",
            "actuation",
            "voltage",
            "torque_or_flow",
            "temperature",
            "thread_or_connection"
          ]
        }
      ],
      "application_context": "offshore",
      "attachments_referenced": [
        "forespørsel på sikkerhetsventil (inquiry on safety valve)"
      ],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": "56563",
        "notes": null
      },
      "completeness": "unusable",
      "missing": [
        "product specifications (dimension, pressure, material, actuation)",
        "delivery location",
        "delivery deadline",
        "quantity",
        "customer address"
      ]
    }
  3. 3

    Completeness verdict: unusable

    Step 03

    Missing: product specifications (dimension, pressure, material, actuation), delivery location, delivery deadline, quantity, customer address

    ok
    unusable
    • product specifications (dimension, pressure, material, actuation)
    • delivery location
    • delivery deadline
    • quantity
    • customer address
    Rule trace (deterministic)
    Verdict: partial · 1 of 1 items need clarification
    • item 1: × needs follow-upno quantity
  4. 4

    Route to human

    Step 04

    Inquiry too sparse — sales engineer should handle manually.

    skip

Process map: see how this aligns with JS Cock’s diagram →