Skip to main content

Staff assistant

Your website's chat answers your customers. The Staff assistant is for your employees: a panel inside your own CRM or admin panel where they ask in plain words and get a table, a count, a CSV or an answer from your internal guides.

  • "All orders returned in the last 24 hours"
  • "My open leads"
  • "Count them by reason"
  • "What's our policy for damaged returns?"

Each person gets only what you allowed them: the tables and columns of their access group, and if you like, only their own rows. Anything outside it is refused before anything runs. You set it up, and watch how it is used, in the Sarthi console under Staff assistant. Your employees only ever use it inside your CRM: they don't get a Sarthi login.

It isn't Ask your data, which is for your owners and admins in the console, and it never mixes with your website's chats: different key, different secret, different chats.

Who does what​

WhoWhereWhat
Owners and adminsSarthi console → Staff assistantSwitch it on, make access groups, list the people, try it as one of them, and follow the Activity.
Your CRM's developerYour CRM's server and pagesAdd one route that signs a short token for the employee at the keyboard, and one script tag. See Install in your CRM.
Your employeesInside your CRMAsk, within their group.

An example​

Acme has two databases connected to Sarthi: Acme CRM (tables leads and employees) and Acme operations (orders, shipments and returns). Divya is the owner, Rohan an admin, and Kunal Acme's developer.

  1. Set up. In Staff assistant → Set up, Divya follows Getting started: she turns the assistant on, adds the CRM's address https://crm.acme.in and creates the staff secret. Kunal adds a token route to the CRM's server and the script tag to its layout, and calls SarthiStaff.logout() from the CRM's own log-out.
  2. Access groups.
    • Leads (own): leads from Acme CRM, with Only their own rows: assigned_to = their CRM user id.
    • Sales & people: leads and employees, every column except salary.
    • Orders team: orders, shipments and returns, the guide Returns SOP, and CSV downloads.
    • Everything: every table and column of both databases, every guide, CSV.
  3. People. Ravi (CRM user id 101) goes in Leads (own), Meena (102) in Sales & people, and Arjun, Kavya and Sana (by email only) in Orders team. Divya presses Add me and puts herself in Everything.
  4. In the CRM, Kavya opens the panel and types "all orders returned in the last 24 hours". The answer: "Here's what I found: orders whose status is returned, updated in the last 24 hours, newest first. 37 rows.", then a table with Show all 37 and CSV. "only the ones from Mumbai" narrows it to 9 rows, and "what's our policy for damaged returns?" is answered from Returns SOP, with the source.
  5. Refused. Ravi asks "show me everyone's salaries" and reads: "I can't answer that from the data your group can use. You can ask about leads, for example "My open leads"." Nothing ran. On Activity, Divya sees his question and why: employees is outside his group.
  6. Next morning, Activity says 5 of 6 people active · 61 questions · 54 answered · 3 refused, and Needs a look says "Sana hasn't opened the assistant yet." Later Rohan disables Sana: her access ends at once, mid-chat if need be.

The promises​

  1. Only the people on your list. Your CRM signs each employee in with a short, single-use token, and Sarthi looks them up on your staff list. Anyone not on the list gets nothing.
  2. Only what their group allows. A group picks databases, tables and columns from your data map: it can narrow the map, never widen it. Anything outside the group is refused before anything runs, by Sarthi's query checker, never by the AI, and the refusal is logged for you.
  3. Their own rows, from your list. With Only their own rows, Sarthi adds the condition (assigned_to = the employee's CRM user id) to every query on that table itself, with the value from your staff list. The AI never writes it and can't remove it.
  4. The AI never sees a record. It sees the question and the names, notes and typical values from your data map of what the group may read, and writes one read-only query. The rows go to the employee's screen, never to the AI, and they are never stored: not by Sarthi, not in the browser.
  5. Read-only, within your limits. One checked read, in a read-only transaction, with your database's time limit, on connections of its own, so a slow staff question never slows your website's chats.
  6. Everyone knows it's watched. The greeting always ends with "Your questions are visible to Acme Logistics's admins." (with your business's name), and your owners and admins see every question, answer, refusal and download on Activity.

What your employees see​

The panel. A small tab on the right edge of the CRM opens a full-height panel over the page; the CRM itself doesn't move. Widen makes it wider for big tables, and on a phone-sized screen it takes the whole screen. Your developer can also open it from the CRM's own menu, or place it inside a page (see the layouts).

  • The header: the assistant's name ("Acme Logistics assistant" unless you rename it), the person and their group ("Kavya · Orders team"), and a menu with New chat, Your chats, What can I ask? and Sign out.
  • The greeting, with the monitoring notice and a few starter questions to tap.
  • The message box: Enter sends, Shift+Enter starts a new line, up to 2,000 characters. While Sarthi works, a status line says what it's doing: Reading your question…, Checking it against your access…, Looking in Acme operations….

The answers.

The answerWhat it looks like
A tableOne line saying what was read and how many rows match ("… 37 rows."), chips for the database, the count and Only your rows when an own-rows rule applied, the first 8 rows, then Show all 37, CSV (when the group allows it) and How I found this (the query). Columns come in the order the answer chose, and a MongoDB record's internal id (_id) isn't shown unless they ask for it. Dates show in India time, like 10 Nov 2026, 2:14 pm (a date on its own, like 12 Oct 2026); the CSV keeps the exact values from your database.
A numberAn answer of one row with up to 4 columns ("How many shipments are in transit?") shows as big values with their names.
Nothing matches"Nothing matches: …", with what was looked for. When a name they typed has a typo and the data clearly spells it one way, Sarthi asks again with that spelling and shows the rows, with a line like "Showing results for “Greenleaf Foods” instead of “greenlef foods”." When it isn't sure (two names are equally close), a second line asks "Did you mean “Greenleaf Foods”?", with a chip that asks again (only names from rows they may see). Otherwise, when the question filtered dates, it says how new the data is: "The newest order (placedAt) is from 22 Oct 2026." (from their own rows when they only see their own). The second line is shown once: after a reload, only the first line is there.
From a guideA short answer from the guides in their group, with the sources under it.
RefusedOne sentence saying what they can ask, with chips to tap (see When it can't answer).

Hinglish. Staff can ask the way they type: "Greenleaf ka order kahan tak pahuncha?", "kitne tasks late hain". Sarthi answers in Hinglish ("Yeh mila: … 9 rows.", "Kuch nahi mila: …", "Aapka sawaal padh rahe hain…"), and an English question still gets English. A brand or a person's name on its own doesn't make a question Hinglish. Nothing to set up.

Follow-ups work like a conversation: "only the ones from Mumbai", "count them by reason", "and yesterday?" start from the previous table's query. The new query is checked against the group as it is now, so an old answer can't carry access the person has since lost.

The same question gets the same answer. When someone in the same group starts a chat with the same words again that day (capital letters, spaces and a question mark don't matter), Sarthi reads them exactly as it did the first time: it reuses that look-up without asking the AI, so only the database read is charged. It is still checked against the group as it is now, and the rows are read fresh, each person's own. Other words, a question later in a chat (it can lean on what was said before), or a change to the group or the data map, and the AI reads the question afresh.

Show all opens the table over the chat: search the loaded rows, sort by any column, 50 rows at a time, Load next 100 (up to 5,000 rows in the panel), Download these rows and Download all. Esc or Close goes back to the chat. See CSV downloads.

After a reload, the chat is still there, and each table shows its summary with Show again: the rows were never kept, so Sarthi reads them again (1 credit). A person's chats follow them, not the tab: a new tab continues their latest chat, and Your chats lists them all, on any computer.

What can I ask? lists exactly what their group can read: its databases, tables and columns (protected ones marked), whether they see only their own rows, its guides, and whether CSV is allowed. It never lists anything outside the group.

Talk instead of typing. When your plan includes voice, a mic sits next to the message box. They tap it once and just talk: "aaj kitne orders pending hain?". When they pause for 2 seconds, Sarthi takes the question, answers on screen exactly as if it had been typed (tables, Show all, CSV and all) and says the short answer out loud: "आज 5 orders pending हैं, list screen पर है।" Tables are never read out. While it looks something up it says "One moment, let me check" (or "एक सेकंड, देखते हैं"), so a call is never silent. While it speaks it isn't listening, so a colleague nearby can't cut it off; a tap on the mic interrupts it. They can still type during a call, and the stop button ends it.

  • A spoken question gets exactly the same access as a typed one: the same group, the same checks.
  • Only the text is kept, marked Spoken in the console's activity; no audio is ever kept. What is said goes to Sarvam AI, Sarthi's speech provider, to turn speech into text and the answer into speech.
  • Voice is on by default. Switch it off in Staff assistant → Set up → Voice.
  • The CRM page must be on HTTPS, and the browser asks the person once to allow the microphone.

There is no rating, transcript email, hand-off or "Delete my data" in the Staff assistant.

When it can't answer​

A vague question isn't refused: "orders cancelled at the very last second" gets "Here's what I found: all cancelled orders, newest first (no last-second marker in the data)." Sarthi reads it the closest plain way your data allows and says what it assumed. Ask again in other words if that isn't what you meant.

The employee always gets a plain sentence, and nothing runs. Some examples:

The employee seesWhy
"I can't answer that from the data your group can use. You can ask about orders, shipments and returns, for example "Orders from the last 7 days"."The question needs something outside their group, or nothing in their group can answer it.
"I can show phone but not search, sort or group by it: it's a protected field."The question filtered, sorted or grouped by a masked field.
"Your group shows only your own rows, but your staff record has no CRM user id yet. Ask your admin."An own-rows rule applies, and their record lacks the value.
"That was too complex for one safe question. Try asking for one thing at a time."Sarthi's checker refused the query's shape.
"The database took longer than 10 seconds. Try a narrower question, like a shorter date range."The database was too slow.

The first sentence is the same whether a table exists outside their group or doesn't exist at all, so nobody can find out what's hidden by asking. You see the precise reason on Activity; every case is in Refused or not answered.

Who can use it​

WhoCan they?
Owners and adminsEverything under Staff assistant: Set up, access groups, people, Try as and Activity. Only owners can delete a person's data.
Editors, agents and viewersNo. Staff assistant shows greyed in their menu, with a lock and Owners and admins only, so they know who to ask. They don't see guides marked Staff assistant only in Knowledge or on the Secrets page.
Sarthi's support staff (a support pass)Never, not even to look (the menu shows it locked: Not with a support pass). Staff-only guides are hidden from them too, in the audit log and events as well.
Employees on your staff listThey use the assistant inside your CRM, within their group.

The Staff assistant is part of some plans: Plan & features shows whether yours has it, and how many staff members you can list. Database answers also need database connections in your plan; guides work without them.

If your plan stops including it, the assistant stops for your employees at once, but you can still read Activity, switch it off, and disable, remove or delete people. If your plan allows fewer staff members than you have listed, everyone listed keeps working; you just can't add or enable more.

Costs​

WhatCredits
A questionIts AI calls, like any reply, plus 1 for each database look-up that ran (when nothing matches a question about dates, the look-up that finds the newest date is one)
A refused or unanswered questionOnly the AI calls it made
Load next 100 and Show again1 each
Download all1 per part
Download these rows, signing inFree
Try as in the consoleLike the same question
VoiceThe question as above, plus the voice rate for each started minute of speech heard and spoken (in a call)

Staff use has its own line in Billing and is never counted as chats. It draws on your one balance, so it has its own daily limits too, for the whole workspace and per person: see Daily limits.

Next​

  1. Install in your CRM: switch it on, the token route, the script tag, sign-out.
  2. Access groups and people: who may read what.
  3. Activity: what your team asks, what was refused, and what is kept.