AI Deploy Network
Healthcare ProvidersAI AgentAI Case Study

How I Built a RAG-Powered WhatsApp AI Agent for a Private Medical Centre

AI Deploy Network Approved

Built a WhatsApp AI agent for a private medical centre that answers patient inquiries using retrieval-augmented generation. The system retrieves accurate answers from the clinic's own knowledge base via Pinecone and responds through WhatsApp in under 5 seconds.

Nora AnabiriBy Nora Anabiri
Chapter 01

The Business Challenge

The business situation the organisation faced before the project began.

The clinic's front desk handled repetitive patient inquiries manually, including appointment procedures, service availability, and clinic policies. Staff time was consumed by questions that required no clinical judgment.

Chapter 03

How the Solution Was Delivered

Discovery, design, development, testing and rollout — the journey, not the tooling.

  1. 1Mapped all recurring patient inquiries and clinic FAQs
  2. 2Chunked and embedded clinic documents into Pinecone
  3. 3Built n8n workflow connecting GreenAPI, Pinecone, and Gemini
  4. 4Tested retrieval accuracy across 30 sample patient questions
  5. 5Deployed and configured GreenAPI webhook for live WhatsApp traffic
Business Impact

Business Outcomes & Impact

The measurable outcomes from the underlying AI Deployment — with the story behind them.

Hours Automated
20
Cost Savings
Currency not specified
Revenue Impact
Currency not specified
Measurable Business Outcome

Reduced front desk response time for routine inquiries from an average of 4 minutes to under 5 seconds. Automated 100% of FAQ-type patient messages through WhatsApp.

Business Outcome Categories

Productivity ImprovementCustomer ExperienceTime Savings

The story behind the numbers

Eliminated manual handling of routine patient inquiries. Front desk staff time was redirected to clinical support tasks. Patient questions received accurate, context-aware responses via WhatsApp in under 5 seconds.

Reflection

Lessons Learned

What surprised the team, what worked well, and what would be done differently.

  • Chunking strategy significantly affects retrieval accuracy; smaller focused chunks outperformed large document blocks
  • GreenAPI webhook reliability requires n8n error handling workflows to catch failed message deliveries
  • Gemini embedding quality on medical terminology is strong without fine-tuning