Skip to content
Muhammad Fahim
All projects

Product · 2026

WhatsApp AI assistant

Businesses set up an AI assistant that answers customers on WhatsApp from approved information and captures leads.

Type
Product
Year
2026
My contribution
Designed and built the product end to end
Status

In developmentWorking simulator; WhatsApp connection in progress

  • TypeScript
  • Next.js
  • Express
  • PostgreSQL
  • Prisma
  • Redis
  • BullMQ
  • Claude API
  • WhatsApp Cloud API
Assistant simulator for a sample skin clinic. It quotes a price, gives the address in Roman Urdu and refuses to judge whether a chemical peel is safe, pointing to clinic staff.
The assistant simulator on a phone, with the safety refusal, a booking request and the assistant asking for a name and preferred time
  • 01Six-step setup for any type of business
  • 02Replies in English, Urdu and Roman Urdu
  • 03Inbox with lead pipeline and human takeover

The problem

Small businesses get most of their customer questions on WhatsApp: prices, opening hours, "can I book for Friday?". Answering every message by hand is slow, and leads get lost in the chat history.

What I built

A product that lets a business owner set up their own WhatsApp assistant:

  • Guided setup in six saved steps: business profile and industry, services and prices, policies and FAQs, address and opening hours, how to take bookings or orders, and the assistant's name, language and welcome message.
  • Industry templates for clinics, restaurants, retail, salons, real estate and more.
  • Answers only from approved information. The assistant replies from what the business entered, and doesn't make things up.
  • Three languages: English, Urdu and Roman Urdu.
  • Leads captured automatically. Booking, order and quotation requests become leads in a pipeline: new, contacted, qualified, won, lost. Staff can search, filter and export them as CSV.
  • Human takeover. Staff can step into any conversation from the inbox and hand it back to the assistant later.
  • A simulator in the dashboard lets a business test its assistant before connecting WhatsApp. Without an AI key it runs in a free preview mode that only uses the saved business facts.
  • One owner, several businesses. Owners of more than one clinic or branch switch between them.

The screenshots use a sample clinic. The replies in the simulator are the preview mode's real answers to those questions.

How it works

The dashboard is a Next.js app. It talks to an Express API with a PostgreSQL database through Prisma. Incoming WhatsApp messages are queued in Redis with BullMQ and processed in the background. Replies are generated with the Claude API, grounded in the business's saved information. The inbox and lead pipeline update live over Server-Sent Events, and message receipts (sent, delivered, read, failed) are tracked.

Hard parts and decisions

  • Safety for clinics. The first pilot market is aesthetic clinics, so the assistant is built to refuse diagnosis or treatment-suitability questions and to pass urgent ones to a person.
  • Secrets protected. Each business's WhatsApp access token is encrypted at rest, and incoming webhooks must carry Meta's exact signature.
  • Billing a pilot can run today. Businesses pay by bank or Raast transfer and submit the reference. The owner approves it in a separate admin console, and the plan activates in a single database transaction.
  • Ready to operate. Structured logs with request IDs, readiness checks for the database and Redis, optional Sentry error reporting, and encrypted database backups with checksum checks.
  • Tested end to end: a backend test suite, Vitest on the frontend, and Playwright for onboarding, the simulator and lead updates, run against isolated test data.

What's next

  • Deploy the backend to a public HTTPS server so Meta's WhatsApp webhook can connect.
  • Run the first pilot with real businesses.

Screens

Click any screen to inspect full size

Start a conversation

Want something like this?

Tell me what you need built and I'll get back to you within a day or two.

Get in touch