Skip to main content

Access groups and people

Every employee on your staff list is in one access group. The group says what they may read: databases, tables and columns, optionally only their own rows, the guides they may use, and whether they can download CSV files. Anyone not on the list gets nothing.

Owners and admins manage both under Staff assistant: Access groups and People.

Make a group​

On Access groups, start a new group. The list shows each group's people, databases, tables, own-rows rules, guides, CSV and warnings.

  1. A name (up to 80 characters, different from your other groups) and a description.
  2. For each database the group may use, switch on Use this database, then tick its tables (taken live from the data map, with a search box for big maps) and, for each table, its columns. Masked columns are marked shown masked; Never read columns aren't listed at all.
  3. Optionally, per table, Only their own rows.
  4. Optionally, per database, Show protected fields as your team sees them.
  5. The guides the group may use.
  6. CSV downloads, on or off.
  7. Up to six starter questions.

When you save, Sarthi checks every choice against the live data maps and points at anything that can't be saved, like a column the data map doesn't allow.

Beside the editor, What this group can read shows exactly what Sarthi will enforce, the group's warnings, and Try as for one of its people.

The Acme groups​

GroupWhat it holds
Leads (own)Acme CRM: leads, every column the map allows, with Only their own rows: assigned_to = their CRM user id.
Sales & peopleAcme CRM: leads and employees, every column except salary (left unticked).
Orders teamAcme operations: orders, shipments and returns; the guide Returns SOP (Staff assistant only); CSV on.
EverythingEvery table and column of both databases, Show protected fields as your team sees them, every guide, CSV on.

A group narrows your data map​

Only what a database's data map allows can be ticked. A group can narrow the map, never widen it.

  • Explicit lists. A group keeps the columns you ticked. Ticking every column keeps today's columns: one the data map allows later isn't in the group until someone ticks it (the editor tells you, under warnings).
  • Masks stay. Masked columns (Last 4, Hide all, Hash) are shown masked, as they are, and the assistant won't search, sort, group or calculate with them, so nobody can guess a hidden value from which rows come back. Never read columns are never read, for anyone.
  • The website's row filter doesn't apply. The data map's row filter (customer_id = {token.user_id}) keeps each website customer to their own rows. Your employees work for the business, so a table in their group shows all its rows, unless you add Only their own rows.
  • The database must be working. It's used while it is active (or failing for less than a day), and your plan must include database connections.
  • Read-only, with that database's limits. Each look-up is one checked read in a read-only transaction. It stops after the database's Time a team query may take (on its Overview, under Team questions; 10 seconds unless you change it), returns at most 100 rows a batch, and joins no more tables than the database allows. The assistant uses connections of its own, so a slow staff question never slows your website's chats or marks the database as failing. If the database is busy, point the connection at a read replica.

Only their own rows​

For a table, choose the column that names the employee, and what it holds: their CRM user id or their email. For example, leads: Only their own rows: assigned_to = their CRM user id.

  • The value comes from your staff list: the CRM user id or email on the person's record. Never from the token, from the AI or from anything the employee types.
  • Sarthi adds the condition itself to every query on that table: when it is joined to others, in the row count, and in every CSV part. The AI never writes it and can't remove it. Ravi asks "my open leads"; Sarthi reads leads only through WHERE "assigned_to" = $1, with 101 from Ravi's staff record.
  • The column needn't be visible. The group may leave assigned_to unticked: the rule still applies.
  • No value, no answer. If the person's record lacks the value (say, the rule uses the CRM user id and they were added by email and haven't signed in yet), the question is refused and nothing runs: "Your group shows only your own rows, but your staff record has no CRM user id yet. Ask your admin."
  • The value is compared as text. If the column holds numbers and a CRM user id isn't one, the question ends in a database error, never in other people's rows. Your staff list keeps emails in lower case, so an email column must hold them in lower case too.
  • One rule covers one table. Related tables need their own rule: if leads has one and lead_notes doesn't, lead_notes shows every row. The editor warns when some tables have a rule and others don't.
  • A changed record ends the sign-in. When you change a person's CRM user id or email, their sign-ins end at once, and tables they saw before can't be read again.

Try as shows the condition with its value masked, like assigned_to = ••01. The employee's How I found this shows the query the AI wrote, which never holds their value.

Show protected fields as your team sees them​

In the data map, an owner or admin can mark a masked field Team sees it, so your team sees it in full in Ask your data. Per database, a group can show those same fields in full: switch on Show protected fields as your team sees them (it only appears when the data map has such fields).

  • Those fields are then shown unmasked to the group, and can be searched, sorted and grouped by.
  • Nothing else can be unmasked this way, and Never read fields stay unreadable.
  • Your website's chats still see them masked.

Guides​

Tick the guides (knowledge sources) the group may use. A new group has none. The editor lists them in two parts: Staff assistant only, and Also used in customer chats.

  • Staff assistant only is a choice in Knowledge: add or edit a source and pick it under Used on (owners and admins only). Such a source is never used in your website's chats, and in the console only owners and admins see it, never Sarthi's support staff (not even in the audit log or events). Its text and links are never written to the audit log: an edit to it is logged only as changed. It suits an internal SOP, a policy for staff or the team's price sheet. A page behind your login with this choice needs no "shown to anyone" confirmation.
  • A group can also use sources your website's chats use, like your public returns policy.
  • Answers name their sources. Links to Staff assistant only pages behind a login are shown, since your employees can open them; pages from your customer panel keep their links hidden, as in your chats.
  • Only live guides are used, up to 50 per group. Employees' guide questions don't appear in Knowledge's gap report.
  • Staff-only sources count towards your plan's sources and storage like any other.

CSV downloads​

Off for a new group. When it's on:

ButtonWhat you get
CSV on a table, or Download these rows in Show allThe rows loaded in the panel (up to 5,000), made in the employee's browser. Free, but Sarthi checks and records it before the file is made. Up to 60 an hour per person.
Download allSarthi reads the database again and sends every row, in parts of up to 50,000 rows and 40 MB, up to 20 parts. 1 credit per part, one part at a time, up to 20 parts an hour per person. A part that takes more than 10 minutes to download is stopped.
  • Masks apply exactly as on screen. Text a spreadsheet would treat as a formula (starting with =, +, - or @) gets a ' in front.
  • Files are named after the database and the time, like acme_ops-2026-11-05-1012.csv, then …-part-2.csv and on.
  • Sarthi checks the group at every download, not just by hiding the button. A download asked for while CSV is off is refused, and logged as a refusal (once every 10 minutes for the same table).
  • Each person may download a number of CSV rows a day, both buttons together (1,00,000 unless you change it in Set up → Limits; see Daily limits). A Download all part counts its rows before it reads them, so downloads started at the same time can't go past the limit; rows it didn't need are given back.
  • Every download is recorded: who, when, and how many rows (Activity → Recent CSV downloads). Never the rows.
Screens can be copied

Turning CSV off stops files, not screenshots. Whatever is on an employee's screen can be copied by hand or photographed. Give each group only the columns its people may see, and keep session recorders away from the assistant (how).

Starter questions​

Up to six, each up to 120 characters, shown as chips under the greeting and when a question is refused. They're the quickest way to show a group what it can ask ("My open leads", "Orders from the last 7 days"). Left empty, Sarthi makes them from the group's table names.

What this group can read​

Beside the editor, Sarthi shows exactly what its query checker will enforce for the group, from the live data maps: each database's tables and columns, which are masked and which shown in full, the own-rows rules, and any table that can't be used, with the reason (it left the data map, none of its columns can be read, or its own-rows column is gone).

What the employee sees under What can I ask? in the panel comes from the same place, without the rule's column.

Warnings​

The editor works these out every time you open the group:

WarningWhat it meansWhat to do
The data map changedSome tables or columns of the group are no longer allowed by the data map. They're struck through, nobody can read them, and they're dropped when you next save.Save the group, or allow them again in the data map.
New fieldsThe data map allows fields of the group's tables that the group doesn't have. They're never added by themselves.Tick them if the group should read them.
Some tables without the ruleSome tables have an own-rows rule and others don't: "Tables without the rule show every row."Add the rule to the related tables, or accept that they're shared.
Own-rows column missingThe rule's column is gone from the database, so the table can't be used: Sarthi never reads it without the rule.Pick another column, or restore it.
Database unavailableThe database was deleted, or is off or failing.Fix the connection on its Overview, or take it out of the group.
Guide unavailableA guide was deleted or isn't live.Fix it in Knowledge, or untick it.
People with only an emailPeople in a group with databases who have no CRM user id yet.Add their CRM user ids on People.

When a group changes​

  • Changes apply at the next question, and even to a question being answered: Sarthi checks the access again just before a query runs. If it changed in between, nothing runs: "Your access just changed. Ask again."
  • Older tables stay in the chat, but can't be read again under different access: Show again says "Your access changed, so this table can't be read again. Ask again." Renaming the group, its description, CSV and starter questions don't affect older tables (CSV is checked at every download anyway).
  • When the data map changes, groups aren't edited behind your back. Sarthi reads each group together with the live data map on every question, so anything the map no longer allows is out at once; the editor shows it until you save.
  • When a database is deleted, it leaves every group at once. The editor shows Database deleted and drops it when you next save.
  • A group can be deleted only when nobody is in it: move its people first (removed people don't count). A workspace has up to 50 groups.

People​

Staff assistant → People is your staff list. The line at the top ("6 of 10 staff members") counts the active people against your plan's limit.

The table shows each person's name, email, CRM user id (or "links at first sign-in"), group, status, when they were last active, their questions in the last 7 days, and the credits they used today against their daily limit ("37 / 300 credits today", since midnight India time: amber from 80%, red when they've reached it). Filter by group or status (active, disabled, removed), or search by name, email or CRM user id.

Add a person​

Press Add person:

  • Name, up to 100 characters.
  • Email, CRM user id, or both: at least one. The CRM user id is exactly what your token route sends as user_id. A person with only an email is linked to their CRM user id at their first sign-in (see Who is signed in), and People warns about them until then.
  • Group.

Add me fills in your own name and email (add your CRM user id too, if you'll use the assistant yourself).

An email or CRM user id can be on the list once (removed people aside). There are no invites and nothing is emailed: your CRM signs people in. Every active person counts towards your plan's staff members.

Add many people​

Press Add many to add up to 500 people at once, from a list you paste or a CSV file:

  1. The list. One person per line: name, email, CRM user id, access group, separated by commas or tabs, so you can paste straight from Excel or Google Sheets. Upload a CSV takes a .csv, .tsv or .txt file (in Excel: Save as → CSV UTF-8) and puts its text in the box, so you can still change it. A first line with column names is optional; with one, the columns can be in any order and other columns are left out.

    name, email, crm user id, access group
    Kavya Rao, kavya@acme.in, 205, Orders team
    Ravi Kumar, , 101, Leads (own)
  2. Access group for rows without one. Rows that name a group keep theirs (matched by name, capital letters don't matter). Leave it on No group to add them without one: they can't use the assistant until you give them a group.

  3. Check. Sarthi checks every row exactly like adding that person on their own, and shows what will happen to each one. Nothing is added yet.

  4. Add. The ready rows are added together, in one go. Each one is in the audit log, as if you'd added them one by one.

A row that can't be added says why, with its line in your list:

The row saysWhat to do
No name, or a name over 100 charactersFix the name.
This email doesn't look rightFix the email.
CRM user id is over 128 charactersFix the CRM user id.
Needs an email or a CRM user idAdd at least one of them.
No access group called "…"Fix the group's name, or make that group first.
Same email (or CRM user id) as line 3Each person once: only the first is added.
Already on the staff listThat person is already listed (people you removed don't count).
No seat leftYour plan's staff members ran out part way down the list, so the last ready rows are left out, in the order of your list. Disable or remove someone, or see your plan.

After Add, Fix these rows puts the rows a change can fix back in the box, ready to correct and check again.

Edit, disable, remove​

ActionWhat happens
EditChange the name, email, CRM user id or group. A change to the email, CRM user id or group ends their sign-ins at once: their panel signs in again with the new access. A new CRM user id also drops an earlier link.
DisableTheir sign-ins end at once, and their next request is refused: "Your access to the assistant is switched off. Ask your admin." Their history stays, and they stop counting towards your plan.
EnableThey can sign in again, if your plan has room.
RemoveTheir access ends at once, and they leave the list (the removed filter still shows them). Their history stays until your retention deletes it, and their email and CRM user id can be added again.
Delete their dataOwners only, after typing DELETE. Deletes the person and everything about them: chats, questions, look-ups, refusals, CSV download records, daily counts, and refused sign-ins that carry their CRM user id or email. The audit log keeps only the counts, and your credit history doesn't change. Daily limit emails already sent about them aren't recalled (see Daily limits).

Employees can't delete their own history from the assistant: if someone asks, an owner uses Delete their data.

Try as​

From People, beside a group in the editor, or from Getting started on Set up, Try as a person: type a question and see the answer exactly as they would: the text, a table with its rows, a number, or a refusal in their words. Under it, Why shows:

  • whether Sarthi needed one AI call, two, or none (Same as an earlier answer: it reused the look-up of an earlier answer to the same words), and which database it chose;
  • the query, as checked;
  • the own-rows conditions, with values masked (assigned_to = ••01);
  • the checker's verdict: passed, or refused with the reason ("employees" is not a table Sarthi may read).

When Divya tries "show me all leads from Pune" as Ravi, she gets 12 rows, all his. "How much does Meera earn?" shows exactly the sentence Ravi would read, and Why says it was refused: employees is outside his group.

A try is charged like the same question, up to 30 an hour per admin. No chat or rows are kept, only an entry in the audit log (without the question), so tries don't appear on Activity. Like their own question, the same words get the same look-up for the rest of the day. You can't try as someone removed or disabled, or without a group, nor while the assistant is switched off (nobody could use it then).

What groups don't do​

  • Write. The assistant only reads: it never changes anything in your database.
  • Take access from your CRM. The token only says who someone is; what they may read always comes from their group here. Rules on the token's plan or other details, team or manager hierarchies, and "this or that" rules aren't available.
  • Mix groups. Each person is in one group.
  • Combine databases. One query reads one database. There are no charts, and no AI summaries of rows: "which is biggest?" becomes a new look-up.