Skip to main content
Everything an agent can reach is scoped: its connected apps down to individual tools and the account it acts as, and its knowledge vaults down to folders or files. Untick a tool and that action is out of reach entirely. Permissions then decide which of the remaining actions run without asking and which wait for your approval.

You stay in control

An agent chooses only the proper scopes for the job, the builder connects the exact tools it needs, never the whole app. You can always change this while editing the agent, in its Connected apps and Knowledge sections, and you can change it while chatting too, just tell the agent. Every choice stays visible in the editor, so nothing is ever hidden from you.
Adjusting an agent's app tools and knowledge scope in the editorAdjusting an agent's app tools and knowledge scope in the editor

Set permissions for a connected app

Each app you connect has its own permissions, which apply to every agent that uses it. Each action is set to Always allow, Needs approval, or Blocked, see Approvals for what each one means.
1

Open the app's permissions

Go to Connected Apps and click Permissions on the app’s row.
A Gmail connection on the Connected Apps page with its Permissions buttonA Gmail connection on the Connected Apps page with its Permissions button
2

Choose a setting

Actions are split into Read actions and Write actions. Pick a setting for a whole group, or expand it and choose Allow, Ask, or Block for a single action. Default keeps QX’s choice, which lets reading run and asks before writing, or your admin’s setting if they’ve chosen one.
The Permissions sheet for Gmail with quick buttons and per-action Allow, Ask, and Block controlsThe Permissions sheet for Gmail with quick buttons and per-action Allow, Ask, and Block controls

Gmail here is set to ask before fetching emails

3

Save

Click Save. The new settings apply to every agent that uses this app.
The buttons at the top of the sheet set whole groups in one click, like Ask for all write or Block all write, and Reset to QX defaults puts everything back. Actions marked Irreversible, like permanently deleting messages, can’t be undone once they run. Only the person who connected the app can change its permissions. If the app is shared with you, you can open its permissions to see what’s set, and you can still approve actions in your own chats when an agent asks.

Set permissions for one agent

An agent can also have its own setting for each tool. In the agent editor’s Connected apps section, click the tools button on an app’s row.
An app row in the agent editor's Connected apps section with its tools buttonAn app row in the agent editor's Connected apps section with its tools button
Next to each tool, choose Inherit to keep the app’s setting, or pick Always allow or Needs approval for this agent only. The dropdown at the top of each group changes every ticked tool at once. Click Done, then Save changes.
The agent editor's tool list for Google Calendar with the Inherit, Always allow, and Needs approval options openThe agent editor's tool list for Google Calendar with the Inherit, Always allow, and Needs approval options open

Google Calendar here is set to ask before reading

Always allow is offered only when you own both the agent and the app’s connection, and your admin hasn’t limited the tool. An agent can’t lift a block either, a tool that’s Blocked on the app shows Blocked here, or Blocked by admin if your admin blocked it.

Set app permissions for your organization

Owners and admins can set limits for everyone in the organization under Settings → App Permissions. Your settings replace QX’s defaults for every app, and nobody can loosen them. People can still make their own apps and agents stricter.
Settings, App Permissions, with All apps set so read actions need approval and a Gmail entry under Specific appsSettings, App Permissions, with All apps set so read actions need approval and a Gmail entry under Specific apps

Read actions here need approval in every app, and Gmail has its own setting

1

Choose a setting for all apps

Under All apps, pick a setting for Read actions and for Write actions. Not set keeps QX’s default, which lets reading run and asks before writing. Each change saves straight away.
2

Give one app its own setting

Under Specific apps, click Add app and pick the app, even one nobody has connected yet. Its Permissions sheet opens, where you choose a setting for its Read actions and Write actions, or Allow, Ask, or Block for a single action. Not set follows All apps, and Save applies it.
The Permissions sheet for Gmail's own setting, with Write actions set to Blocked and Send Email set to AskThe Permissions sheet for Gmail's own setting, with Write actions set to Blocked and Send Email set to Ask

Gmail's write actions are blocked, except Send Email, which asks first

3

Change or remove an app's setting

Click Edit on the app’s row to change it. The delete button removes it, and the app follows All apps again.
Everyone sees your limits in an app’s Permissions sheet and in the agent editor. Choices looser than your limit are greyed out and marked locked by admin, and actions you blocked show Blocked by admin. If someone had already chosen something looser, your limit applies instead, and their choice comes back if you remove the limit.
A member's Gmail Permissions sheet with Read actions limited by the admin, Always allow locked by admin in the dropdown, and write actions blockedA member's Gmail Permissions sheet with Read actions limited by the admin, Always allow locked by admin in the dropdown, and write actions blocked

What a member sees on their Gmail connection, Always allow is locked for reading and writing is blocked

Your limits cover QX’s built-in apps, like DataForSEO, too. They don’t change the Actions of an external WhatsApp agent.
Needs approval means the agent asks the person it’s working for. Where nobody is asked, like a chat with Auto on, email, scheduled tasks, and Run an Agent in flows and grids, those actions run without asking, see When the agent asks. To stop an action everywhere, set it to Blocked.

When settings disagree

An app’s settings and an agent’s settings can both apply to the same tool. The stricter one wins, so a teammate’s agent can never stop asking on your account. The one exception is your own agent on an app you connected, where the agent’s setting comes first, so you can let one agent run an action without asking while every other agent still asks. Your admin’s limits sit above all of these, so nothing can be looser than them. Blocked always wins, whoever set it.

Scope a vault to folders or files

A vault you attach in the agent editor’s Knowledge section starts fully open, its row reads Entire vault and the agent can search everything in it. To narrow it, click Configure scope on the vault’s row. The vault’s contents appear as a tree of checkboxes, tick the folders or files you want the agent to use. Ticking a folder includes everything inside it, and you can untick individual files within to leave just those out. Click Save to apply. The Entire vault button clears your picks and restores full access, and leaving everything unticked means full access too, so an untouched vault never locks the agent out.
The vault scope picker with a folder and individual files tickedThe vault scope picker with a folder and individual files ticked

Tick the folders and files the agent may search

The Knowledge section listing a vault narrowed to selected folders and filesThe Knowledge section listing a vault narrowed to selected folders and files

The attached vault shows what's in scope

Once saved, the vault’s row shows a short summary of what you picked, and that selection is all the agent gets. It searches and cites only the folders and files in scope, the rest of the vault is invisible to it.

Scope a single conversation

You can also change what an agent may use for one chat, without editing the agent. In the chat composer, open the capabilities, connected apps, or knowledge popover and toggle what you want. Vaults go further than on and off, hover one in the knowledge popover and click Configure scope to open the same folder and file picker as the editor. Either way the change applies to that conversation only, and the saved agent stays exactly as it was. These toggles change what the agent can use, not whether it asks, approvals still follow the app’s and the agent’s permissions.
The chat composer's connected apps popover with the Gmail tools button highlightedThe chat composer's connected apps popover with the Gmail tools button highlighted

Open the apps popover in the composer and click the tools icon on Gmail

Choosing the Gmail tools the agent can call in this chatChoosing the Gmail tools the agent can call in this chat

Pick which Gmail tools this chat may use

What scoping means in practice

When an agent runs, only the tools you see in its editor exist for it. An agent that can read an inbox but not send from it cannot send, no matter how it is asked, and a vault scoped to one folder keeps every other document out of view. When an app has more than one account connected, the agent acts as one specific account, and you choose which.
Keep scopes minimal. An agent with just the tools its job needs picks the right one more reliably, runs faster, and can’t touch anything you didn’t intend.