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

JT123931 · Lerøy

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

    ok
    From: innkjop@leroy.no
    Subject: 114930-024783 - Forespørsel om pristilbud / Request for quotation (RFQ)
    Body: 4590 chars
    Attachments: Image.jpg, image882723.gif
    Show full email body
  2. 2

    AI extracts structured JSON

    Step 02

    0 item(s) detected · language=mixed · intent=new_inquiry

    ok
    Mixednew inquiry0 item(s)
    Show extracted JSON
    {
      "language": "mixed",
      "intent": "new_inquiry",
      "customer": {
        "company": "Lerøy",
        "contact_name": "Gjertrud Saele",
        "contact_email": "innkjop@leroy.no",
        "phone": "+47 91661028",
        "vat_number": null,
        "address": null
      },
      "items": [],
      "application_context": null,
      "attachments_referenced": [],
      "delivery": {
        "location": null,
        "deadline": null,
        "incoterms": "DDP"
      },
      "previous_reference": {
        "is_update_of": "114930-024783",
        "notes": "RFQ details hosted in Lerøy Supplier Portal, not provided in email body"
      },
      "completeness": "partial",
      "missing": [
        "product specifications and line items",
        "delivery location",
        "specific deadline date"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: product specifications and line items, delivery location, specific deadline date

    ok
    partial
    • product specifications and line items
    • delivery location
    • specific deadline date
    Rule trace (deterministic)
    Verdict: unusable · no items extracted
  4. 4

    AI drafts follow-up email to customer

    Step 04

    Drafted in mixed, awaiting human approval.

    ok
  5. 5

    Customer created in Business Central

    Steps 08 + 09

    New BC# C-20060 — Lerøy

    ok
    BC#: C-20060
    Company: Lerøy
    Email: innkjop@leroy.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/JT123931).

    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 →