Skip to content
Guide

Pharmacy orders on WhatsApp: stock and pickup, not dispensing

By Fayez AlshamiPublished: 2 min read
TL;DR

The bot stores the product name or a photo of the box. The pharmacist confirms stock and a pickup time. Payment matches on the transaction ID. The bot does not swap a medicine or dispense from a prescription photo.

A pharmacy in Al-Midan gets photos of boxes all day, plus "do you have this?" The clerk looks at the shelf and types "yes" ten minutes later, and the customer has already bought it elsewhere. Or she types "yes" and the box is gone between the question and the reply, because the stock was in someone's head.

WhatsApp is a good place for that question. It is a bad place for the bot to become the dispenser. The pharmacist sees the request, checks that the box in hand is the one asked for, and sets a pickup at the branch. If the photo is a prescription, it stays with the pharmacist. It does not become an automatic cart.

What gets recorded

The customer's message: a trade name, a photo of the box, or both. The row: text, photo, branch, and a state (waiting on the pharmacist, in stock, out, a substitute waiting for a yes, ready for pickup, handed over). A substitute is not sent until the pharmacist picks it. "Same substance, other maker" is a pharmacist's sentence, not a language model's.

If you track stock, decrement it when availability is confirmed, not when someone asks "do you have it?" Repeated questions about an empty shelf should not sell air. If the stock is still a notebook, do not lie to the bot with a number. Leave the state at "waiting on the pharmacist" until someone looks at the shelf.

Payment and pickup

Many customers transfer Syriatel Cash before they arrive, so they do not stand at the till. The transfer happens after the price and the availability are confirmed, not after the first question. They send the transaction ID in the same chat. The match is on the ID and the amount, as in payment confirmation. A screenshot alone gets reused.

Pickup is at the branch that confirmed the stock. If there are two branches, the first question is which one, the same rule as barber booking across branches. A box held in Malki is not handed over in Shaalan because a clerk "saw the message."

A general grocery order, where the item is not a medicine, is the Arabic article a WhatsApp bot and Sham Cash. Do not copy that flow onto a pharmacy unchanged. There, running out costs you a sale. Here, the wrong strength or the wrong maker costs more than the sale.

What I will not build

I will not build a bot that reads a prescription and decides what to dispense, suggests an antibiotic, or sells a prescription medicine with no pharmacist in the chain. "Do you have this name?" is a stock question. The medical answer stays with the pharmacist, on the same screen as the message.

If you need the official WhatsApp number, the channel choice is in WhatsApp or Telegram for a Syrian shop. A pharmacy whose number is also the family phone will regret that in the first week someone is off.

Frequently asked questions

Can the bot read a photo of a prescription?

It can store it and show it to the pharmacist. I do not let it choose the medicine from the picture.

The customer transferred before anyone confirmed stock. Then what?

The request stays open, and the amount is matched on the transaction ID. If the item is not there, the refund is the pharmacy's decision on the same number, written on the row so the transfer does not vanish in the chat.

Do I need the Syriatel Cash API on day one?

Not if the volume is small and the pharmacist can match the ID by eye. When the photos repeat, the link is cheaper than a second person living in the chat.

Guides & comparisons

Need this built or connected for your business?

See services