Disclosure: some links on this page are partner links. IsItDev may earn a commission if you sign up through them, at no extra cost to you. It does not change what we recommend. Details.
Most hours in a pharmacy or medicine shop go to the work around dispensing: counting stock, chasing expiry dates, reordering, billing and reminding regular patients. This pharmacy automation playbook shows how to hand that work to software, step by step, while every clinical decision stays with the pharmacist.
Quick answer: Automate the stock, the paperwork and the reminders. Never automate the pharmacist’s judgment.
- Record the batch number and expiry date of every delivery in your system.
- Sell the first-expiring batch first (FEFO) and get a weekly near-expiry report at 90, 60 and 30 days.
- Set reorder points so low stock creates a draft purchase order for you to approve.
- Scan barcodes at billing so stock goes down by the right batch.
- Send refill reminders only to patients who opted in, with no medicine names, and leave controlled drugs out.
- Route every prescription to a pharmacist check before anything is dispensed.
In this guide

What to Automate and What Must Stay Human
Here is a typical pharmacy day with the automated version of each step. Rows marked Human are never handed to software.
| Step | By hand today | Automated | Tool / owner |
|---|---|---|---|
| Receive stock | Copy batch and expiry into a register | Scan items; enter batch and expiry once on the purchase bill | Inventory or pharmacy system |
| Check expiry | Monthly shelf walk | Weekly email of batches expiring within 90/60/30 days | System report or Sheets + Make |
| Reorder | Notice an empty shelf, phone the supplier | Low stock creates an alert and a draft purchase order | System; owner approves |
| Bill | Type the name, pick any strip | Scan; earliest-expiring batch selected; stock updates | POS or billing software |
| Take a prescription | Paper at the counter, photos in chats | Upload form or patient app feeds a pharmacist queue | Form or app |
| Verify and dispense | Pharmacist | Human. Software only shows the queue and history | Pharmacist |
| Controlled drugs | Register, pharmacist | Human. Excluded from automatic reminders and refills | Pharmacist |
| Refill reminder | Pharmacist remembers regulars | Opt-in text a few days before supply runs out | Pharmacy system or SMS tool |
| Ready for pickup | Phone call | Text sent only after the pharmacist releases the order | Pharmacy system |
| Daily report | Count cash, guess stock | Closing email: sales, low stock, near-expiry value | System report |
The rule for this page: software collects, sorts, counts and reminds. It never decides whether a prescription is valid, a dose is safe or a patient should get a medicine. The pharmacist, or the licensed person your country requires, makes those calls every time.
Pick a Setup That Fits Your Shop
| Setup | Best for | Handles | Cost (as of November 2026) | Watch out for |
|---|---|---|---|---|
| A. Pharmacy management system | Any pharmacy that fills prescriptions | Prescription queue, refill and pickup messages, inventory, billing | Usually quoted per pharmacy after a demo | Contract length, data export, a BAA in the US |
| B. Inventory app with batch and expiry | Shops selling mostly over the counter | Batches, expiry, FEFO, reorder alerts, purchase orders, barcodes | Zoho Inventory Premium: $79 per organization per month billed annually (₹2,299 in India) | No prescription workflow; reminders need another tool |
| C. DIY: Google Sheets + Make | Very small shops testing the idea | Near-expiry email, low-stock alert, daily summary | Make Free plan: 1,000 credits a month | Typing errors; no patient data without the right agreements |
A. Pharmacy management systems are built around the prescription: patient profiles, refills remaining, dispensing history and a pharmacist review queue, usually plus inventory and the counter. Two examples from their own sites, not endorsements: PioneerRx (US independents) lists refill and pickup reminders in its patient app, two-way patient messaging, a phone system that automates refill requests, and inventory forecasting. Marg ERP (India) lists barcode billing, batch tracking, expiry management, reorder points and Schedule H/H1 alerts.
B. General inventory apps do not all track expiry per batch, so check first. On the Zoho Inventory pricing page, batch tracking, serial tracking and barcode generation start on Premium; the Free plan allows 50 orders and one user, with a 14-day trial of paid plans. Odoo Inventory supports lots with expiration dates and FEFO, with a free one-app plan and paid plans priced per user.
C. DIY: if stock lives in a spreadsheet, Make can read it on a schedule and email alerts. It proves the routine cheaply, but nothing deducts stock from the right batch at the counter. Our Zapier vs Make vs n8n comparison helps if you are choosing a tool.
Not the fit: a marketing CRM such as GoHighLevel. It does not hold dispensing records, so reminders would need a second copy of patient data, and HIPAA compliance is a separate add-on ($297/month as of November 2026). A CRM only makes sense for non-prescription services such as consultations; see our appointment booking playbook.
Build It Step by Step
Step 1: Set Up Items With Batch and Expiry
- Clean the item list with one naming format (template below), one item per strength and pack size.
- Turn on batch tracking. In Odoo: Inventory ‣ Configuration ‣ Settings, enable Lots & Serial Numbers under Traceability, then Expiration Date; set each medicine to track By Lots. In Zoho Inventory (Premium or above), enable batch tracking on each item.
- At every delivery, enter the batch number and expiry date on the purchase bill.
Naming convention for medicine items
Generic name + strength + form + pack (Brand).
Examples: Paracetamol 500 mg Tablet 10x10 (BrandName), Amoxicillin 250 mg/5 ml Syrup 100 ml (BrandName).
Step 2: Sell the First-Expiring Batch First (FEFO)
FEFO means first expired, first out: sell the batch that expires soonest, even if a later batch arrived first. Odoo’s FEFO guide sets FEFO as the removal strategy on a location or product category, with a removal date some days before expiry. In Zoho Inventory, batches are sorted first-expiring to last when you pick them on an invoice.
Match the removal offset to your supplier’s return terms. Example: if returns are accepted up to 60 days before expiry, a 75-day offset gives staff two weeks to pack the return.
Step 3: The Near-Expiry Alert
- Trigger: every Monday at 9:00.
- Conditions: batch expires within 90 days and quantity is above zero.
- Actions: email the owner and pharmacist, grouped into 90, 60 and 30 days, with batches inside the return window flagged “Return now”.
In Zoho Inventory, the Batch Details report filtered by Expiry Date for the next 30, 60 or 90 days gives the list (tick Do not show empty batches). DIY: give your sheet the columns Item, Batch, Expiry, Qty, Supplier, Days left, with =C2-TODAY() in Days left. In Make, a weekly schedule, a Google Sheets search for rows with Days left of 90 or less and Qty above zero, and an email step do the job.
Decide each band in advance: 90 days, stop reordering if stock is high; 60, move to the front; 30, return or set aside. Expired stock goes to a quarantine shelf and a separate location in the system, never back on sale.
Step 4: Reorder Points and Purchase Orders
Reorder point = average daily sales × supplier lead time in days + safety stock. Example: 8 strips a day × 2 days + 8 safety = reorder at 24.
- Trigger: stock drops below the reorder point.
- Conditions: no open purchase order for the item; not marked discontinued.
- Actions: alert the owner and add the item to a draft purchase order for its usual supplier. A person approves and sends it.
In Zoho Inventory, tick the reorder notification under Preferences, Items, then set a Reorder Level on each item.
Step 5: Barcode Billing
Scanning at the counter keeps stock and expiry data true. Decide whether each item sells by box, strip or unit, and print labels for items without a barcode. When I build a stock workflow, I always add a daily check for negative stock, because it means someone billed the wrong item or skipped a delivery entry.
Step 6: Prescription Intake With Pharmacist Verification
- Trigger: a patient submits your upload form or pharmacy app, or staff scan a paper prescription.
- Conditions: required fields complete and the photo readable; otherwise staff call the patient.
- Actions: create a queue item “Awaiting pharmacist”, notify the pharmacist, send the patient a “received” text.
- Human step: the pharmacist verifies and decides. Only after approval does the “ready” text go out.
A photo helps you prepare; whether you may dispense against it depends on your country, state and the medicine. In the US, use a form tool covered by a business associate agreement. Google’s HIPAA included functionality list names Google Forms and Sheets, but only under a signed BAA.
Check WhatsApp’s rules first. The WhatsApp Business Policy prohibits using WhatsApp for Business to sell or facilitate prescription drugs and medical products. Over-the-counter promotion is allowed only on the WhatsApp Business Platform (the API) in listed countries, which include India, Bangladesh, Nepal and Sri Lanka but not the US, UK or Pakistan, and messaging about these regulated categories is barred on the Business app. Take prescriptions by form, app, phone or at the counter. Our WhatsApp playbook covers other kinds of businesses.
Step 7: Refill Reminders
- Trigger: fill date + days’ supply − 5 days. Example: a 30-day supply filled on 1 March gets a reminder on 26 March.
- Conditions: patient opted in; refills remain and the prescription is valid; not a controlled drug; not already refilled; no “therapy stopped” flag.
- Actions: send the reminder; a YES reply creates a refill request in the pharmacist queue; STOP opts the patient out everywhere.
If you have a pharmacy system, use its built-in reminders so patient data stays in one place, and switch off any other tool sending the same message.
Step 8: The Daily Report
Schedule one closing-time email: sales total, items below reorder point, items at zero, stock value expiring within 90 days and prescriptions waiting for a pharmacist.
Copy-Paste Templates
Placeholders are in curly brackets; merge-tag syntax depends on your tool. No text names a medicine or condition, because anyone glancing at a lock screen can read it.
SMS — refill reminder
Hi {first_name}, {pharmacy_name} here. A prescription on file is due for refill. Reply YES to request it or call {phone}. Reply STOP to opt out.
SMS — refill request received
Thanks {first_name}. We got your refill request. A pharmacist will review it and we’ll text you when it’s ready. Questions? Call {phone}.
SMS — ready for pickup
Hi {first_name}, your order at {pharmacy_name} is ready for pickup until {pickup_deadline}. Call {phone} with questions. Reply STOP to opt out.
Consent checkbox — intake form or counter
[ ] Yes, {pharmacy_name} may text me refill and pickup reminders at this number. Messages will not name my medicines. Message and data rates may apply. Reply STOP anytime to opt out.
Prescription upload form — questions
1. Full name as on the prescription · 2. Date of birth · 3. Mobile number · 4. Photo of the prescription (all corners, date and prescriber readable) · 5. New or refill? · 6. Pickup or delivery · 7. Allergies (optional) · 8. Best time to call · 9. Consent checkbox
Staff check — before the pharmacist queue
Photo readable · name and date of birth match the profile · prescriber and date visible · phone confirmed · marked new or refill. Missing anything? Call the patient. Clinical checks belong to the pharmacist.
Email — weekly near-expiry report
Subject: Near-expiry stock, week of {date}
Return now: {return_list}
31–60 days, move to front: {list_60}
61–90 days, stop reordering: {list_90}
Value expiring within 90 days: {value}
Moved to quarantine: {quarantine_list}
Email — purchase order to supplier (after approval)
Subject: Purchase order {po_number} from {pharmacy_name}
Hello {supplier_contact}, please supply the items in the attached order {po_number}, with at least {min_shelf_life} months of shelf life. Please confirm by {date} any item you cannot supply. Thank you, {your_name}, {phone}
Health Data, Consent and Country Rules
This is general information, not legal advice. Rules differ by country and state; check with your pharmacy regulator before changing how prescriptions are received, recorded or dispensed.
United States
- Refill reminders. HHS’s refill reminder guidance excludes reminders about a currently prescribed drug from “marketing” if any third-party payment is reasonably related to your cost. It also covers generic equivalents, adherence messages and prescriptions lapsed within 90 days, but not adjunctive drugs or switching to an alternative.
- Minimal messages. The minimum necessary standard limits what vendors and staff see to what the task needs. HHS’s email FAQ allows unencrypted email with reasonable safeguards, such as limiting the information sent, and says to honor reasonable requests for another channel. Treat texts the same way.
- Vendors. A texting, form or CRM vendor handling patient data is a business associate and needs a BAA. Google says customers without a signed BAA must not use PHI in Google Workspace.
- Texting consent. The FCC bans autodialed texts to mobiles without prior consent; commercial texts need written consent, informational ones may use oral consent. A written checkbox covers both. US local-number texting also needs A2P 10DLC registration.
- Controlled substances. Schedule II prescriptions cannot be refilled (21 CFR 1306.12). Schedule III and IV prescriptions cannot be filled or refilled more than six months after issue, or refilled more than five times (21 CFR 1306.22). State boards of pharmacy may add rules.
UK, South Asia and Elsewhere
In Great Britain, the General Pharmaceutical Council regulates pharmacists, pharmacy technicians and pharmacies. In India, Bangladesh, Pakistan and elsewhere, check with your national or state drug regulator; in Bangladesh that is the Directorate General of Drug Administration (DGDA). Business SMS rules also vary, so ask your SMS provider what sender registration your country needs. The defaults on this page hold everywhere: opt-in only, no medicine names in messages, a pharmacist decision on every prescription.
Test Before Going Live
- Receive two batches of one item with different expiry dates, bill one unit, and confirm the earlier batch was used.
- Drop an item below its reorder point; confirm the alert and draft purchase order appear and nothing is sent.
- Submit a test prescription from a staff phone; confirm no “ready” text goes out before pharmacist approval.
- Reply YES, then STOP, to a test reminder; confirm the opt-out sticks in every tool.
- Check messages only go out in shop hours, in your time zone, and what happens on holidays.
- Rename a sheet column on purpose and confirm a person gets a failure alert.
Numbers to Watch
- Stock value expiring within 90 days. Rising month after month means you over-order slow sellers.
- Stockouts per week. Repeats on one item mean its reorder point is too low or the lead time is longer than you assumed.
- Reminder response. Share of reminders followed by a refill request within seven days. If low, change timing or wording, not the number of messages.
- Prescription queue time. Upload to pharmacist decision. A long queue is a staffing question, never a reason to skip the check.
Common Mistakes and Fixes
- Wrong batch or expiry at receiving. Every report depends on it; have a second person spot-check each delivery.
- Stock drift. Breakages, supplier returns and free samples go unrecorded. Count ten random items weekly and fix differences the same day.
- Reminders for stopped medicines. The pharmacist sets a “therapy stopped” flag when a prescriber ends a medicine.
- Duplicate or post-STOP messages. Two tools send the same reminder or hold different opt-out lists. Keep one sender per message type.
- Expired stock still sellable. Move it to a quarantine location in the system, not just a box under the counter.
Frequently Asked Questions
What is the best software for a small medicine shop?
If you fill prescriptions, a dedicated pharmacy management system, because it holds prescriptions, refills and the pharmacist queue. If you mostly sell over the counter, an inventory app with batch and expiry tracking, such as Zoho Inventory Premium or Odoo Inventory, covers stock, FEFO and reorders without a full prescription system. Ask for a demo with your own products first.
Can a US pharmacy send refill reminders by text?
Yes, with care. HIPAA treats refill reminders about a currently prescribed drug as outside “marketing” if any third-party payment only covers your cost. You still need the patient’s consent to texts, A2P 10DLC registration for local numbers, a BAA with the texting vendor and messages that do not name the medicine.
Can I take prescription orders on WhatsApp?
Not under WhatsApp’s Business Policy as currently written. It prohibits using WhatsApp for Business to sell or facilitate prescription drugs and medical products, and bars messaging about these regulated categories on the Business app. Over-the-counter promotion is allowed only on the Business Platform in listed countries. Use an upload form, a pharmacy app, the phone or the counter.
What is FEFO in a pharmacy?
FEFO means first expired, first out. You sell or use the batch with the earliest expiry date first, even if a newer delivery arrived earlier. Inventory systems with batch tracking can pick the earliest-expiring batch at billing automatically, which cuts the stock you lose to expiry.
Can automation replace the pharmacist’s check?
No. Automation can collect prescriptions, sort the queue, show patient history and send reminders, but verifying a prescription, checking the dose and deciding to dispense stay with the pharmacist. Controlled drugs need even closer human handling, and in the US Schedule II prescriptions cannot be refilled at all.
Next Steps
This week, clean the item list, record batches and expiry at the next delivery and switch on the weekly near-expiry report. Add reorder alerts once stock matches the shelf, and refill reminders last. To pick the next process to automate, use the scoring table in our guide on how to automate your small business.

