Notion
Procedures and concepts for the Notion integration.
Overview
Notion is an all-in-one workspace that combines notes, databases, wikis, and project management capabilities. This integration allows automated page creation, database updates, content management, and knowledge base maintenance. Organize information effectively and automate documentation workflows.
Prerequisites
1. Required Books
The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:
Notion
How to Add the Book(s)
Go to Books → All Books.
Search for the name of the book and click on it.
Click on Install or Add Connection to add the book to your agent.
If adding a connection, you'll be prompted for connectivity details.
Connectivity
This section outlines the available methods for connecting to the Book, along with the required configuration details for each.
Procedures
to create a (new page) in notion
Create a new page in Notion, following the BDK NotionPage model as an input.
Input Concepts
Output Concepts
Examples
Create a new minimal page in Notion
to query some (pages) from notion
Retrieves pages from Notion.
It will return a list of NotionPage objects, that are BDK representations of the Notion Page model.
Input Concepts
query text
The text to search for in the title of the pages.
text
No
(no default)
Output Concepts
Examples
Query pages from notion Query pages from notion with a query text the query text is "BDK Test Page"
Concepts
Notion page
A dataclass representing a new Notion page.
parent
The parent of the Notion page.
or or or
properties
The properties of the Notion page.
json
id
The ID of the Notion page.
optional[text]
children
The children of the Notion page.
notion bulleted list item block?] or optional[list of list of notion paragraph block
Last updated

