This connector captures data from Notion into Flow collections via the Notion API.
It is available for use in the Flow web application. For local development or open-source workflows,
ghcr.io/estuary/source-notion:dev provides the latest version of the connector as a Docker image. You can also follow the link in your browser to see past image versions.
This connector is based on an open-source connector from a third party, with modifications for performance in the Flow system. You can find their documentation here, but keep in mind that the two versions may be significantly different.
Supported data resources
The following data resources are supported:
By default, each resource is mapped to a Flow collection through a separate binding.
To use this connector, you'll need a Notion account with an integration created to connect with Flow.
Before you create your integration, choose how you'll authenticate with Notion. There are two ways: using OAuth to sign in directly in the web app, or manually, using an access token. OAuth is recommended in the web app; only manual configuration is supported when using the CLI.
Setup for OAuth authentication
Go to your integrations page and create a new integration.
On the new integration's Secrets page, change the integration type to Public. Fill in the required fields.
Setup for manual authentication
- During setup, change User Capabilities from No user information (the default) to Read user information without email address.
Copy the generated token for use in the connector configuration.
You configure connectors either in the Flow web app, or by directly editing the catalog specification file. See connectors to learn more about using connectors. The values and specification sample below provide configuration details specific to the Notion source connector.
The properties in the table below reflect the manual authentication method. If you're working in the Flow web app, you'll use OAuth2, so many of these properties aren't required.
|Authenticate using||Pick an authentication method.||object||Required|
|Authentication type||Set to ||string||Required|
|Access Token||Notion API access token||string|
|Start Date||UTC date and time in the format 2017-01-25T00:00:00.000Z. Any data before this date will not be replicated.||string||Required|
|Stream||Notion resource from which a collection is captured.||string||Required|
|Sync Mode||Connection method.||string||Required|
This sample specification reflects the manual authentication method.