Skip to content
Docs menu

Products and client plans

How Petawork Cloud decides which products and Finance modules an organisation has, what client plans and product switches are, who can change them, and what members see when a product is off.

View .md

Every organisation has a set of products switched on: Tasks, Notes, People, the Finance modules and the rest. Petawork Cloud works this out for each product from three things: a product switch for that organisation, the organisation's client plan, and the product's default.

Client plans

A client plan is a named list of products and Finance modules, with optional monthly limits for the modules that are metered (documents captured, records reconciled, agent runs). An organisation is on at most one client plan.

  • With a plan, the organisation has exactly the products the plan lists.
  • Without a plan, every product that existed before Finance is on, and every Finance module is off.
  • Organisation, Admin and Workspace are always on. No plan or switch turns them off.
  • Finance counts as on when any of its modules is on.

Archiving a plan stops it being picked for another organisation. Organisations already on it keep it until someone changes their plan.

On but not shown

A product can be on but not shown. It works underneath, so other products can use it and its links, pages and agent tools still open, but it is left out of the app rail, the launcher, Home and the ⌘K menu. The Customer Inbox uses this to save customers to People for an organisation that never opens People.

  • A client plan lists the products it keeps on but not shown, under On but not shown on the plan's form. Those products are on for every organisation on the plan.
  • A product switch can be On, not shown. The operator can turn a product on that way. An owner or admin can hide a product their organisation has on, but hiding never turns on a product the plan leaves off.
  • An organisation with no plan and no such switch sees every product exactly as before.
  • Organisation, Admin and Workspace are always shown.

The Organisations page marks such a product Not shown, and the plan list says how many products a plan keeps hidden.

One plan comes with Petawork Cloud: Inbox (key inbox). It shows Support, Funnel, Agents and Notes, keeps People, Calendar and Comms on but not shown, and turns everything else off, Billing included. Notes is shown so the people on the plan can open the notes their agent answers from and the files they uploaded (it was on but not shown until migration 0555). It applies only to an organisation an operator puts on it.

Product switches

A product switch sets one product or module on or off for one organisation, whatever its plan says. A switch can carry its own monthly limits, which replace the plan's limits key by key, an end date (a trial), and a note. When the end date passes, the product follows the plan again. Setting a switch back to "Follow plan" deletes it.

Resolution order

For each product, in order:

  1. A product switch that has not ended decides.
  2. Otherwise, if the organisation has a client plan, the plan's list decides.
  3. Otherwise, the product's default decides.

The older add-ons (Notes, Tasks, Flags, Incidents, Forms, Computers, Agents) still apply on top: a product that is on but whose add-on is missing shows "Add-on missing" and answers as it did before.

Who can change them

Petawork Cloud's operator makes these changes today:

  • Admin → Organisations (/operator/orgs) lists every organisation, 50 to a page, with what it has on, its client plan, member count and last activity (its newest audit log entry). See The Organisations page.
  • Admin → Client plans (/operator/plans) lists the plans with what each turns on and how many organisations are on each. You can create, edit and archive plans there.

Members of an organisation, including owners, do not see these pages. Every change is written to the organisation's audit log with the value before and after (entitlements.plan_assigned, entitlements.override_set). Changes to a plan are logged as entitlements.plan_created, entitlements.plan_updated and entitlements.plan_archived.

Owners and admins have their own page in Settings (below). Agents have MCP tools for the same changes (see Agents and the API).

The Organisations page

Find an organisation. Search by name, slug or id. Filter by client plan, by Finance (has a Finance module on, or none) and by last activity (in the last 7, 30 or 90 days, or not in 90 days). Sort by name, plan, members or last activity with the column headers. The search, filters, sort and page are in the address, so a filtered list can be bookmarked or shared with another operator. The Client plans page links here with ?plan=<id> to list the organisations on one plan.

See what it has. Each row shows two counts: workspace products on (for example "12 of 16 products") and Finance modules on ("Finance 3 of 8", or "No Finance"). Hover a count for the product names. This month's metered usage shows under the counts when there is any.

Change one organisation. Open a row (click it, or press Enter on it) to show its panel beside the list, or as a full-screen sheet on a phone. The panel has:

  • the client plan picker;
  • Workspace products and Finance modules, each product with a switch, a one-line description and a badge saying where its state comes from: Plan, Operator, Owner, MSP, "Trial until" a date, Default, or "Add-on missing";
  • All on and All off for each group. When this changes more than three products, the page asks first;
  • Limits and trial on each product: Follow plan, On or Off, its monthly limits with this month's usage against each, an end date (which makes it a trial) and a note.

A switch applies as soon as you press it, and the message that confirms it has Undo, which puts back what was there before. Organisation, Admin and Workspace show as switches that are on and cannot be pressed; hover one for the reason. A product whose add-on was never bought is disabled the same way.

Change several organisations at once. Tick organisations with their boxes, the box in the header (every organisation on this page), or the keyboard: ↑ and ↓ move between rows, Space ticks a row, Shift with ↑ or ↓ ticks a run, ⌘A or Ctrl+A ticks the page, and Esc clears. Ticks are kept when you search or change page. A bar then shows how many are picked with Turn products on, Turn products off, Assign plan and Clear.

  1. Pick the products (grouped as Workspace products and Finance modules, with a shortcut for every Finance module) and on or off, or pick a client plan.
  2. Review: the page says what will happen in one sentence, such as "Turn Document capture and Reconciliation on for 5 organisations.", and lists the organisations by name.
  3. Apply. Each organisation is changed in its own transaction, and the result lists every organisation: what changed, what was already so, and what was refused and why. One organisation that fails does not stop the others, and nothing is left half-done without being listed.

A product that is already in the state asked for is reported as already so and is not written again. Every change that is written leaves the same audit row as a single switch, one per organisation and product. One change covers at most 200 organisations.

Owners and admins: Settings > Products

Owners and admins open Settings > Products (/settings/products) to see what their organisation has. Every product is listed, with the Finance modules grouped under Finance. Each row says whether the product is on and where that comes from: your plan, the operator, a trial until a date, switched off by your organisation, or the default. A metered module also shows this month's usage against its limit. Other members do not see the page.

  • You can switch a product off when you do not use it, and switch it back on. Switching back removes your own switch, so the product follows your plan again.
  • You cannot switch on a product your plan and the operator do not give you. Ask the operator.
  • You cannot change a product the operator set or a trial. Those rows have no switch.
  • Organisation, Admin and Workspace are always on, and so is Billing, so you can always manage your plan.
  • On a self-hosted install (the self-hosted image) with no client plan, you can also switch Finance modules on yourself.
  • Your data is kept when a product is switched off. Switch it back on and everything returns.

Each change is written to the audit log as entitlements.override_set, with the value before and after.

Managing organisations

A managing organisation (an MSP) sets the products of the client organisations it manages, from Clients (/msp). The Products column shows how many products each client has on and its client plan, if any. An owner or admin of the managing organisation opens a client's count to get the same panel the operator uses: the client plan, and a switch per product and Finance module with its limits.

  • A ceiling. You can switch a product on for a client, or put it on a plan, only if your own organisation has it on. A limit you set can be at most your own for that key; leave it empty and the client gets your limit. Switching off, or back to the client's plan, is always allowed. A choice outside your ceiling is greyed out with the reason, and an attempt anyway answers 403 naming the product, for example "Your organisation does not have finance.recon, so it cannot give it to a client."
  • A client plan. You can assign a plan only if every product it turns on, and every limit it sets, is within your ceiling. Removing the client's plan is always allowed.
  • A live link. Your organisation must be linked to the client now: the link is active, its access has not ended, and its role and scopes include changing settings. This is checked inside each change, so an ended or revoked link changes nothing, even in a session that is still open.
  • Never over the operator. A product the operator set, or a trial, stays as it is. Always-on products cannot be switched.

Each change is recorded as source msp and written to the audit log of both organisations (entitlements.override_set or entitlements.plan_assigned), with the value before and after and the managing organisation named.

What members see when a product is off

  • The product leaves the app rail, Home and the ⌘K menu. Search returns nothing from it.
  • Opening one of its pages shows that the product is not on the organisation's plan, and tells the member to ask an owner or admin.
  • The workspace MCP server leaves the product's tools out of every tool list. A direct call returns the error product_not_enabled.
  • The product's data is kept. Switching the product back on brings it all back.

Agents and the API

Agents and scripts get the same control as the screens, through five tools in the org product of the workspace MCP server (/workspace/mcp/org) and REST twins under /api/v1/org. They call the same functions as the screens, so the same checks apply and the same audit rows are written, with the key or the connected app as the actor. A member's personal key or an OAuth connection acts as that member with their role in the organisation; the role never comes from the request. Changing anything needs org:write (or a key that is not read-only).

Tool REST Who
org_entitlement_list GET /api/v1/org/entitlements Any member's credential, for its own organisation. With org, a client: owners and admins of the managing organisation.
org_entitlement_set PUT /api/v1/org/entitlements/{id} state is on, off, hidden (on but not shown) or follow. Owners and admins switch their own organisation's products off, hide one that is on, or set it back to the plan (follow); on only for a Finance module on a self-hosted install with no client plan. With org, owners and admins of a managing organisation, within their ceiling, with limits.
org_entitlement_bulk_set POST /api/v1/org/entitlements/bulk Several products (changes: id and state, and limits for a client) and optionally a client plan, for several organisations (orgs, up to 200) in one call. The same rules as org_entitlement_set apply to each organisation: a managing organisation for its clients, an owner or admin for their own organisation (leave orgs out). The answer lists each organisation's result: changed, already so, refused and why.
org_clientplan_list GET /api/v1/org/client-plan Any member's credential: the organisation's own plan. A managing organisation's owners and admins also get the plans they can assign.
org_clientplan_assign PUT /api/v1/org/client-plan Owners and admins of a managing organisation, for a client; plan null takes the client off its plan.

The operator's writes (creating, editing and archiving client plans, setting any organisation's plan, an operator or trial override and an expiry) stay on the operator's pages: the operator signs in to the console, and a tool call is always an organisation's own key or app, so no agent acts as the operator. A refusal carries the same words as the screen ("Ask the operator to switch a product on.", "Your organisation does not have finance.recon, so it cannot give it to a client.") and answers 403 over REST. workspace_license_get also lists every product and module with on and source. org_entitlement_bulk_set is the same code path as the operator's bulk changes, so its audit rows match theirs; it is a separate tool rather than a list form of org_entitlement_set because its answer is a result per organisation.

{ "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": { "name": "org_entitlement_set", "arguments": { "id": "people", "state": "off" } } }
curl -X PUT https://cloud.example.com/api/v1/org/entitlements/people \
  -H "authorization: Bearer $PETAWORK_KEY" -H "content-type: application/json" -d '{"state":"off"}'