Ecommerce Chatbot: How to Build an Assistant That Sells and Serves Your Customers on WhatsApp and the Web
An online store chatbot that answers sizing and shipping questions, recommends products, confirms cash-on-delivery orders, and recovers abandoned carts on WhatsApp. A practical gui...

A visitor lands on your online store at two in the morning, likes a product, but has one question: "Will a size L fit me at 80 kilos?" or "How much is shipping to Assiut and how long does it take?" Nobody answers, so they close the page and never come back. In the morning, your customer service team finds dozens of WhatsApp messages all asking the same things: "Where's my order?", "Can I return it?", "Does it come in another color?" This is where an ecommerce chatbot comes in: a smart assistant that knows your products, prices, stock, and policies, replies instantly in your customer's dialect, recommends the right product, tracks the order, confirms cash-on-delivery orders, and hands over to a staff member when needed. But a successful store chatbot isn't measured by how many messages it answered, but by the sales it saved, the returns it prevented, and the team time it freed up.
In this guide we explain what a store chatbot really does, the difference between a traditional bot and an AI assistant, its key uses in sales and support, what's specific to stores in Egypt and Saudi Arabia from cash on delivery to WhatsApp, connecting to your store platform, recovering abandoned carts, the honest limits of chatbots, success metrics, and how to start with a first version — and how we build all of this at Coderator.
1. Who is Coderator? And why do we build chatbots that sell, not just reply?
Coderator is a software company specializing in advanced business systems, mobile apps, and integrating AI into real operating environments. We work from our offices in Giza and Riyadh, serving companies across the Middle East and North Africa and beyond. We know the reality of ecommerce in both markets: customers who ask on WhatsApp before they buy, a large share of orders paid cash on delivery, platforms like Salla and Zid in Saudi Arabia, plus Shopify, WooCommerce, and custom-built stores. So we don't build a chatbot that replies with canned answers, but an assistant connected to your store's real data: products, stock, prices, orders, and shipping companies. And we'll tell you honestly if your real problem lies in your product pages or shipping policy, rather than the absence of a chatbot.
2. What is an ecommerce chatbot?
An ecommerce chatbot is a conversational assistant that works on your store's website or app, or on WhatsApp and Instagram, and serves customers throughout the buying journey: before purchase (answering product questions, recommending, and comparing), during purchase (helping choose size and color and complete the order), and after purchase (tracking the order and handling exchanges and returns). The difference between it and an FAQ page is that it answers the customer's own question, in their own words, about their own order.
The importance is clear in the numbers: research from the Baymard Institute, based on dozens of studies, shows that around 70% of shopping carts are abandoned before the order is completed. Some of those carts are abandoned because the customer is just browsing, but others are abandoned because of a question that went unanswered, a shipping cost that came as a surprise, or doubts about sizing or the return policy. That second group is exactly what a good chatbot can save.
3. Traditional bot or AI assistant?
Not all chatbots are alike, and the difference directly affects your customer's experience:
Traditional bot with buttons and rules
- Fixed menus and buttons: "Press 1 to track your order, 2 for shipping...", and canned answers for keywords.
- Predictable, cheap, and suitable for simple, well-defined paths.
- Fails when customers phrase questions their own way: "Will this jacket keep me warm in winter?" doesn't match any button.
AI-powered assistant
- Understands questions in any phrasing and any dialect, and replies naturally based on your store's data.
- Searches the catalog, recommends, compares, and reads order status from your system.
- Needs careful setup so it doesn't invent information or promise what you don't offer.
A mix: usually the smartest choice
- AI to understand the customer and handle free conversation, plus buttons and defined flows for sensitive operations (confirming an order, a return, or an address change).
- Combines conversational flexibility with operational precision.
4. A sales assistant: from question to cart
The biggest value of a store chatbot isn't answering complaints, but helping the customer buy. Here's what it does best as a sales assistant:
The principle here: the chatbot recommends from products actually in stock at their current prices, because recommending a sold-out product or quoting an old price is worse than not recommending at all.
5. After-sales service
This is where the chatbot saves your team the most time, because most after-sales messages are repetitive. "Where's my order?" alone can make up a large share of any store's messages. A chatbot connected to your system handles these on its own:
- Order tracking: verifies the customer by order number or phone, and shows the status and the shipping company's tracking link.
- Order changes: changing the address or delivery time, or cancelling before shipping, as your policy allows.
- Exchanges and returns: explains the policy, checks the order's eligibility, opens the return request, and schedules pickup.
- Invoices: sends a copy of the invoice or payment details.
- Complaints: collects the details and photos of the problem, then hands it to a staff member with a full summary instead of starting from scratch.
6. What's different about stores in Egypt and Saudi Arabia
Most off-the-shelf chatbot tools are designed for American and European stores, and they miss details that make all the difference in our market:
- Cash on delivery: a large share of orders, especially in Egypt, are paid on delivery, bringing fake orders or orders refused at the door. A chatbot that confirms the order and address with the customer on WhatsApp before shipping reduces these losses.
- WhatsApp first: many customers ask on WhatsApp before buying or instead of using the website, so the bot must work just as well there.
- Dialects: an Egyptian customer writes "عايز", a Saudi writes "أبغى", another writes in Franco (Arabic in Latin letters), and the bot must understand them all and reply in natural language, not stiff formal Arabic.
- Cities and shipping: different shipping costs and times between governorates and cities, and multiple local shipping companies.
- Seasons: Ramadan, Eid, and White Friday multiply message volume, and that's where the difference between an overwhelmed team and a bot that handles the load shows.
- Trust: customers want to know there's a human they can reach when something goes wrong, so handover to staff must be clear and easy.
7. Recovering abandoned carts
Cart recovery is one of the highest-return uses of a store chatbot, but also the one most prone to exaggerated promises. Platforms that sell chatbot tools publish recovery rates that vary widely, many of them from hand-picked case studies. The honest approach is to measure the result on your own store. The effective method has two parts:
Before abandonment: the chatbot steps in when the customer shows hesitation: lingering on the checkout page, trying to leave, or returning to the same product several times. It offers help with one simple question ("Need help with sizing or shipping?"), because addressing the reason for hesitation works better than chasing the customer after they've left. After abandonment: a follow-up WhatsApp message to customers who have opted in to receive messages, reminding them of the product and answering the common question, with a direct link to complete the order. The key word here is opted in: WhatsApp requires customer consent for business-initiated messages, and spammy messages damage your number's reputation and can get it blocked.
8. Connecting to your store platform and systems
A chatbot that isn't connected to your store's data is nothing more than a talking FAQ page. The real value comes from integration:
- Store platform: Salla, Zid, Shopify, WooCommerce, and custom-built stores, to read products, stock, prices, and orders.
- Shipping companies: to read shipment status and delivery times, and open pickup requests for returns.
- Conversation channels: website, app, WhatsApp Business, and Instagram, with a unified inbox for the team.
- Customer service system: to open tickets and hand conversations to staff with full context.
- CRM and marketing: to record customer interests and messaging consent, without flooding them with messages.
9. But honestly: the limits of chatbots
AI chatbots can make mistakes, and their mistakes on your store are your responsibility. The best-known example: in February 2024, a civil resolution tribunal in Canada held Air Canada liable for wrong information its chatbot gave a customer about a refund policy. It rejected the company's defense that the chatbot was a "separate entity" and found that the company is responsible for all information on its website, whether it comes from a static page or a chatbot. The lesson for any store: a chatbot that invents a discount or promises a return that contradicts your policy can cost you money and reputation.
That's why we follow clear rules: the bot answers questions about prices, offers, and policies only from your official data, and if it can't find the answer, it says so and hands over to staff instead of guessing. Sensitive operations (refunds, policy exceptions, or compensating customers) are never decided by the bot on its own. We test it before launch on real questions from your customers, including difficult ones and attempts to coax it into promises. And we'll be frank: a chatbot doesn't make up for weak product pages or an unclear shipping policy — it exposes them through customers' repeated questions, which is a benefit in itself.
10. Success metrics
Don't measure a chatbot's success by the number of conversations. These are the metrics that reflect its real impact on your store:
- Conversion rate: comparing purchase rates between visitors who chatted with the bot and those who didn't.
- Conversation-attributed revenue: orders placed after a conversation with the bot.
- Recovered carts: the share of abandoned carts completed after the bot stepped in.
- Self-service resolution rate: conversations that ended without handover to staff.
- Cash-on-delivery refusals: before and after confirming orders through the bot.
- Customer satisfaction: a quick rating after the conversation, and review of low-rated conversations.
- Team time: the number of messages the team handles manually before and after the bot.
11. Start with a first version, then scale
Don't start with a chatbot that does everything. Start with what consumes the most team time or loses the most sales. A good first version for an online store usually includes: answering product, sizing, shipping, and return questions from your official data, tracking orders from your system, confirming cash-on-delivery orders on WhatsApp, clear handover to staff, and a dashboard with the core metrics. We launch it on one channel first, and review real conversations weekly to improve the answers.
Once the results are proven, we expand: catalog search and product recommendations, cross-selling, abandoned cart recovery, order changes and returns, and more channels such as Instagram. Every addition is built on what we've learned from your customers' actual conversations.
12. Cost and methodology
The cost of an ecommerce chatbot depends on several factors: the number of channels (website, WhatsApp, or Instagram), your store platform and how easy it is to integrate, the number of products and the complexity of their options, the operations the bot needs to perform (answering only, tracking, or handling order changes and returns), integration with shipping companies and customer service systems, support for dialects and voice notes, and expected conversation volume. There are also ongoing running costs: AI model usage, WhatsApp Business messages based on Meta's pricing, and hosting. That's why we start with a reasonably priced first version, measure its impact, then expand.
Our methodology for building store chatbots:
- Analyze current conversations: we review your customers' actual messages to find the most frequent questions and where sales are being lost.
- Prepare the knowledge: shipping and return policies, size charts, and offers, in an official format the bot relies on.
- Integrate: the store platform, shipping, conversation channels, and customer service system.
- Build and tune: conversation in dialects, sensitive flows, handover to staff, and limits on what the bot decides.
- Test: on real and difficult questions, then a limited launch with conversation review.
- Launch, improve, and scale: tracking metrics, weekly improvements, and adding new uses and channels.
