Skip to content
← All work

Professional services · OperationsExperimental build

Enquiry Operations Assistant

An AI-assisted workflow designed to reduce the repetitive work of reading, classifying, and routing inbound enquiries, without removing human judgement.

Built to answer a practical question: how much of the first ten minutes of handling a new enquiry can be removed without losing judgement?

  1. 01Input

    A free-text enquiry from a form, an email or a referral.

  2. 02Classify

    One approved category and a priority from a fixed rubric.

  3. 03Summarize

    A one-sentence record built only from what the text says.

  4. 04Recommend

    The smallest useful next step, for a person to confirm.

Challenge

Inbound enquiries arrive as free text across email and web forms. Someone has to read each one, decide what it is, how urgent it is, and who should act, before any value is created.

Objective

Produce a consistent structured record for every enquiry within seconds, and recommend an action, while keeping a person in control of the reply.

Strategy

Treat the model as a careful first reader, not a decision-maker. Constrain its output to a fixed schema, validate it, and show the reasoning so the operator can disagree quickly.

Solution

A small operational interface with structured enquiry capture, validated analysis, priority-aware review, and a suggested next step ready for a human to confirm. The public version below runs a deterministic local simulator in place of a model. The schema, validation and review workflow are the parts that would carry over to a real AI integration.

Result

An experimental build used internally. No client metrics are claimed. The public AI Lab on this site shows the same workflow as a labelled simulated preview.

Interactive demo

Try the workflow

A working inbox with illustrative sample enquiries. Analyse new ones, edit any suggestion, mark enquiries reviewed, move them through the workflow and inspect the activity history.

Simulated preview. This demonstration uses local rules and synthetic examples. No external AI service is contacted, and nothing you type leaves your browser.

Enquiry Operations Assistant

Demo mode

Simulated preview — local rules, no live AI.

Loading the local demo…

Demo data stays in this browser.

Reset the demo?

This removes the enquiries you added, every edit and the activity history, and restores the illustrative sample inbox. It only affects this browser.

Things to try

  • Open the urgent booking-form enquiry and read why it is Urgent while the six-week website deadline is only High.
  • Change a priority or rewrite the suggested action, then compare it with the simulated suggestion.
  • Re-run the analysis on an edited enquiry: your values are kept and differences are shown for you to decide.
  • Add a new enquiry from a sample, or type your own synthetic one, and turn on “Simulate a failed analysis” under Demo controls.

Prefer more room? Open the demo full width. It shares the same local data.

Technical decisions

The important decision is not the classifier. It is how suggestions and human decisions relate.

  • A fixed, validated output schema

    Summary, category, priority, suggested action, rationale and uncertainties. One Zod schema is the runtime authority; the TypeScript types are inferred from it, and nothing enters application state without passing it.

  • A deterministic engine for the public demo

    Weighted phrase rules with a documented precedence order, a conservative priority rubric and sentence templates filled only with facts found in the text. Same input, same output, no network.

  • Generated values and human edits kept apart

    Overrides are stored beside the original suggestion, so every edited field says “Edited by you” and the suggestion stays one click away.

  • Explicit review and workflow states

    Priority, analysis status, review and workflow status are separate. Opening an enquiry is not a review, and work cannot move on until a person marks it reviewed.

  • Local demo persistence only

    Synthetic records live in this browser under a versioned key, validated on load. Malformed or outdated data is discarded safely and the demo resets.

  • Safe handling of thin or invalid input

    Short, repetitive or unreadable messages are kept and marked for manual triage instead of being guessed at. Enquiry text is rendered as plain text, never as HTML.

  • A clear boundary for a real integration

    The interface depends on one analyser function and one validation step. A production analyser could call a model through a server route without changing the review workflow.

Tools: Next.js, TypeScript, Zod, Tailwind CSS, node:test. No AI SDK, database or backend service is used by this demo.

Limitations

The portfolio version does not call a real language model, connect to an email inbox, persist data on a server, or send replies.

Its rules match phrases; they do not understand language. They are good enough to show the workflow honestly and are tested, but an unusual enquiry will be misread more often than a capable model would misread it. That is why every field is editable and every result waits for a person.

A production version could add

A possible path for a client implementation. None of this is deployed here.

  1. 01Authenticated workspace access. Named operators instead of “Demo operator”, with roles for who can review, reassign or archive.
  2. 02Secure enquiry persistence. A database with encryption at rest and access scoped to the workspace.
  3. 03A replaceable AI provider. The analyser becomes a server-side call to a model; the provider can change without touching the interface.
  4. 04Structured model output. The model is asked for exactly this schema, so its answer can be checked rather than interpreted.
  5. 05Server-side validation. The same schema runs on the server before a result is stored; failures fall back to manual triage.
  6. 06Durable background processing. A queue for analysis when volumes or response times call for it, with retries that never duplicate records.
  7. 07Rate limiting and cost controls. Per-workspace limits, input size caps and budget alerts on model usage.
  8. 08Human review. The same rule as here: suggestions are proposals, and a person confirms before anything is acted on.
  9. 09Persistent audit events. The activity history written to durable storage with real actor identities.
  10. 10Secure integrations. Mailbox, form and CRM connections with least-privilege credentials, held server-side.
  11. 11Monitoring and operational metrics. Error rates, analysis latency and how often people change each suggested field, measured rather than assumed.
  12. 12A documented retention policy. How long enquiry text and analysis are kept, and how they are deleted.

Have a workflow that starts with someone reading and sorting?

We design workflows like this one, integrate AI where it earns its place, and build the internal tools around them. Happy to talk through yours.