Plugins / Notion
Notion 0.2.1
The Notion plugin lets a Vaubaan Gateway mission use Notion without handing the agent a credential. Read and edit the pages, page content, databases and comments of the Notion pages shared with an internal account.
1 · The model
How Notion is modelled
1 plane, 14 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.
Account One account is one internal account of a Notion workspace, connected with its token.
Plane · contentThe pages and databases shared with the account, their content, entries and comments.
1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment
Account
One account is one internal account of a Notion workspace, connected with its token.
Resource
One resource is one top-level page or database shared with that account, with everything under it. Writes are sent silently, so Notion notifies nobody.
Environment
- Rule
- No permission of this service depends on an environment: each is held once, whatever the resource.
- Known
- none
- Carried by
- nothing in the model
Notion has no environments: moving a page to the trash and deleting a block are permissions of their own.
2 · Macro-actions
What an agent does at Notion: 4 macro-actions
A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.
- 1
Read
Pages, databases and comments.
Reading the pages, page content, databases and comments under the roots shared with the account. Nothing changes in Notion, but everything read was written by people and can carry instructions aimed at the agent. Querying a database is a permission of its own because one call exports a whole table, and comments are apart because they are often more candid than the page.
3 permissions
- 2
Comment
Leave comments.
Opening a discussion on a page or a block, or replying to one, signed by the account. It is the one write Notion cannot keep silent: the people a comment mentions are notified.
1 permission
- 3
Write
Create and edit pages, their content and database entries.
Creating pages, adding and rewriting content, adding and editing database entries under the shared roots. Adding is easy to undo; overwriting a title, a block or an entry keeps the old text only in Notion's page history. An entry can also start the database's automations, which then act on their own.
6 permissions
- 4
Reorganize
Delete blocks, move to the trash and restore.
Deleting blocks, moving pages to the trash and bringing them back. A block or a page moved to the trash disappears for everyone, and only a person can restore it from Notion. Trashing a whole shared root is held apart, because it takes the resource away from every person and every mission.
4 permissions
3 · The map
The map
14 permissions of 4 macro-actions, in the four rows of the tree. For the chosen trust level, each cell gives yes, ask me or no, and the quota a day.
A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.
| Risk | ReadPages, databases and comments. | CommentLeave comments. | WriteCreate and edit pages, their content and database entries. | ReorganizeDelete blocks, move to the trash and restore. |
|---|---|---|---|---|
| Cannot be repaired Careful: no. Trusting, Autonomous: ask me. | None | None | None | None |
| Repairable, at a price Careful, Trusting: ask me. Autonomous: runs freely. | None | None |
|
|
| Worth a look Careful: ask me. Trusting, Autonomous: runs freely. |
| None | None |
|
| Harmless Runs freely at every level. |
|
|
| None |
Careful: runs freely 7, ask me first 7. Trusting: runs freely 10, ask me first 4. Autonomous: runs freely 14, ask me first 0. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.
4 · A few calls
A few calls, classified by the plugin
21 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action. The 21 calls, as code.
| The call | The plugin sees | The catalog answers | A Careful mission |
|---|---|---|---|
notion__ |
|
| yes |
notion__ |
|
| yes |
notion__ |
|
| yes |
notion__ |
|
| ask me |
5 · Anything else
Anything else
A call no permission covers touches notion. instead of slipping through. No macro-action holds it; a person ticks it knowingly.
| Permission | Risk | Careful ×1 | Trusting ×3 | Autonomous ×10 |
|---|---|---|---|---|
Uncategorized Notion writeWhy it sits here: Catch-all for writes without a dedicated entry. Seen in an audit, it means a tool classifies to a slice no entry covers: add the entry. notion.uncategorized-write | Repairable, at a price costly to undo | ask me · 50 a day | ask me · 150 a day | yes · 500 a day |
6 · Tools
Tools
18 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.
18 tools · scroll the list
| Tool | What it does | Usually touches |
|---|---|---|
notion__ | List the shared roots | notion. |
notion__ | Search pages and databases | notion. |
notion__ | Read a page | notion. |
notion__ | Read a page's content | notion. |
notion__ | Read a database | notion. |
notion__ | Read a database's schema | notion. |
notion__ | Query a database | notion. |
notion__ | Create a page | notion. |
notion__ | Update a page | notion. |
notion__ | Add content to a page | notion. |
notion__ | Rewrite a block of a page | notion. |
notion__ | Delete a block of a page | notion. |
notion__ | Move a page to the trash | notion., notion. |
notion__ | Bring a page back from the trash | notion. |
notion__ | Add a database entry | notion. |
notion__ | Update a database entry | notion. |
notion__ | Read comments | notion. |
notion__ | Add a comment | notion. |
7 · Connecting an account
Connecting an account
1 of 3 · a key you create and paste internal account token
An internal account token the person creates at Notion and pastes once; nobody declares anything beforehand.
Every capability below, and every top-level page the agents may ever work in. This gateway gives an agent only the pages and capabilities its mission names; a page not shared with the account is out of reach of every mission until you share it and refresh the account.
- BuildInternal accountsCreate a new accountOpen Notion's Developer portal and create an account in the workspace you want to connect (you must be a Workspace Owner); the internal account is the token, there is no app to install. (open)
- ConfigurationTick every capability listed below, and choose No user information.
- Content accessEdit accessShare every top-level page and database the agents may ever work in; sharing a page includes everything under it.
- •••AccountsAdd accountShare a page from Notion itself instead, if you prefer: open the page and add the account there.
- ConfigurationCopy the token and paste it here.
| Permission at Notion | Access |
|---|---|
| Read content | read |
| Insert content | read-write |
| Update content | read-write |
| Read comments | read |
| Insert comments | read-write |
- Where
- https://app.notion.com/developers/accounts
- Expiry
- Notion gives internal account tokens no expiry: delete the account in the Developer portal to end this account.
- The connect page asks
- Internal account token (secret)
- The service's documentation
- https://developers.notion.com/guides/get-started/internal-accounts
- Disconnecting
- In Notion's Developer portal, open the account and refresh its token on the Configuration tab, or remove the account from the shared pages (••• menu, Accounts).
8 · Health
Health
17 gateways run this plugin (over the last 90 days).
| Version | Gateways | Calls | Success | Validated |
|---|---|---|---|---|
0. | 7 | no call yet | — | |
0. | 5 | no call yet | — | |
0. | 5 | no call yet | — |
A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.
Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.
9 · Links
Links
Last changed 2026-12-02. This page as Markdown: /plugins/notion.md