How chats work in the widget
Starting
The bubble appears when the page loads, but a chat only starts when the visitor opens it. The widget sends your site key, the page's address and, on signed-in pages, the token. Sarthi checks the website is allowed and that the chat is switched on, then returns the greeting.
If your front desk asks for details first, the form (name, email, phone, company, a consent box: whichever you chose) appears before the first message. A visitor who was recognised through a token never sees it.
Continuing
The chat is remembered in this browser (localStorage, not a cookie), so a page reload or a click to another page of your site continues the same chat. Whether the panel was open is remembered too, per tab.
The widget never shows one person's chat to another: a chat started anonymously isn't continued on a signed-in page, and a signed-in chat is only continued for the same signed-in id. If the browser blocks storage (private mode, strict settings), every page load is a fresh chat, which still works.
While chatting
- Replies stream in sentence by sentence.
- The assistant can offer quick replies (tap to answer), ask a yes/no before doing something that changes anything, offer call slots to book, and show "How I found this" under an answer that came from your database (if you switched that on).
- Links in replies open in a new tab. Sources are listed under answers that used your knowledge.
- A Talk button appears if voice is enabled for the role; see Voice.
- When a person from your team takes over, the visitor sees their name and "typing…" like in any chat app.
Ending
A chat ends when the visitor closes it from the menu, when the assistant finishes, or after 30 minutes without a message. On ending, the visitor can rate the chat and ask for the transcript by email.
The menu (⋮)
| Item | What it does |
|---|---|
| Routines | Signed-in customers, when the role has Routines on: their saved questions with their schedules and emails, and + New routine, Refresh now, Edit, Pause and Delete. |
| New routine | The same customers: type a question for Sarthi to answer at a time and on days they pick, and tick Email me the answer too to get it by email as well. |
| Email me this chat | Emails the whole chat as a PDF to the address the visitor gave (or the signed-in email). English and Hindi both come out right. |
| End chat | Ends it now and asks for a rating. |
| Start a new chat | After a chat ended. |
| Delete my data | The visitor gives their email; if there is anything under it, they get a confirmation link by email. Clicking it deletes their chats and lead. Nothing is deleted without the click, so nobody can delete someone else's data. |
What is stored in the visitor's browser
| Key | Holds | Why |
|---|---|---|
saarthi:<siteKey>:session | The chat id and its token, whether it is anonymous or signed-in, and the signed-in id | To continue the chat across pages and reloads |
saarthi:<siteKey>:open | Whether the panel was open (this tab only) | To reopen it after a reload mid-chat |
No cookies, no fingerprinting, no third-party scripts. See Data and privacy.
When the chat is off
If you switch the chat off (Configuration → Web chat), or the workspace runs out of credits, the visitor sees a short message ("Chat is switched off right now") and nothing starts. Chats already open are ended politely.