Skip to content

Case study

Engager AI

An embeddable AI chatbot platform with bot training and CRM lead capture, used live by multiple customers.

Role
Solo — design & engineering
Timeline
4+ months · 2024
Stack
Next.js, TypeScript, Supabase, PostgreSQL, Socket.IO, OpenAI, Azure
Engager AI screenshot

Problem

Small businesses want an assistant on their website that answers customer questions and captures leads, but building one means stitching together an LLM, a knowledge base, a chat widget, auth and a CRM. Engager packages all of that into a dashboard: train a bot, copy one script tag, and it's live on your site.

What I built

I designed and built Engager on my own, end to end.

  • Embeddable widget. The dashboard generates a script tag per bot; dropping it into any site loads the chat widget, so customers don't touch code.
  • Bot training. Businesses add their own content, and the bot answers from it.
  • LLM reply workflows. I designed the prompt workflows behind replies, including a fallback-to-human flow when the bot shouldn't answer on its own (OpenAI).
  • Real-time chat and auth. Supabase and JWT for authentication; Socket.IO for live conversations.
  • CRM lead collection. Conversations turn into leads the business can follow up on.
  • Production infrastructure on Microsoft Azure.

Hard parts

  • Keeping answers grounded. Each bot should answer from its business's own content, not from the model's general knowledge. Getting replies to stay on that content — and say "I don't know" when it isn't there — was the core quality problem.
  • Multi-tenant data. Every customer's bots, conversations and leads live in the same system and must never leak across accounts, from the dashboard down to the embedded widget.
  • Bot-to-human hand-off. Deciding when the bot should stop and pass a conversation to a person, then making that hand-off happen live in the same chat over Socket.IO.

Outcome

Engager went to production and was used live by multiple customers.

What I'd do differently

  • Proper retrieval from day one. I'd build on a vector store and a real RAG pipeline from the start — what I now do at Arnsoft — instead of simpler ways of getting business content into the prompt.
  • Evaluate replies earlier. I'd keep a small set of real conversations as an eval set from the beginning, instead of judging reply quality by eye.