Start the server first:
cd server && npm install && npm start
Then open this file in a browser. The chat bubble appears bottom-right.
This version costs nothing to run. There is no AI API
behind it — answers come from the catalogue files in knowledge/.
Test as much as you like.
| Type this | Should happen |
|---|---|
| Do you have Fevicol Marine? | Confirms it, shows the Fevicol variant list |
| fevicol marine ka rate kya hai | Replies in Hinglish, no price, opens the enquiry form |
| parda taar | Understands it means Curtain Spring — and answers in Hinglish |
| regmaal chahiye | Finds Coated Abrasives |
| fevicoll | Typo still finds Adhesives |
| Do you sell cement? | Says it is not in the catalogue — must NOT invent it |
| Write me a poem | Not in the catalogue. Must not match a product |
| what products do you supply | Lists the main categories |
| mujhe dealership chahiye | Dealership reply, form opens, row tagged dealership |
| where are you located | The Saharanpur address |
| minimum order kitna hai | MOQ deflection, not the price one |
| Dealership chip | Opens the form directly, tagged as dealership |
Check the server startup line. With no SHEET_ID in
server/.env it runs in phone-only mode: it answers every
question and asks visitors to call, and never shows an enquiry form. That is
deliberate — a form that takes a phone number and then fails is worse than no
form.
fevicol marine ka rate — the reply should
end with the phone number, and a Call button appears. No form.12345) — rejected before sending.