Skip to main content

Pages and Databases

The Notion integration connects Wolffish to your Notion workspace for searching, reading, creating, and querying pages and databases. It uses a Notion internal integration token for authentication.

Setup

1

Create an Integration

Go to notion.so/my-integrations and click “New integration”. Give it a name (e.g., “Wolffish”) and select the workspace.
2

Copy the Token

After creation, copy the Internal Integration Token (starts with ntn_ or secret_).
3

Configure in Wolffish

Open Settings > Integrations > Notion, click Add, give the connection a label (e.g., “Personal”), and paste the token. Test validates it and shows the workspace bot it resolves to.
4

Share Pages with the Integration

In Notion, open each page or database you want Wolffish to access. Click the ”…” menu > “Connections” > find your integration and connect it.
The integration can only access pages and databases that have been explicitly shared with it. If Wolffish can’t find a page, check that the page’s Connections include your integration.

Multiple Workspaces

You can link any number of Notion workspaces, each as a labeled connection (“Personal,” “Work”). Every notion_* tool takes an optional connection parameter naming the label:
  • One connection configured — it’s used automatically; you never need to pass anything.
  • Several configured — tools ask for the label when it’s ambiguous, and a notion_connections tool lists what’s available. In chat, just say which workspace you mean: “add it to my work Notion.”
Existing single-token setups migrate to a labeled connection automatically.

Available Tools

Search and Read

Create and Update

Databases

Database Querying

The notion_query_database tool supports Notion’s filter and sort format:
Compound filters are supported:
You don’t need to write raw filter JSON yourself. Just describe what you want — “show me tasks assigned to me that are in progress” — and the LLM constructs the appropriate filter.

Supported Block Types

When creating or appending content, Wolffish supports these Notion block types:

Triggers

The Notion capability activates when your message matches any of these patterns:

Example Workflows

Configuration Reference

Connections are stored in config.json as a labeled array:
The name and email fields are resolved automatically when a token is tested. A legacy single-token shape ({ "token": "…" }) is migrated to a connection labeled “Default” on first save.
Notion’s API has rate limits (3 requests per second for integrations). Wolffish handles retries with exponential backoff automatically through the motor module. If you’re doing bulk operations, responses may be slightly slower than usual.
Never share your Notion integration token. Anyone with the token can read and modify all pages the integration has access to. If you suspect a token leak, rotate it immediately at notion.so/my-integrations.