Notion
Mirror a Notion database into a Table and add pages to it from your app.
Connecting
Create an internal integration at notion.so/my-integrations and copy its Internal Integration Secret. Then open your database in Notion and connect the integration to it through the page menu, under Connections.
Read a database
- database_id: The database ID from its Notion link, the 32-character part before any question mark. Required.
- page_size: How many pages to read per pull, up to 100.
- start_cursor: The paging cursor from the last answer, the import pages with this.
Answers with: next_cursor.
Add a page
- database_id: The database the page lands in, the 32-character ID from its Notion link. Required.
- title: The page title. Assumes the database title column is named Name, the Notion default, this def writes the title alone. Required.
Answers with: id, url, created_time.
Triggers
- Page added or changed: checked on a schedule.
Settings
- Database: The Notion database this node mirrors and adds pages to, the 32-character ID from its link. Remember to connect your integration to it in Notion.
What it stores
Pages (id, url, created-time, last-edited-time)
Where it speaks
This connection reaches https://api.notion.com and nowhere else. The hosts are fixed by declaration.