Clients
If your team works for clients, such as an agency running campaigns for brands or a services firm managing customer accounts, Clients keeps each agent on the clients it works for. You list your clients and the ids each one owns in your tools, such as account ACC-1042 and campaign CMP-874 in Convertr. Each group then works for all clients or only the ones you pick. CortexHub checks every call of those tools, in code, before it runs.
For example, the Northwind team's agents work only for Northwind Media. When one of them calls Convertr with account ACC-2077, which belongs to another client, the call is blocked, and the agent is told why without naming the other client.
Org owners and admins manage clients under Clients in the sidebar.
Set up clients
Clients has three tabs.
Identifiers: which arguments carry a client id
Start here. For each toolkit, mark the tool arguments that carry a client's ids, for example account_id and campaign_id, and name the kind of id each one is, such as "account" or "campaign". Looks like a client id: suggests arguments from the toolkit's own tool definitions, with how many tools take each one; Add another argument... lists the rest.
A toolkit with at least one marked argument shows Checked against client scope. A toolkit with none shows Not checked, and its calls are not checked.
Clients: your client list
The Clients tab lists your clients, with search by name or id, their status, the groups that work for them and their approvers.
- Add client adds one by name. Open it to add the ids it owns: pick the toolkit, the kind of id and the value, such as Convertr, account,
ACC-1042. Each id belongs to one client only. - Import CSV adds many at once. Use one row per id, with the header
client,status,toolkit,kind,value, for exampleNorthwind Media,active,Convertr,account,ACC-1042. The toolkit is its name as shown under Toolkits. New clients are added and existing ones (matched by name) gain the ids. Select Check file first: nothing is saved until you import, and a file with any problem saves nothing and lists each problem by line. - Export CSV downloads the list in the same format.
A client's page shows the ids it owns by toolkit, who approves its held calls and the groups that work for it. Set its status to Archived: no agent may act on it when the work ends: every call on its ids is then blocked.
Settings: an id that is not in your client list
Choose what happens when a call names an account or campaign id that no client owns:
- Block the call (the default): "Safest: an agent can only act on ids in your client list."
- Ask an org admin first: the call waits until an org owner or admin approves it.
Which clients a group works for
Each group in Groups & access has a Clients tab. Under This group works for, choose:
- All clients: agents may act on any client, one client per call. An id no client owns is still handled as set under Clients -> Settings.
- Only these clients: pick the clients by name or id. A call that names another client's ids, or names no client where the tool takes one, is blocked. With no clients picked, every call that names a client is blocked.
An agent's page shows who it works for, such as Works for: Northwind Media, from its group.
How a call is checked
For every call of a toolkit with marked arguments, CortexHub reads the client ids in the call and checks them in this order. The first finding decides:
- An id that is not one value (a list or an object) is blocked.
- Ids of different clients in one call are blocked: "account ACC-2077 and campaign CMP-881 belong to different clients".
- An id of an archived client is blocked.
- An id of a client the agent's group does not work for is blocked. The other client is never named.
- A group that works for selected clients cannot call a tool that takes a client id without naming one.
- An id no client owns is blocked, or held for an org admin, as set under Settings.
The check only tightens: it joins your other rules, toolkit decisions, tool overrides and argument rules, and the strictest applies. It never decides a tool on its own, so a tool with no decision set stays blocked. If CortexHub cannot read your client list for a call, the call is blocked rather than let through.
When the check blocks a call, the agent is told what stopped it and how to fix it, for example:
Blocked by client scope: ACC-2077 belongs to a client this agent's group does not work for. An org admin can add this client to the agent's group on the group's Clients tab in Groups & access.
For ids of different clients, the agent is told to make a separate call for each client; for a call with no client, to include the client's id.
The session trace shows a Client scope step, such as "Client scope: Northwind Media", and evidence packs export it with each call. The id values are not stored in that record.
Who approves a client's calls
On a client's page, Who approves its held calls names who decides when a call on that client waits for approval: A group or Specific people, or Not named: the toolkit rule's approver. Named approvers decide that client's held calls instead of the approver the toolkit decision, tool override or argument rule names. An org-wide or group rule that holds a call keeps its own approvers.
The approval then says so, such as "Approves Northwind Media's held calls", and Review and publish for the toolkit names the clients with their approvers. A client's approvers count as named approvers, so an org admin who decides for them makes an override, with a written reason (see When an org admin overrides named approvers). A call held because its id belongs to no client goes to the org admins.
Ask CortexHub
Ask CortexHub answers questions such as "Which clients can the Lead Ops Agent act on?" from the agent's group, read-only.
Every change is recorded
Adding, changing, archiving and deleting a client, importing a file, marking arguments, changing a group's clients and changing the setting are all in the audit log, with the value before and after.