Chatbot SaaS
Multi-tenant, RAG-powered chatbot platform for SMBs
One AI chatbot that answers on five channels, hands off to a human inbox, captures and qualifies leads, and bills per tenant on Stripe.
You work directly with the engineers who wrote the code. No handoffs.

The context
Small and mid-sized businesses across e-commerce and services want an AI chatbot that actually knows their business, works on the channels their customers already use, and hands off to a human when it matters, without stitching together five separate tools. The goal was a single platform they could sign up for, train on their own content, and run as a lead-capture and support engine.
What we were solving
- 01
SMBs needed one assistant across Web, WhatsApp, Instagram, Messenger and email, not a different bot per channel.
- 02
Generic chatbots hallucinate; answers had to be grounded in each tenant's own knowledge base.
- 03
A real product needs multi-tenant isolation, metered billing, background processing and a human-takeover path, which is where most 'wrapper' products fall over.
How we built it
Built a Turborepo monorepo with a Next.js app plus dedicated Node services for background jobs and real-time, so heavy work never blocks the request path.
Implemented retrieval-augmented generation over pgvector with an embedding + reranking pipeline, so answers are grounded in the tenant's crawled content.
Added a shared human-takeover inbox over self-hosted Socket.IO, letting agents jump into any conversation live.
Wired Stripe subscriptions plus metered usage and a customer portal, with per-tenant limits enforced across the stack.
Enforced tenant isolation structurally at the ORM layer and hardened every phase against IDOR, SSRF and prompt injection, with PII redacted before messages are ever stored.
Why it holds up
Isolation is structural, not a setting someone could forget, so one client's conversations, billing and limits can never leak into another's.
Heavy jobs like crawling a website or generating embeddings run in the background, so the chatbot stays fast for customers even under load.
Every phase was checked against common attack patterns first, and personal information is stripped out before anything is stored.
Billing, usage limits and channels all scale per customer without needing a rebuild as the tenant list grows.
Key features
- RAG chatbot grounded in each tenant's own content
- Unified presence across Web, WhatsApp, Instagram, Messenger and email
- Human-takeover inbox with live agent handoff
- Lead capture and AI lead-qualification pipeline
- Per-tenant Stripe billing: subscriptions + metered usage
- Embeddable Shadow-DOM widget for any website
- Optional voice via Deepgram (STT) and ElevenLabs (TTS)
- Clerk-based auth and multi-tenant access control


The outcome
Measured: counted in the system or its logs. Built: what we delivered, not a result.
100 businesses now run this daily across their websites, WhatsApp, Instagram, Messenger and email. That number is the real test of the architecture: tenant isolation, per-customer billing and background processing had to hold up under hundreds of separate businesses with their own knowledge bases and traffic patterns, not just one.
Want something like Chatbot SaaS built?
Tell us what you are trying to ship. We build the whole stack end to end, and you work directly with the engineers writing the code, no handoffs, no juniors.
No commitment required. Response within 1 business day.