Notion
Notion is a workspace for documents and databases. The Notion connector syncs the workspace's users and the pages, data sources and databases its token can reach. It syncs them with relationships that record who created or last edited a page or data source and where each one sits. It also offers ten content operations, such as creating, moving and trashing a page. It does not create or remove Notion users, and it does not read or change who a page is shared with.
Capabilities
| Capability | Supported | Details |
|---|---|---|
| Sync | Yes | Users, pages, data sources and databases, plus six authorship and containment relationships. |
| Incremental sync | No | Every run is a full sync. |
| Account provisioning | No | The connector has no user create, disable or delete. |
| Grant writes | No | All six Grant kinds are read-only. |
| Notifications | No | |
| Custom operations | Yes | Ten content operations on pages and data sources. |
Authentication
| Option | Choose it when | Who owns the Notion integration |
|---|---|---|
| API Token | You can create an internal integration in the workspace, or want to act as one person with a personal access token. | You |
| Public OAuth | You have a Notion public integration and want an administrator to authorize it from Owlie instead of pasting a token. | You |
With either option, Owlie sees only what the token can see: the pages and databases shared with the integration, or the content the authorizing person can reach.
Get credentials from Notion
API Token
- In Notion, create an internal integration in the workspace you want to connect. Notion's guide is Authorization.
- Give it the Read content capability. Add Update content and Insert content if you plan to run the content operations that write.
- Share each page or database you want Owlie to see with the integration.
- Copy the integration's token.
A personal access token works too. It acts with the permissions of the person who created it.
Public OAuth
- In Notion, create a public integration and add the redirect URL that Owlie displays for the connection.
- Copy its OAuth Client ID and Client Secret.
| Feature | Notion capability |
|---|---|
| Sync, connection test and the read operations | Read content, and user information |
| Create, update, move, trash and restore content | Update content and Insert content |
Connect Notion in Owlie
| Auth option | Field | Required | What to enter |
|---|---|---|---|
| API Token | API Token | Yes | The internal integration token or personal access token. |
| Public OAuth | Client ID | Yes | The public integration's OAuth client ID. |
| Public OAuth | Client Secret | Yes | The public integration's OAuth client secret. |
Owlie stores the token and the client secret as secrets. For Public OAuth, save the configuration, then select Connect on the integration's Connection tab and authorize the integration in Notion, choosing the pages it may access.
The connection test asks Notion who the token belongs to.
Entities
| Entity | In Notion | Identifier | Key attributes | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|---|---|
| User | A workspace person or bot. This is the account entity. | id | name, type, person.email, avatar_url | Yes | No | No | No | No |
| Page | A page the token can reach. | id | url, parent, created_by, last_edited_by, in_trash | Yes | No | No | No | No |
| Data Source | A data source the token can reach. | id | title, url, parent, created_by, last_edited_by, in_trash | Yes | No | No | No | No |
| Database | A database that contains one or more of the synced data sources. | id | title, url, data_sources, parent | Yes | No | No | No | No |
Sync finds pages and data sources through Notion's search, and finds databases from the data sources that search returns. Notion does not guarantee that search returns every accessible document, and newly shared content can take time to appear. Treat the result as the content Owlie could see on that run, not as a complete inventory of the workspace.
By default, Sync matches a Notion user to an identity by the person's email against the identity's email. See account matching to change it.
Grant kinds
| Grant kind | In Notion | Principal → target | Writable | Qualifiers | Passes access through |
|---|---|---|---|---|---|
page_created_by | The user who created a page. | User → Page | No | None | No |
page_last_edited_by | The user who last edited a page. | User → Page | No | None | No |
data_source_created_by | The user who created a data source. | User → Data Source | No | None | No |
data_source_last_edited_by | The user who last edited a data source. | User → Data Source | No | None | No |
page_in_data_source | A page that is a row of a data source. | Page → Data Source | No | None | No |
data_source_in_database | A data source inside a database. | Data Source → Database | No | None | No |
These record authorship and structure. They are not sharing permissions: the connector does not sync who a page is shared with, so that access does not appear in Owlie.
Provisioning behaviour and limits
Owlie doesn't provision Notion users. The custom operations act on content the token can reach:
| Operation | What it does |
|---|---|
| Create Page | Creates a page. |
| Update Page | Updates a page's properties, icon, cover, archive or trash state. |
| Move Page | Moves a page to a new parent. |
| Trash Page | Moves a page to trash. |
| Restore Page | Restores a page from trash. |
| Get Page Markdown | Reads a page's content as Markdown. |
| Update Page Markdown | Changes a page's content with Markdown commands. |
| Query Data Source | Lists the pages in a data source. |
| Create Data Source | Creates a data source. |
| Update Data Source | Updates a data source. |
Moving a page can change who can see it, because a Notion page takes its permissions from its parent. Check the destination's sharing before you move a page.
Limits:
- Notion answers "not found" both for a page that doesn't exist and for one the token can't reach. A failed lookup therefore doesn't show that a page is gone.
- The operations that write need the matching Notion capability and need the page shared with the integration.
Troubleshooting
The connection test fails with "Notion could not verify the API token." The token is wrong or revoked, or the OAuth authorization was removed in Notion. Paste a current token, or connect again.
A page or database is missing after Sync. Share it with the integration in Notion, then run Sync again. Newly shared content can take a while to appear in Notion's search.
A content operation is refused by Notion. Check that the integration has Update content or Insert content, and that the page is shared with it.
Changelog
The Notion connector is at version 1. Owlie shows each connector's changelog with the connector in the catalog.