Turning WhatsApp orders into Odoo sales orders with an AI agent

In many wholesale businesses, orders don't come through the webshop. They come as WhatsApp messages, emails, photos of a handwritten list and voice notes from sales reps. Someone in the office reads each one, finds the customer in Odoo, looks up product codes and types the order. This guide explains how an AI agent can take over the reading and lookup while a person keeps the final decision.

The flow

  1. The message arrives. WhatsApp messages come in through the WhatsApp Business Platform (a webhook), emails through a mailbox the agent reads, voice notes are transcribed first.
  2. The agent identifies the customer. Usually by phone number or sender address, matched against contacts in Odoo. If there is no match, the draft is flagged instead of guessed.
  3. The agent matches products. Customers write "the 2mm clips" or "same as last time", not product codes. The agent searches your products, the customer's previous orders and a list of known nicknames, and picks the most likely line items.
  4. A draft sales order is created. Through Odoo's API, in the Quotation state, with the right price list and the original message attached.
  5. A person confirms. The draft shows the message next to the order lines, with anything uncertain highlighted. One click confirms, or the person fixes a line first.

Why the draft step matters

A model that reads "40 boxes" correctly 98 times in 100 still gets two orders wrong, and a wrong order costs more than the time saved on typing. Keeping orders as drafts makes the agent safe from the first day. Later, you can let it confirm automatically for specific customers or below a certain amount.

What makes matching work

Data and privacy

The agent needs a language model to read messages. It can use a hosted model such as Anthropic Claude or Google Gemini, or a model running on your own hardware. Only the message and the data needed for matching are sent, and the decision of which provider to use is yours.

What it takes

You need Odoo with clean products and contacts, a WhatsApp Business account or a mailbox for orders, and two or three weeks of real messages to tune the matching. If you don't have Odoo yet, we set up sales and inventory first and add the agent in the next phase.

More on how we build these: AI agents for Odoo.

Want this in your Odoo?

Book a free 30-minute call. You walk us through one order, we tell you what it would take and send a fixed price for the first phase.

Book a scoping call