integrationnotion
Notion
@omadia/integration-notion
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.
- latest
- v0.3.0
- license
- MIT
- versions
- 2
- author
- byte5 GmbH
install
In your idaria instance, open Admin → Registries and add this registry, then install Notion from Admin → Plugins → Store.
registry
https://hub.idaria.aiversions
setup fields
Values the operator fills in at install-time.
keytypelabelrequired
notion_api_tokensecret
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.
requirednotion_root_idsstring
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.
optionalnotion_exclude_idsstring
Excluded roots (optional)Comma-/newline-separated page or database IDs that will NOT be indexed (including their subtrees). Takes precedence over the roots.
optionalreindex_cronstring
Re-index cronCroner syntax. How often the workspace is re-crawled. Default: every 6 hours.
optionalcrawl_max_pagesinteger
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.
optionalchunk_sizeinteger
Chunk size (characters)Target length of an embedding chunk. Default: 1500.
optionalrequest_timeout_msinteger
Request timeout (ms)
optionalpermissions
memory
reads: [1] · writes: [1]
graph
reads: [0] · writes: [0]
sql
ledger: plg_omadia_integration_notion_migrations
network
outbound: [1]
filesystem
scratch: false