๐ Notion
This is a legacy platform changelog. The information reflected here may not represent current functionality and some links may be broken.
Notion as a resource is now available as a source connector, in developer preview.
Customers who opt-in to the preview will have access to use Notion as a source in their Turbine apps.
See the Notion Resource documentation to understand how to set up your Notion integration, and retrieve your integration's access token.
Once you have your Notion integration's access token, create the resource using Meroxa CLI v2.13.1 or later:
$ meroxa resource create my-notion \
--type notion \
--token $NOTION_INTEGRATION_TOKEN
The $NOTION_INTEGRATION_TOKEN
, also known as the access_token
in Notion, is all that is required to authorize access to a chosen Notion Workspace.
You can then create a Turbine app, using Notion as a source. Here's a simple example with Python:
source = await turbine.resources("my-notion")
# ...
records = await source.records("",{"pollInterval": "1m"})
Currently, the Notion connector emits JSON, containing plaintext and metadata of pages and databases in a Notion workspace. For an example of the data format, or configuration information, see the Notion resource documentation.
The Notion developer preview does not support creating or updating Notion resources on the dashboard at this time; this support will come in a later release.
๐ This is the first of many new connectors that we're adding to the Platform in the coming months. If there is a connector you would like to see, reach out to us at [email protected], or join our Discord community!