Skip to content
ES — View this page in SpanishEN

N° 02.05 — Case

Client

Year 2026

Rev ff2c27c

RecoveryCell

A WhatsApp bot that checks inventory and takes orders.

Type
Client
Disciplines
  • IA AI integration
  • AP Process automation
Stack
Node.js · Express · SQLite · WhatsApp Cloud API

Diagram of RecoveryCell's flow across three lanes: the customer writes on WhatsApp, the Express webhook queries the SQLite inventory and the LLM writes the reply; orders deduct stock and alert the owner, who adjusts stock and prices with commands.
FIG. 01 — Plate generated by code from the case data

Summary

RecoveryCell is a WhatsApp bot for a phone parts shop. Customers message the shop's WhatsApp and the bot answers on its own: it shows a menu, finds products by name, model or category, quotes retail and trade prices for technicians, flags anything out of stock with alternatives and records orders with a confirmation. It remembers the conversation, such as whether the person writing is a technician.

Every answer starts from the inventory: the server queries the database and the language model writes the message from that data. When an order is confirmed, stock is deducted and the owner gets an alert on their own WhatsApp, where they run the shop with commands to check stats, restock, change prices, add products and close orders.

The server is Node with Express on the WhatsApp Cloud API, with inventory, orders and conversations in SQLite.


01Architecture

  1. 01 Customer on WhatsApp
    • leads to 02 Express webhook
  2. 02 Express webhook
    • leads to 03 SQLite inventory
    • leads to 05 Order and stock deduction
  3. 03 SQLite inventory
    • leads to 04 The LLM writes the reply
  4. 04 The LLM writes the reply
    • leads to 01 Customer on WhatsApp
  5. 05 Order and stock deduction
    • leads to 06 Owner alerts and commands
  6. 06 Owner alerts and commands
    • leads to 02 Express webhook · /stock and /precio commands
FIG. 02 — 6 nodes · 7 edges