Asadullah Yousaf
← Featured work
AI SaaS03 • AI SaaS • Multi-tenant • 2026

Deskly — AI Lead Response & Qualification for Clinics

An AI front desk for clinics that gets every inbound enquiry a reply in under 60 seconds, qualifies and scores it, assigns an owner, and books the appointment.

Multi-tenant SaaS for service businesses: bilingual AI replies on WhatsApp, Instagram, web form and missed calls, rule-based scoring, timed escalation, human handoff and an owner dashboard.

Stack

14 technologies

Gallery

9 screenshots

Median first reply

13s

91% of leads answered within a minute — live demo, last 7 days

Leads booked

36%

4 of 11 leads booked a slot in the same window

Handed to a person

9%

1 of 11 leads needed a human — a medical question or complaint

System map

LeadWhatsApp, Instagram, web form, missed call
AI replyAnswers in seconds, as the business
QualifySame questions, one at a time
ScoreHot, Warm or Cold
OwnerOne named person, by service
BookConfirmed from real availability

Escalate: if Owner doesn't act in time — staff reminder, then a manager alert.

Problem

Small service businesses lose leads to slow replies, inconsistent questions and no clear owner. Deskly gets every inbound lead a reply in under 60 seconds, asks the same qualifying questions each time, and makes sure someone owns the lead. It was demoed with a fictional business, Glow Aesthetic Clinic in Dubai.

Solution

A deterministic workflow decides what happens next — the AI only writes the words.

  • The AI writes the replies, but tested code makes every decision (score, booking, handoff).
  • Each business's data is kept separate from every other's.
  • Reminders still fire on time even if the server restarts.

Highlights

  • Instant AI replies on WhatsApp, Instagram, web form and missed calls — auto-detects English or Arabic and asks one qualifying question at a time
  • Rule-based scoring and assignment, with a timed staff reminder then a manager alert if nobody acts
  • Human handoff: the agent refuses medical advice, pauses when staff take over, and resumes automatically on handback
  • Booking from real hours, staff and service duration, with confirmations, reminders and no-show follow-ups

Outcomes

  • Real multi-tenancy with Postgres Row-Level Security via Drizzle, covered by RLS integration tests; the model never chooses the tenant
  • Guardrail evals check the agent never gives medical advice and never invents prices
  • Pure domain core (scoring, assignment, hours, escalation, lead lifecycle) shared by dashboard, agent and jobs as tested pure functions
  • Verified webhook flow (Twilio signature, stored and acknowledged, then handed to the agent with a shared secret); replies to test leads never reach a real phone
  • About 22k lines of TypeScript across 2 apps and 5 packages, 11 milestones, 27 test files plus a Playwright end-to-end test on the live site

What's next

  • Instagram DM and comment triage: filter incoming messages by keyword or intent, queue anything borderline for staff approval, then auto-engage once approved.
  • A summary of that activity delivered by WhatsApp or email, alongside the existing daily brief.

Stack

Next.js 16MastraGeminiSupabaseInngestTwilio WhatsApp

Got something like this?

I take on a small number of focused builds at a time. Book a free consultation and tell me what you're trying to ship.

Writing about this project