Skip to content

Bots

Bots are named service accounts for your organization’s scripts, nightly jobs and CI pipelines. A bot is not a person: it has no sign-in, no role and no seat, and cannot open the app. A script swaps the bot key for a short-lived token and calls the AI Workspace tools with that token.

Bots are managed on AI Workspace → Administration → Bots by AI Workspace administrators (by default the organization’s administrator).

  1. Click Add bot.
  2. Type the Bot name (for example “Gece raporu”; 1–80 characters, unique in the organization) and click Add.

An organization can have at most 50 bots.

  1. On the bot’s row, click Generate key.
  2. Type the Key label: the script or server that will use the key, for example server-1.
  3. Choose Valid for: 30, 90, 180 or 365 days (default 90).
  4. Click Generate.
  5. Copy the key into a password vault or the script’s environment variable, then click I’ve copied it, close.
  • Revoke: tokens taken with that key stop working at once; the script is refused on its next call. It cannot be undone.
  • Remove bot: its keys are revoked, shares with it are deleted, its drafts folder goes to the trash and is deleted for good after 30 days. What it wrote into people’s folders stays there.

Switching AI assistant access off does not stop bots. To stop a bot, revoke its key or remove the bot.

A bot sees only what is shared with it or with the whole organization. In the share panel, Find a person also finds bots (with a “Bot” badge). A bot can be given at most Editor.

  • Everything a bot writes into a person’s folder is owned by that folder’s owner; the bot shows only as the creator.
  • It cannot open folders at the top level. It has a Drafts folder that only it sees; a draft nobody changed for 30 days goes to the trash. An item moved from the drafts into a shared folder passes to that folder’s owner.
  • It deletes and moves only what it created; it deletes only rows it added.
  • It cannot rename, retype or delete table columns.
  • It cannot see other modules’ tools (Forms, Workflows, Issues…).
  • In queries, @viewer_email is empty for a bot, so a query filtering on it returns no rows for a bot.

60 tool calls a minute per key, 120 per bot; swapping a key for a token 10 times a minute per key. A token ends at the end of the requested time (60–3600 seconds, default 60) and is not refreshed; when it expires, take a new one.

The Administration → Developers page shows the key-for-token swap and a tool call with curl, Python and Node.js examples. Technical details: MCP and bots (developers).

  • Keep the key in a password vault (secret manager) or an environment variable; never in code, a configuration file or a repository.
  • Generate a separate key for each script or server; if one leaks, you revoke only that one.
  • Choose the shortest token lifetime that does the job; 60 seconds is enough for most jobs.
  • If a key leaked, revoke it at once on the Bots page.
  • Before a key expires, generate a new one, switch the script to it, then revoke the old one.

Adding a bot, generating and revoking keys and removing a bot go into the security audit trail; the key itself is never written anywhere.