Notion

@idaria/integration-notionnotion

Semantically searches a Notion workspace and answers questions from it. Builds its own embedding index (Notion's API only does title search), keeps it incrementally fresh via cron, and returns the most relevant page sections as context.

documents · productivity · knowledge

Setup fields

The operator fills these in when installing the plugin.

  • notion_api_tokensecret, required
    Notion API TokenInternal-integration token from https://www.notion.so/my-integrations (starts with 'ntn_' or 'secret_'). The agent only sees pages/databases that have been shared with the integration.
  • notion_root_idsstring, optional
    Indexed roots (optional)Pick the top-level pages to index (including everything beneath them). Empty = everything shared. The list is loaded live from your Notion workspace after install. The primary restriction is still what you share with the integration in Notion.
  • notion_exclude_idsstring, optional
    Excluded roots (optional)Comma-/newline-separated page or database IDs that will NOT be indexed (including their subtrees). Takes precedence over the roots.
  • reindex_cronstring, optional
    Re-index cronCroner syntax. How often the workspace is re-crawled. Default: every 6 hours.
  • crawl_max_pagesinteger, optional
    Max pages per crawlUpper bound per index run. Protects against Notion's rate limit (3 req/s) and the plugin HTTP cap (60 req/min). Large workspaces need several runs.
  • chunk_sizeinteger, optional
    Chunk size (characters)Target length of an embedding chunk. Default: 1500.
Show all 7 setup fields
  • request_timeout_msinteger, optional
    Request timeout (ms)

Permissions

This is everything the plugin is allowed to access once it is installed.

memory
readsintegration:@idaria/integration-notion:*
writesintegration:@idaria/integration-notion:*
graph
readsnone
writesnone
sql
ledgerplg_idaria_integration_notion_migrations
network
outboundapi.notion.com
filesystem
scratchno

Dependencies and capabilities

Requires
embeddingClient@^1memoryStore@^1

Versions

VersionCoreSizePublishedsha256Download
v0.4.0latest>=1.78.0 <2.020.1 KB30 Nov 202666ee7af80591….zip