Notion

Notion logo

Notion

Configuration

Notion source connector integrates with the Notion API to extract and synchronize content.

Connects to your Notion workspace.

It provides comprehensive access to databases, pages, and content with advanced content aggregation, lazy loading, and file processing capabilities for optimal performance.

Authentication

This connector uses OAuth 2.0 authentication. You can connect through the Airweave UI or API using the OAuth flow.

Supported authentication methods:

  • OAuth Browser Flow (recommended for UI)
  • OAuth Token (for programmatic access)
  • Auth Provider (enterprise SSO)

Configuration Options

This connector does not have any additional configuration options.

Data Models

The following data models are available for this connector:

Schema for a Notion database.

FieldTypeDescription
database_idstrThe ID of the database
titlestrThe title of the database
descriptionstrThe description of the database
propertiesDict[str, Any]Database properties schema
properties_textOptional[str]Human-readable schema description
parent_idstrThe ID of the parent
parent_typestrThe type of the parent (workspace, page_id, etc.)
iconOptional[Dict[str, Any]]The icon of the database
coverOptional[Dict[str, Any]]The cover of the database
archivedboolWhether the database is archived
is_inlineboolWhether the database is inline
urlstrThe URL of the database
created_timeOptional[datetime]When the database was created
last_edited_timeOptional[datetime]When the database was last edited

Schema for a Notion page with aggregated content.

FieldTypeDescription
page_idstrThe ID of the page
parent_idstrThe ID of the parent
parent_typestrThe type of the parent (workspace, page_id, database_id, etc.)
titlestrThe title of the page
contentOptional[str]Full aggregated content
propertiesDict[str, Any]Formatted page properties for search
properties_textOptional[str]Human-readable properties text
property_entitiesList[Any]Structured property entities
filesList[Any]Files referenced in the page
iconOptional[Dict[str, Any]]The icon of the page
coverOptional[Dict[str, Any]]The cover of the page
archivedboolWhether the page is archived
in_trashboolWhether the page is in trash
urlstrThe URL of the page
content_blocks_countintNumber of blocks processed
max_depthintMaximum nesting depth of blocks
created_timeOptional[datetime]When the page was created
last_edited_timeOptional[datetime]When the page was last edited

Schema for a Notion database page property.

FieldTypeDescription
property_idstrThe ID of the property
property_namestrThe name of the property
property_typestrThe type of the property
page_idstrThe ID of the page this property belongs to
database_idstrThe ID of the database this property belongs to
valueOptional[Any]The raw value of the property
formatted_valuestrThe formatted/display value of the property

Schema for a Notion file.

FieldTypeDescription
file_typestrThe type of file (file, external, file_upload)
urlstrThe URL to access the file
expiry_timeOptional[datetime]When the file URL expires (for Notion-hosted files)
captionstrThe caption of the file
metadataOptional[Dict[str, Any]]Additional metadata about the file