Home / Projects / Standalone Chatbot
AI & chatbots · B2B product

Standalone Chatbot

An AI shopping assistant we deploy per client, separate from their shop. It finds and compares products, adds to the cart, tracks orders and handles returns, and installs with one script tag.

Type
AI chatbot product for online shops
Role
Design & development
Backend
Node.js, Express 5, TypeScript, Zod
Chat widget
Preact, one script file
AI
Tool-calling LLM (Groq and other providers)
Demo store
Next.js 16
Hosting
Render (demo), Railway config included
Status
Live demo
0Shop platforms supported
0Tools the AI can use
0Widget size, gzipped
0Script tag to install
standalone-chatbot.onrender.com
The chatbot open on a demo furniture store, showing product cards with Add to cart buttonsTry the live demo ↗

The demo store runs on a free host, so the first load can take a few seconds to wake up.

Overview

The problem & the solution

Problem. Shoppers leave when they can't find a product, can't compare two options or don't know where their order is. A chatbot that guesses, or that changes the cart by itself, does more harm than good.

Solution. A small Node server and one script tag per client. The AI reads live shop data through a fixed set of tools, shows answers as cards, and can never change anything itself: it only offers buttons, and a change runs only when the shopper clicks a button the server signed for that shopper.

It is a lightweight way to add AI to a shop: no central platform to run, just one small bot deployed for each client.

Highlights

  • Works with Shopify, WooCommerce, a custom shop API or any website (it can read the site's own pages)
  • Search, recommend, compare 2-4 products, and add to cart with an option picker that never guesses
  • Order tracking, returns, back-in-stock emails and a "message the team" form
  • Help bubbles based on what the shopper is doing on the page
  • The AI cannot change the cart: shoppers confirm every change
  • Owner report with top questions, unanswered questions and chat-driven add-to-carts
  • Two small files: the launcher (about 20 KB) and the chat panel (about 13 KB, loaded only when needed)
How it works

From a question to a safe action

Every step is checked on the server, so the AI can only do what the shopper allows.

💬

Shopper asks

"Add the Oslo sofa in grey." The widget sends the message with a verified visitor token.

🧠

AI picks a tool

It can only use tools the shop's connector supports and the visitor is allowed to use.

🃏

Card, not action

The server finds the exact variant and shows a signed "Add to cart" card. Nothing has changed yet.

✅

Shopper confirms

One click commits the change. The site's mini-cart refreshes right away.

What's inside

A product that is easy to deploy and extend

🛍️

For shoppers

  • Product search by plain words, price, size and colour
  • Recommendations and "goes well with"
  • Side-by-side comparison tables
  • Cart, orders, returns and profile for logged-in shoppers
  • Store policies, FAQ and shipping answers
🔌

For developers

  • One adapter per platform: custom, Shopify, WooCommerce, crawl
  • New tools are one small definition each
  • One block type per card, one component per block
  • Switch the AI provider with one setting
  • CONNECTING.md to hand to a client's developer
📈

For shop owners

  • Owner report with top and unanswered questions
  • Back-in-stock signups and wanted products
  • Messages from shoppers by email
  • Daily AI token budget and usage view
  • Delete a person's data on request
Connectors

One bot, any kind of shop

The same chatbot runs on every platform. Only the connector setting changes.

🧩

Custom shop

Uses the shop's own Store API, with a signed login token for logged-in shoppers.

🟢

Shopify

Storefront and Admin APIs, a browser cart, and two theme files to install.

🔷

WooCommerce

REST API plus a small WordPress plugin that vouches for the logged-in customer.

🌐

Any other website

The crawler reads the sitemap and product data from the pages, so even shops with no API work.

Security & quality

Built so the AI stays in its lane

🔐

Safe by design

  • The AI never changes anything itself
  • Changes need a button signed for that shopper and cart
  • Private tools are only offered to logged-in shoppers
  • Allowed websites and rate limits on every request
🧪

Tested

  • Tests for tools, security and the full chat flow
  • Every connector tested against a fake platform
  • The crawler tested against a fake website
  • An answer-quality check that runs real questions
⚡

Fast to load

  • A tiny launcher on every page
  • The chat panel loads only when needed
  • Replies stream as they are written
  • Simple questions skip the AI
Screens

A look around

Tech stack

What it's built with

TypeScriptNode.jsExpress 5ZodPreactNext.js 16LLM tool callingGroqShopify APIWooCommerce APIPostgreSQLRenderRailway

Want an AI assistant on your shop?

We build and deploy chatbots that work with your platform and your data, safely.

Discuss your project →