ComponentsBundles
Notion
Components provided by the Notion integration.
Add Content to Page
Convert markdown text to Notion blocks and append them to a Notion page.
| Input | Type | Required |
|---|---|---|
| Page/Block ID | str | No |
| Markdown Text | str | No |
| Notion Secret | str | Yes |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
Create Page
A component for creating Notion pages.
| Input | Type | Required |
|---|---|---|
| Database ID | str | No |
| Notion Secret | str | Yes |
| Properties (JSON) | str | No |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
List Database Properties
Retrieve properties of a Notion database.
| Input | Type | Required |
|---|---|---|
| Database ID | str | No |
| Notion Secret | str | Yes |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
List Pages
Query a Notion database with filtering and sorting. The input should be a JSON string containing the 'filter' and 'sorts' objects. Example input: {"filter": {"property": "Status", "select": {"equals": "Done"}}, "sorts": [{"timestamp": "created_time", "direction": "descending"}]}
| Input | Type | Required |
|---|---|---|
| Database ID | str | No |
| Notion Secret | str | Yes |
| Database query (JSON) | str | No |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
List Users
Retrieve users from Notion.
| Input | Type | Required |
|---|---|---|
| Notion Secret | str | Yes |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
Page Content Viewer
Retrieve the content of a Notion page as plain text.
| Input | Type | Required |
|---|---|---|
| Notion Secret | str | Yes |
| Page ID | str | No |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
Search
Searches all pages and databases that have been shared with an integration.
| Input | Type | Required |
|---|---|---|
| Filter Type | str | No |
| Notion Secret | str | Yes |
| Search Query | str | No |
| Sort Direction | str | No |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |
Update Page Property
Update the properties of a Notion page.
| Input | Type | Required |
|---|---|---|
| Notion Secret | str | Yes |
| Page ID | str | No |
| Properties | str | No |
| Output | Type |
|---|---|
| JSON | JSON |
| Tool | Tool |