ariba://universeAUTOMATION
Menu

> MISSION_LOG.OPEN()---- case 02 / Offer Compare, event planning

Offer Compare

Three messy venue offers in, one comparison a planner can trust out. The AI reads the documents, plain rules check every value.

  • AI document extraction
  • Process automation
  • Event operations
  • German and English documents

The problem

When a company plans an offsite, venues send offers in every format. One sends a formal German PDF. One sends a friendly email. One sends a price table in two languages.

Each one counts money differently. Some prices are net, some are gross. Some offers hide the cancellation terms in tiny footer text. Some promise terms “in the attachment” and the attachment never comes.

A planner has to read every offer, copy the numbers into a sheet, work out the VAT, check the room sizes, and write back to ask what is missing. It is slow work, and one wrong number can cost real money.

What goes in

Three sample offers for the same event: 40 people, 2 days, 1 night, mid-March.

OfferFormatWhat makes it hard
Lake hotelFormal German PDFNet prices plus two VAT rates, staged cancellation fees, breakout rooms not confirmed
Berlin loftInformal English emailNo hotel rooms, AV “on request”, minimum spend, cancellation terms “attached” but missing
Country estatePrice table, German and EnglishNet and gross mixed in one table, one line with no basis at all, a total that doesn't add up, main room too small, terms in tiny footer text
The three sample offers side by side: a formal German hotel PDF, an informal English email and a mixed-language price table, each marked as fictional sample data.

What is automated, and what stays human

StepBeforeWith Offer Compare
Read each offer and pull out the factsPlanner reads and copies by handAutomated. The AI reads the document and returns 25 fields, each with the exact sentence it came from
Check every number against the documentPlanner re-reads, or trusts their copyAutomated. Code checks that each quote is really in the document and that the number is in the quote
Work out net, gross and VATPlanner calculates by handAutomated. Code uses only the VAT rates the offer states. If the offer doesn't say, it is flagged, never guessed
Compare the offers for this eventPlanner builds a spreadsheetAutomated. One total per venue for 40 people, 2 days, 1 night, with every assumption listed
Spot problems: wrong totals, rooms too small, missing termsEasy to missAutomated. Flagged in red or amber on the screen
Write to the venue with open questionsPlanner writes each emailDrafted automatically, in the language of the offer
Decide, correct, and sendPlannerStays human. The planner accepts or corrects values (every change is logged) and sends the email themselves

How it works

  1. 01

    Read. The AI reads each document and returns every field with an exact quote from the text. Missing is a valid answer, so it doesn't guess.

  2. 02

    Check. Plain code checks every value: the quote must be in the document, the number must be in the quote, dates must be real dates, the total must match its line items.

  3. 03

    Compare. Code works out a gross total for this event per venue. If something is missing, the total says “incomplete” and names what is missing, instead of quietly leaving it out.

  4. 04

    Show. One screen with a status for every value: confirmed (green), check (amber), missing (grey), conflict with the brief (red). Click any value to see the sentence it came from.

  5. 05

    Follow up. For each venue, the open questions become a polite draft email in German or English. A person edits and sends it.

Comparison table of three venue offers. Each value has a coloured status dot. An open popover shows the source sentence for “35 seats” and a red conflict: the brief needs 40 seats.

What it caught in the sample offers

  • Country estate: the stated total is 480 EUR more than the sum of its own line items.

  • Country estate: the main room seats 35, but the event needs 40.

  • Country estate: the AV price doesn't say if it is net or gross, so it is kept out of the total and the venue is asked.

  • Country estate: the offer expires in 2 days, shown in red as the decision deadline.

  • Berlin loft: no cancellation terms. The cost of cancelling shows as “unknown, ask supplier”.

  • Berlin loft: no hotel rooms. The total is marked incomplete and says a separate hotel is needed.

  • Lake hotel: breakout rooms are not confirmed, so the draft email asks for them.

Tested, not promised

I checked the system against correct values I wrote by hand for all three offers.

What was measuredResult
Fields read correctly75 of 75
Wrong values marked as confirmed0
Truly missing fields returned as missing (not guessed)15 of 15
Planted errors that still looked confirmed0 of 86
Time to read all three offersabout 1 minute
Model cost for all three offersabout 0.12 USD

Planted errors: a clean result doesn't prove the checks work. So I took the real results and planted 86 typical mistakes, one at a time: a price 10% off, net and gross swapped, a wrong VAT rate, a date one day off, a wrong room count, text from another offer. None of them was marked as confirmed.

Honest limits: these are three sample offers I designed, not real supplier mail. During testing the AI once left out one line of a price table. The check that every printed line is covered caught it, and I made that check permanent. The real test is a few hundred real offers.

Short version: The AI reads, the rules decide.

Time saved

What is measured: the system reads and checks three offers in about one minute, for about 0.12 USD.

What is not measured yet: how long a planner spends on the same offers by hand. That depends on the team and the offers, so I don't put a number on it.

What a planner no longer does by hand: copy prices from PDFs and emails into a sheet, work out VAT and gross totals, check room sizes and dates against the brief, find missing terms, and write the first draft of every follow-up email. The planner still reviews, decides and sends.

How I would measure it with real offers:

  1. 1Time the manual process on 20 to 30 real offers: reading, copying, calculating, writing back.
  2. 2Run the same offers through the system and time the planner's review.
  3. 3Report minutes per offer before and after, plus how many values the planner had to correct.

Data handling

  • Only the document text goes to the AI model. Email addresses and phone numbers are masked before it is sent.
  • No raw AI responses are stored. Contact people are kept as name and role only.
  • Every reviewer change is logged with time, field, old value and new value.
  • Nothing is sent to a venue automatically.
  • For production, I would use an EU-hosted model.

Built with

Python, a large language model for reading (switchable between providers), plain rule checks in code, an automated test suite and evaluation script, and a simple web interface for planners.

  • Python
  • Claude API
  • pydantic
  • pdfplumber
  • Streamlit
  • pytest

What's next

  • Read scanned offers (OCR).
  • More formats, such as Excel quotes and emails with several attachments.
  • Learn from planner corrections: every correction becomes a new test case.
  • Measure planner time saved on real offers.

Have offers like these piling up?

I'd like to test this on real ones. 15 minutes is enough to see if it fits.