Skip to content
LogicSpark Technology logo
All case studies

AI Agent · B2B SaaS

SmartSiteChat

A self-training AI chatbot that answers website visitors from the site's own content and captures leads.

SmartSiteChat project

Overview

SmartSiteChat is our own SaaS product that lets any business add an AI chatbot to its website in minutes. It crawls the customer's site, builds the bot's knowledge base from that content, and answers visitors with Amazon Bedrock Nova Lite. It detects leads, logs unanswered questions and sends email alerts. It ships as a drop-in embeddable widget and a self-serve dashboard, and the chat widget on logicspark.io runs on it.

The challenge

Most businesses cannot staff live chat around the clock, and generic chatbots know nothing about the specific company they are dropped onto. Building and training a useful bot is normally a manual, technical effort, and ungrounded models hallucinate answers that erode trust. The product needed to remove that setup work entirely while keeping answers accurate and on-brand.

What we built

  • A modular Express backend organized into clean domain modules: auth, workspace, site, chatbot, scraper, training, conversation, lead, analytics, billing, onboarding, webhooks, and the public widget API.
  • An automated content-ingestion pipeline with a pluggable scraper factory supporting both Firecrawl and a Playwright-based crawler, feeding a training service that builds each bot's knowledge base.
  • Answer generation on Amazon Bedrock (Converse API, Nova Lite by default) using each site's instructions, its compressed crawled content and the chat history, with tracking of unanswered questions so knowledge gaps can be identified and closed.
  • An onboarding step where the larger Nova model reads a new customer's scraped site and writes the business profile, FAQs and knowledge base for their bot, rejecting knowledge bases that are too thin to be useful.
  • A multi-tenant, scale-conscious design: Redis caching with automatic in-memory fallback, MongoDB indexing, JWT access/refresh auth, rate limiting and request slow-down, and Helmet hardening.
  • Lead detection inside conversations, with email alerts so the business can follow up quickly.
  • An embeddable JavaScript widget that installs on any external site, a Nuxt 3 dashboard for config, conversations, leads and analytics, and a separate React marketing site.

Results

SmartSiteChat lets non-technical site owners stand up a knowledgeable, on-brand chatbot quickly by crawling their site rather than training it by hand. Visitors get round-the-clock answers grounded in real company content, and conversations convert into captured leads instead of lost inquiries. The caching, indexing and rate-limiting architecture keeps responses fast under concurrent traffic across many tenant sites, while unanswered-question tracking gives operators a feedback loop to keep improving answer quality.

Free PDF

Get the LogicSpark portfolio

Real products we shipped, with screenshots, stacks, and outcomes. Share it with your team before a call.