Notion

Notion logo

Notion

Connect your Notion data to Airweave

Overview

The Notion connector allows you to sync data from Notion into Airweave, making it available for search and retrieval by your agents.

Configuration

NotionSource

Comprehensive Notion source implementation with content aggregation.

Authentication

This connector uses OAuth 2.0 authentication flow.

Authentication Configuration

Notion authentication credentials schema.

access_token
strRequired

The access token for your Notion app.

Entities

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
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]Page properties
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