AI for an Electrical Supplies Distributor: Quotes, Stock and Orders

AI for an Electrical Supplies Distributor: Quotes, Stock and Orders

An AI agent builds quotes from available stock and the current price table, then sends the draft order to the buyer for approval before the sale closes.

•

Want to apply this in your company?

Book a call with Juan →

An AI agent for an electrical supplies distributor builds the quote by checking available stock and the current price table, flags replenishment lead times, and prepares a draft order. The sale is only confirmed after the buyer approves. The most important gain is not answering faster. It is avoiding a promise on an item that is not in the warehouse. This guide walks through the flow, the rules that should stay fixed, and the control points the operation must define before the agent talks to customers.

Key takeaways

  • The agent quotes from current stock and the current price table, never from memory or estimates.
  • Pricing, discounts and lead times follow fixed rules, and every exception goes to a person.
  • The order starts as a draft and only closes with a recorded approval from the buyer.
  • Every quote leaves a trail: what was checked, what was promised, and who approved it.
  • The pilot starts with one product family and one channel, with a metric agreed before scaling.

Where quoting usually gets stuck

In most distributors, quoting runs across WhatsApp, email, spreadsheets, and a management system that does not always talk to the other tools. The first problem is usually the gap between physical stock and available stock, because part of the balance is already reserved for other orders or in transit. The second is the unit of sale: cable is sold by the meter, roll, or reel, and circuit breakers by box or unit, which changes the quantity math. The third is the customer-specific price table, with negotiated terms, freight rules, and lead times that differ by account. An agent that cannot see all three layers will sound confident and still get the delivery wrong.

How the agent builds a quote, step by step

The flow below is the sequence we usually recommend for a pilot. Each step should have an identified data source and a record.

  • Identify the customer and the commercial profile from the account record, so the correct price table applies.
  • Interpret the request into items, specification, color, unit of sale, and quantity. If anything is ambiguous, ask before quoting.
  • Check available balance, subtracting reservations and orders in transit.
  • Apply the current price table and only the discounts this customer is authorized to receive.
  • Build the proposal with items, quantities, price, estimated lead time, and a clear label for what is replenishment rather than immediate stock.
  • Generate a draft order and send it to the buyer with a summary of changes compared with the last quote.
  • Record the status of each step: sent, awaiting approval, approved, declined, or expired.

The agent prepares the proposal, but it does not close the sale, issue new terms, or promise a delivery date without stock confirmation.

Which rules stay fixed and which go to the buyer

The most important distinction in this project is between rules and judgment. Rules should run in a deterministic way, without depending on how the model interprets them. Commercial judgment should go to a person. A starting reference list can look like this:

  • Table price and discounts within the approved range: fixed rule, with no exception defined by the agent.
  • Suggestion of an equivalent product: the agent may propose it, but the swap needs confirmation from the customer and the buyer.
  • Quantity above what is available: offer a partial delivery or a replenishment date, never promise the full amount.
  • Construction projects with drawings, orders with special terms, or specific tax documentation needs: route to a person.
  • Customer without a complete record or with a flag in finance: do not send commercial terms, only route to a person.

In how we work, the sequence is to map the current process, limit data and actions, pilot a real flow with records and an agreed metric, and then hand over the operation and decide whether to expand, adjust, or stop. This order keeps out of the agent any rule that nobody in the company has been able to explain in writing.

How to set up buyer approval without stalling the sale

Approval has to be quick for the buyer and clear enough that they can decide without opening a system. In practice, the summary works best as a short message with the items, the total price, the lead time, the source of the stock information, and the differences from the previous quote. The reply can be a simple yes or no, with the option to request an adjustment.

Decide in advance what happens when nobody responds. The draft should expire after an agreed period, and the agent should not treat silence as either refusal or acceptance. If the customer wants to come back later, the proposal is rebuilt with updated stock. Outbound messages also follow the platform's own rules, so the agent must respect the WhatsApp customer service window before sending any new message. The topic is covered in the WhatsApp 24 hour window and the AI agent.

Illustrative scenario: a job with partial stock

Illustrative scenario: an electrician requests cable, circuit breakers, and outlets for a renovation. The agent finds enough balance for most items, but one cable shows partial stock with replenishment expected the following week. The agent builds the proposal with the quantity available, marks the rest as replenishment with an estimated date, and does not change the breaker price outside the authorized range. When the draft goes to the buyer, it notes that a cable with equivalent specification has immediate balance and asks the customer whether they accept the swap. The buyer approves the partial delivery and the substitution, and the record stores each decision. If the customer had declined the swap, the order would proceed only with the confirmed items, without the agent generating a new offer.

What to log for later audit

Without records, a wrong quote becomes an argument without evidence. A useful history keeps the minimum data needed to rebuild the decision:

  • Date and time of the stock check, and the source used.
  • Version of the price table and of the discount rules applied.
  • The exact text of the proposal sent to the buyer and to the customer.
  • The rule or reason behind each condition that differs from the standard table.
  • Who approved, through which channel, and when, including refusals and expirations.

This record also supports data protection. The quote should use only the data needed for its purpose, such as company name, tax registration number (CNPJ), and delivery address, and it should not store personal information beyond what the process requires. Brazil's data protection authority (ANPD) publishes guidance on these topics, and it is worth reviewing before you set up the flow. Messages from customers may also contain instructions meant to change how the agent behaves, so the tool should treat customer text as data, never as a command. OWASP maintains public guidance on preventing prompt injection, which is worth reading before the pilot starts.

How to start with a pilot

The pilot should cover one product family, for example cable and protection, and one channel, such as the counter WhatsApp line or the sales team's number. Before switching on any automation, the team needs an organized price table and a written description of how available stock is calculated. To test without risk, simulate orders with fictitious data before connecting the real system, as described in our guide on testing agents with mocks and a sandbox.

Agree on the metric before starting. One option is to measure the time to a proposal and the share of quotes that needed correction because of an availability error. At the end of the period, the decision should be objective: expand, adjust the rules, or stop. Operations that already buy under formal approval can apply the same logic described in the AI agent for procurement that compares supplier quotes. For companies with several stock locations, the starting point is usually the quality of the product and customer records, as discussed in data that needs to be organized before AI.

Frequently asked questions

Do I need to replace my management system to use a quoting agent? Not necessarily. In many cases, the agent reads an export or a read-only integration of stock and the price table, and writing orders comes in a later stage. The decision depends on how reliable the current data source is and how much the operation wants to automate at the start.

Can the agent close the order if the customer confirms on WhatsApp? We do not recommend it. The customer's confirmation matters, but the sale should depend on the buyer's approval, since the buyer is accountable for the commercial terms. That step is recorded and can be audited later.

How do I stop the agent from promising a lead time that logistics cannot meet? Separate immediate stock from replenishment in the records, and have the arrival date entered by the person who receives the goods. The agent should always present the lead time as an estimate, with its source, and never as a guarantee.

How long before I see results from the pilot? It depends on the volume of quotes and the product family chosen. What matters most is defining the period and the metric before starting, so the evaluation is objective and does not rely on the impressions of whoever used it.

Sources