AleyaAI
Healthcare · Refill AI

How a Pharmacy Boosted Refill Rates by 35% With a Proactive AI Agent

A voice and WhatsApp agent reminds patients before their medicine runs out, takes refill requests in one reply, and queues them for pharmacist approval.

  • Healthcare
  • Refill AI
  • Live in 3 weeks
Solution architecture / Pharmacy Live

Sources

Refill schedule

AI engine

n8n Vapi

Outcomes

WhatsApp refill Pharmacist queue Stripe payment
VapiWhatsApp Business APIn8nPharmacy POS APIStripe 3 weeks
Built on

Built on OpenAI, Anthropic, Google Gemini, n8n, WhatsApp Business API, Twilio, Vapi, ElevenLabs, LangChain, AWS, Make, Zapier.

Results

What changed after go-live.

Key results: 35% more on-time refills, 50% fewer refill phone calls and 4.8/5 patient rating. Timeline: 3 weeks.

0135%More on-time refills
0250%Fewer refill phone calls
034.8/5Patient rating
Timeline3 weeksHealthcare · Refill AI
The experience

A refill that runs itself.

What the patient sees on WhatsApp and what the pharmacy sees on its refill desk — from the first reminder to an approved, paid order on its way.

Patient’s phone

Pharmacy refill desk

The story

Before, and after AleyaAI.

Before

The challenge

Patients on long-term medication often forgot to refill, and the pharmacy's phone lines were busy with refill requests.

After

What we built

A voice and WhatsApp agent reminds patients before their medicine runs out, takes refill requests in one reply, and queues them for pharmacist approval. It also offers home delivery and payment links.

How it works

A refill that reorders itself.

The agent reminds the patient before their medicine runs out, takes the refill in one reply, waits for pharmacist approval and handles delivery and payment.

  1. Reminder before it runs out

    The agent knows when each repeat medicine will run low and reaches out first.

    Metformin 500 mg · runs out in 5 days

  2. Refill in one reply

    Patients reorder by replying, no phone queue.

    Refill requested · 1 reply

  3. Pharmacist approves

    Every request is queued for a pharmacist to check before it’s filled.

    Queued for approval · approved 10:14

  4. Delivery and payment

    Home delivery and a payment link, all in the same chat.

    Paid via link · delivery tomorrow AM

MA

Mr Aslam

Patient · repeat prescription

Message
Tech stack

Tech stack

What powers the pharmacy build.

  • VVapi
  • WhatsApp Business API
  • n8n
  • PPPharmacy POS API
  • Stripe
More case studies

More AI projects in production.

All case studies

Real Estate · n8n + AI

How a Real Estate Agency Replies to Every Lead in Under 60 Seconds

<60sLead response
3xMore booked viewings
25hrsSaved per week

The challenge

Leads arrived from property portals, Facebook ads, the website and WhatsApp. Agents copied them into a spreadsheet by hand, and most waited 4+ hours for a first reply. By then, many had already called a competitor.

What we built

We built an n8n workflow that captures every lead in one place, scores it with AI based on budget, location and urgency, and sends a personalised WhatsApp reply within seconds. Hot leads go straight to the right agent's phone; others enter a 7-day nurture sequence.

Read the full case study
Solution architecture / Real Estate Live

Sources

Property portals Facebook ads Website form WhatsApp

AI engine

n8n OpenAI

Outcomes

WhatsApp reply HubSpot CRM Agent alert
n8nOpenAIWhatsApp Business APIHubSpotGoogle Sheets 3 weeks from kickoff to live
Let’s talk

Your business could be our next success story.

Tell us which task eats most of your team's time. We'll show you how to automate it — free, in a 30-minute call.

  • Free 30-minute call
  • Fixed quote after the call