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

JT122579 · Aldeakva

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

    ok
    From: erling@aldeakva.no
    Subject: Forespørsel ventiler avløpskum Blom Settefisk
    Body: 1229 chars
    Attachments: 6017-DOK-100-Tilbudsforespørsel skyvespjeldventiler.pdf, IMG_2346.jpeg, Outlook-Image.png, image240566.gif
    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": "Aldeakva",
        "contact_name": "Erling Mikalsen",
        "contact_email": "erling@aldeakva.no",
        "phone": "+47 98 42 52 24",
        "vat_number": null,
        "address": "Vabakkjen 6, 5411 Stord, Norway"
      },
      "items": [
        {
          "line_no": 1,
          "quantity": null,
          "unit": null,
          "product_reference": "Valves for a drainage well (avløpskum) at Blom Settefisk fish farm on Askøy — found in JS Cock magazine, full spec in attachment",
          "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": [
              {
                "key": "application",
                "value": "avløpskum (drainage well)"
              },
              {
                "key": "site",
                "value": "Blom Settefisk, Askøy"
              },
              {
                "key": "discovery_source",
                "value": "JS Cock product magazine"
              }
            ]
          },
          "missing_fields": [
            "all specs — in the attachment"
          ]
        }
      ],
      "application_context": "Aquaculture project for Blom Settefisk fish farm on Askøy. Customer found suitable valves in JS Cock's magazine and asks for an offer per attachment.",
      "attachments_referenced": [
        "valve spec attachment (filename not in body)"
      ],
      "delivery": {
        "location": "Blom Settefisk, Askøy",
        "deadline": null,
        "incoterms": null
      },
      "previous_reference": {
        "is_update_of": null,
        "notes": null
      },
      "completeness": "partial",
      "missing": [
        "item specs (in attachment)",
        "quantities",
        "deadline"
      ]
    }
  3. 3

    Completeness verdict: partial

    Step 03

    Missing: item specs (in attachment), quantities, deadline

    ok
    partial
    • item specs (in attachment)
    • quantities
    • deadline
    Rule trace (deterministic)
    Verdict: partial · 1 of 1 items need clarification
    • item 1: × 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 found in Business Central

    Steps 08 + 09

    BC# C-20005 — Aldeakva

    ok
    BC#: C-20005
    Company: Aldeakva
    Email: erling@aldeakva.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/JT122579).

    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 →