If you manufacture through a dealer network, your sales team spends much of the day on three questions: is it in stock, when will it be made if it isn't, and when will my order ship. To answer, a sales manager opens the ERP, then the production plan spreadsheet, calls the shop floor supervisor and only then replies. "Friday" is often an educated guess. Friday slips, and a dealer who has already promised the goods to their own customer calls back unhappy.
This article explains how to hand those three questions to an AI agent without turning it into a machine that produces confident dates nobody can stand behind. You will get a breakdown of data sources, explicit rules for when the agent may quote a date, a sample conversation, a responsibility table and a phased rollout plan.
Three dealer questions, three sources of truth
The usual mistake is to treat all three as a single stock lookup. Each question has its own source and its own level of reliability.
| Dealer question | Where the answer comes from | How reliable it is |
|---|---|---|
| "Do you have 40 units of item N?" | Available-to-sell stock in the ERP: physical stock minus reservations for other orders | High, if reservations are recorded consistently |
| "When will it be available?" | The approved production plan for the coming weeks, often a spreadsheet owned by planning | Medium: plans change because of materials, breakdowns and rush orders |
| "When does my order ship?" | Order status and the dispatch schedule: picked, in quality control, awaiting truck, shipped | High for "shipped", medium for a future date |
That gives the first rule: the agent always says what its answer is based on. "120 units are free in the warehouse" and "the production plan shows the batch next week" carry different weight, and the dealer should see the difference.
Available stock is not warehouse stock
If the agent shows physical stock, it will promise goods already reserved for another dealer. Before launch, agree on what "available to sell" means.
- Reservations. Confirmed but unshipped orders are subtracted. If managers reserve goods verbally without a document in the system, the agent will be wrong, and that is a data discipline problem, not a model problem.
- Dealer allocations. Fast-moving items are often allocated by region or account. The agent needs the specific dealer's allocation, not the total.
- Quality hold. Goods that have not passed inspection sit in the warehouse but cannot be sold. Keep them in a separate location or status.
- Disclosure level. Many manufacturers prefer not to reveal exact quantities. Levels such as "in stock", "limited, we will confirm for your volume" and "out of stock" are often enough.
The model never calculates stock itself. Numbers come from the ERP through an API or an intermediate export; the model only phrases the answer. We covered the integration side for 1C, the system most common in Uzbekistan, in 1C and an AI agent: stock, orders and statuses.
Promise rules: when the agent may name a date
Lead times are the sensitive part. Write the rules down like a policy and enforce them in code rather than relying on the model's judgement.
- Item is in available stock. The agent gives the next dispatch window from the schedule and drafts an order.
- Item is in the approved production plan. The agent gives an estimate including a buffer set by planning, and states clearly that this is a plan, not a commitment. A manager confirms the date.
- Item is not in the plan. The agent does not invent a date. It records the demand (item, volume, desired date) and passes it to the manager and planner. These requests are also useful planning signals.
- Non-standard requests such as a different colour, size, packaging or dealer-specific labelling go to a person. They depend on engineering and line capacity.
The buffer on planned dates is a management decision. If production regularly runs a few days late, build that into the rules, or the agent will faithfully pass on an optimistic plan.
What a conversation looks like
An illustrative exchange; item codes and quantities are made up.
Dealer: I need 60 white P-12 panels and 30 grey. When can you ship to our warehouse?
Agent: Checked against your allocation. White P-12: all 60 are available and can go on the next truck to your region, which is Thursday on the schedule. Grey P-12: 12 are free now. The other 18 are in the production plan, estimated mid next week. That is a plan, and your account manager will confirm the exact date. Would you like 60 white and 12 grey now with 18 grey on the following truck, or everything together later?
Dealer: Split it, please.
Agent: Draft order ready: 60 white and 12 grey on Thursday, 18 grey after the batch is released. Sent to your manager for confirmation during working hours. I will send the order number once it is confirmed.
The agent does not post the order or reserve stock itself. It prepares a draft and the manager reserves. That is safer in the first months; automatic reservation from available stock can come later if error rates stay low.
Who does what
| Process | What the AI agent does | What stays with people |
|---|---|---|
| Availability question | Checks available stock and the dealer's allocation, answers with a stock level | Volumes above allocation, reallocation between dealers |
| Production lead time | Finds the item in the approved plan, gives an estimate with a buffer | Confirming the date, shop floor priorities |
| Order status | Shows the stage and the delivery note number | Investigating delays and disputes |
| Plan slips | Finds affected orders and drafts dealer notifications | Approves wording, decides whom to call personally |
| Pricing and credit | Answers only from the dealer's approved price list or hands over | Negotiation, payment terms, credit limits |
On plan slips: dealers should hear about a delay from you, not discover it at the loading bay. The agent can draft every notice, but they should go out only after a manager approves them, and that check should be enforced in code. Our approval gate incident review explains why an agreement alone is not enough.
Access and rollout
Each dealer must see only their own orders, allocation and prices. Link the Telegram or WhatsApp account to the customer record through a personal invite from the account manager, not through whatever the person types about themselves. Roles matter too: a warehouse clerk needs statuses, while finance questions belong to the owner.
- Week 1. Pick one product group with a stable plan and three to five dealers who ask the most. Export their recent conversations and tag the typical questions.
- Week 2. Fix the data: reservations in the ERP, allocations, quality status, one production plan file with clear columns.
- Week 3. Draft mode: the agent prepares replies, a manager sends or edits them. Log every edit.
- Week 4 onwards. The agent sends availability and status answers itself; production dates still go through a manager. Add dealers as edits become rare.
More on how we build these systems is on the AI agents page, and other sector guides are in the industries section.
FAQ
Our production plan lives in Excel. Is that a problem?
Not if there is one current file with a stable structure: item, quantity, release date, approval status. The agent needs a single version, not five copies on different laptops.
What if the agent gets stock wrong?
That is why a manager confirms reservations at the start. Errors are caught before the dealer receives a confirmed order, and the log usually shows a reservation that was never entered in the system.
Can it reply in Russian, Uzbek and English?
Yes, the agent replies in the dealer's language. Test the quality of Uzbek replies on your own real conversations before launch. Item names still come from your product master, so language does not affect codes.
How much does it cost?
It depends on the state of your ERP and plan, and on how many product groups and dealers you connect. The first conversation is to work that out; get in touch.