AI

Practical business guide

AI extracted your order details. Are the fields actually right?

Separate valid JSON from accurate information, define missing values and check a fictional order before connecting business actions.

AIT Technology · Published and checked

Fictional paper order beside a laptop with an abstract data grid and one amber review cell
AI-generated editorial illustration; fictional scene.

An AI assistant converts an enquiry into neat fields: service, date and quantity. The result looks ready for your spreadsheet. Yet a perfectly shaped record can contain an invented quantity or a date that the customer never confirmed.

This original AIT exercise helps a business owner define a small extraction task before connecting it to orders or bookings. Documentation was checked on 26 November 2026. The examples are fictional and do not demonstrate a live provider integration.

Separate the format check from the fact check

Microsoft's JSON mode documentation distinguishes valid JSON from adherence to a specific schema. Its structured outputs guide explains how supported model calls can constrain output to a supplied schema.

That is useful for software integration. It does not establish that a field agrees with the source. Your workflow still needs checks for missing information, allowed business values and evidence. Confirm feature support in the provider, model and API you actually use; this article does not promise universal compatibility.

Define a minimal record

Begin with three fields and a source reference. Decide how an unknown value is represented before running a model. Keep review status separate from booking or payment status. The following is a suggested business brief, not an API schema:

FICTIONAL EXTRACTION BRIEF
Source: enquiry DEMO-104
Service: use the approved service list or null
Requested date: exact supplied date or null
Quantity: explicit whole number or null
Evidence: short source phrase for each value
Missing information: list unresolved fields
Result status: draft_for_review
Actions: do not book, send or charge

For an implemented schema, your developer must define types, required properties and nullable values using the supported schema subset. A prompt containing this brief is not equivalent to enforcing a schema in the application.

Try an ambiguous enquiry

Use this synthetic input: “Could you quote for a label setup session? Tuesday might work, but please confirm the date. We have not decided how many staff will attend.”

In this exercise, the appropriate outcome is a draft service match only if an approved service clearly fits; the requested calendar date and quantity remain unresolved. “Tuesday” does not identify an agreed calendar date, and an attendance figure is absent. An apparently helpful estimate should fail the factual review.

Check four failure cases

  1. Missing quantity: verify that the output leaves it unknown rather than borrowing a default from another record.
  2. Ambiguous date: require clarification instead of silently choosing next Tuesday.
  3. Conflicting values: supply two different quantities in a fictional source. Check that the conflict is surfaced for review.
  4. Incomplete or refused response: simulate a missing result in your application test. It must remain unresolved, with bounded retries and no business action triggered.

These are proposed acceptance cases, not published benchmark results. In a private test, compare every accepted value with its source, and check whether supporting text actually exists. Keep customer documents and credentials out of an unapproved AI service.

Connect actions only after validation

Have the application reject invalid types and unknown service codes. Route missing or contradictory values to an authorised reviewer. Keep any later permission to create an order separate from the model's extraction result. A field labelled “approved” by the model is not an approval record.

Build on our repeatable workflow test pack and AI action permission card. Measure corrections and unresolved cases alongside processing time; a fast record that needs extensive repair may offer little benefit.

AIT Technology can customise extraction, review screens and integrations for your firm's documents and departments. We can scope a private pilot around a real process before proposing wider automation.

Sources checked 26 November 2026: the two Microsoft guides linked above. No live model, customer document or order system was used for this article.