Skip to content
Prompt Consulting
de
agentsoperations

AI agent for quotes: from a customer's RFQ to a draft quote

How an AI agent turns a request for quotation into a draft quote in your ERP: what it reads, which prices it may use, what it asks back and what sales decides.

Thilo Krause

An AI agent for quotes reads a customer's request for quotation, finds each requested item in your article master, takes the price from your ERP's price rules and creates the quote there as a draft. Lines it can't match, quantities it can't read and anything outside your price rules go to a person with the question already written. Sales then reviews a draft instead of building one, and spends its time on the lines that need a decision.

I build agents like this. What follows is how I would set one up, not a client project. The example further down is invented.

AI agent for quotes: from a customer's RFQ to a draft quote

Where the time goes on a quote today

At a wholesaler or a manufacturer that quotes from a catalogue, an RFQ arrives as an email with a spreadsheet, a PDF or a pasted list. Someone in inside sales then works through it line by line:

  • finds the article behind the customer's description or their own part number
  • checks whether the quantity is in pieces, packs or metres
  • looks up the customer's price, or the list price and the discount group
  • checks stock or lead time for anything that isn't a stock item
  • types it all into the ERP and sends the PDF

Each step is quick on its own. The time goes into the lookups between them, and the quote sits in a queue while the person is on the phone. Most of these lookups are rules your ERP already holds. The agent's job is to apply them consistently and to stop where they run out.

What the agent does, step by step

1. Intake. The agent watches the mailbox or form where RFQs arrive and keeps the original email and attachments unchanged. It separates RFQs from orders, complaints and supplier mail. Orders go to order entry. An email it can't classify goes to a person.

2. Reading the request. The language model extracts each requested line: the customer's description, their part number if they gave one, the quantity, the unit and any requested date. A table in an attached spreadsheet is read as a table, not as text. A line the model is unsure about stays marked as unsure. It is never quietly filled in.

3. Matching to your articles. The agent looks for the article in this order. First the customer's own part number, if your ERP keeps a cross-reference for that customer. Then a manufacturer part number or EAN. Then a search on the description. A match on the first two counts as a match. A match found only by description is a suggestion, and sales confirms it.

4. Pricing. The agent does not set prices. It asks the ERP for the price the ERP would charge this customer for this article and quantity on this date, from the customer price, the price list or the discount group. If the ERP returns no price, the line goes to sales. Margin floors, special prices and project prices stay with people.

5. Availability. For each line the agent reads stock and the standard lead time from the ERP. It writes down what it found. It promises nothing.

6. The draft. The agent creates the quote in the ERP as a draft, with the open questions at the top. Sales reads the draft, settles the open lines and sends it from the ERP as usual. The agent sends nothing to the customer.

7. Follow-up. When a quote has been out for the number of days you set, the agent drafts a short follow-up for the salesperson to send or discard.

The rules that keep it safe

Every decision with money attached sits in code or in the agent's ERP permissions, not only in its instructions. I wrote about why in a prompt is a request, a guardrail is a wall.

RuleWhere it livesWhat happens when it fires
Price comes only from the ERP's price logicCode: the agent has no field to type a price intoLine without a price goes to sales
No discount beyond the customer's agreed termsERP permissionsDraft is blocked, sales decides
A description-only match is never finalCodeLine is flagged for confirmation
Unit must match the article's sales unitCode: unit conversion from the article masterUnclear unit goes back as a question
Quote total above a set amountCode: threshold set by salesDraft goes to the sales lead
No message to the customerMail permissionsAgent can only save drafts

The threshold and the tolerances belong to sales. The person who builds the agent should not choose them.

An invented example

A customer emails an RFQ for a site extension with a spreadsheet of 14 lines. Ten lines carry the customer's own part numbers, and the ERP has a cross-reference for all ten. Three lines name a manufacturer number. The last line says "cable ties, black, long, 2 boxes".

The agent matches ten lines through the cross-reference and three through the manufacturer number. The ERP returns a customer price for twelve of those thirteen. The thirteenth is a non-stock item without a price for this customer. For the cable ties it suggests two articles and asks which length the customer means. "2 boxes" becomes 2 packs of 100, because the article master sells them in packs of 100.

The salesperson opens a draft with twelve priced lines and two open questions at the top. She prices the non-stock item, picks the cable tie after a two-line email to the customer and sends the quote. The lookups are done. Her work is the two decisions.

What the agent needs before it can start

Clean article data. Sales units, pack sizes and manufacturer numbers have to be in the article master. If three articles share one description, the agent can only ask, and so can a new hire.

Customer cross-references. If your regular customers quote their own part numbers, keep those numbers in the ERP. Every confirmed match the agent proposes can be saved as a new cross-reference, so the share of open questions drops as the list grows.

Price logic in the ERP. If prices live in a salesperson's spreadsheet, the agent has nothing to read. Move the rules into the ERP first, or accept that pricing stays manual and let the agent do matching and drafting only.

An audit trail. For each quote, log which article the agent matched, by which route, which price the ERP returned and what the salesperson changed. My note on what an AI agent audit trail should record lists the fields.

When not to build it

If most of your quotes are engineered to order, with drawings, calculations and supplier enquiries for each one, the lookups are a small part of the work. An agent that drafts the covering email may still help, but it won't change how long a quote takes.

The same goes for a handful of RFQs a week. A person who knows the range handles them faster than any setup you would have to maintain. Ranking what to automate first shows how to compare quotes with other candidates.

How to start

Run the agent in shadow mode first. It reads each RFQ and builds its draft in a separate list, while sales quotes as usual. After a few weeks, compare line by line. Did it match the same article? Did it get the same price from the ERP? Which questions did it ask that sales answered without thinking? Only when its matches hold up does it start writing drafts into the ERP.

Pick twenty RFQs from last month, including a few awkward ones, and note for each how long the quote took and where the time went. Bring that list to a thirty-minute scoping call, and we can work out which lines an agent could have drafted and which would still have come to your team.

All notes

Next step

Tell us what your team still does by hand.

Thirty minutes on a call. You describe the work that eats the week. We tell you whether an agent can take it and what building it would cost, including when the answer is that it cannot.

  • Built on your current stack
  • Nothing to migrate
  • Three clients at a time

Analytics and spam protection

We would like to count visits with Google Analytics, and to load Google's spam check on the contact form. Both load only if you accept. Either way we store one entry in your browser so this does not ask again, and the contact form works the same whichever you press.

What we collect, in full