Skip to main content
Connect Notion workspaces to automatically sync pages, databases, and content blocks into your Supermemory knowledge base. Supports real-time updates, rich formatting, and database properties.

Quick setup

1. Create Notion Connector

2. Handle OAuth flow

Send the user to authorization.url before authorization.expiresAt. After the user grants workspace access, Notion redirects to your redirectUrl and the first sync starts. A pending OAuth connector is not visible in list or get until the user finishes authorization.

3. Monitor sync progress

There is no per-connector document list in v5. supermemory.list(namespace, "documents") returns every document in the namespace.

Document limit

Each connector has a documentLimit (optional when creating the connector; allowed range 1–10,000). For Notion, each sync run asks the Notion Search API for pages shared with the integration, ordered by last edited time, newest first, and stops after that many pages (or when Search has no more results).
  • Full sync: If your workspace has more shareable pages than documentLimit, the rest are not included in that run. Pages that look “missing” are often older or less recently edited relative to that ordering. Increase documentLimit or trigger another sync after pages change if you need broader coverage.
  • Incremental sync: Only pages edited after the previous sync are candidates; each one still counts toward the same documentLimit. If more pages changed than the limit since last sync, only the first batch in that newest-first order is returned for that run.
Nested and child pages still count as normal pages in Search if the integration can access them—they are not skipped because they are nested. The limit applies to how many pages are fetched per sync, not to depth. Change the limit later with supermemory.connectors.update(namespace, id, { documentLimit }).

Manual Sync

Supported content types

Notion pages

  • Rich text blocks with formatting preserved
  • Nested pages and hierarchical structure
  • Embedded content (images, videos, files)
  • Code blocks with syntax highlighting
  • Callouts and quotes converted to markdown

Notion databases

  • Database entries synced as individual documents
  • Properties included in metadata
  • Relations between database entries
  • Formulas and rollups calculated values
  • Multi-select and select properties

Block types

Delete Connector

Remove a Notion connector when no longer needed:
Deleting a connector will:
  • Stop all future syncs from Notion
  • Remove the OAuth authorization
  • Delete the synced documents unless you pass deleteDocuments: false

Advanced configuration

Custom Notion integration

For production deployments you can connect with your own Notion integration. Custom OAuth credentials are an organization setting and are not part of the v5 connector routes. See Custom OAuth Applications for the setup steps and callback URL.

Workspace permissions

Notion connector respects workspace permissions:

Database integration

Database properties

Notion database properties are mapped to metadata:

Optimization strategies

  1. Set documentLimit high enough for your workspace size (see Document limit)
  2. Use one namespace per user or tenant for efficient organization
  3. Monitor database sync performance for large datasets
  4. Share only the pages you need with the integration so each sync stays small
  5. Handle webhook delays gracefully in your application
Notion-Specific Benefits:
  • Real-time sync via webhooks for instant updates
  • Rich formatting and block structure preserved
  • Database properties become searchable metadata
  • Hierarchical page structure maintained
  • Collaborative workspace support
Important Limitations:
  • Complex block formatting may be simplified in markdown conversion
  • Large databases can take significant time to sync initially
  • Workspace permissions affect which content is accessible
  • Notion API rate limits may affect sync speed for large workspaces
  • Embedded files and images are referenced, not stored directly