Links

Create page

Tags: #notion #productivity #naas_drivers #operations #snippet
Author: Maxime Jublou​
This notebook shows how to use Naas Notion driver to create a page inside a database

Input

Import libraries

from naas_drivers import notion

Input variables

# Enter Token API
token = "*****"
​
# Enter Database URL
database_id = "https://www.notion.so/naas-official/fafef5183c42474987e002d30ba55d18?v=814c0ec7f34a4395aba47c4eeced603f"

Model

page = notion.connect(token).page.create(database_id=database_id, title="My new page")

Output

page