Notion (API Token)
Connect to Notion to manage your workspace, databases, pages, and blocks using API token authentication.
Authentication
This connector uses Token-based authentication.
info
Set up your connection in the Abstra Console before using it in your workflows.
How to use
Using the Smart Chat
Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".
Using the Web Editor
from abstra.connectors import run_connection_action
result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})
Available Actions
This connector provides 19 actions:
| Action | Purpose | Parameters |
|---|---|---|
| get_v1_users_by_user_id | No description available | user_id (string) |
| get_v1_users | No description available | start_cursor (string) page_size (integer) |
| get_v1_users_me | No description available | No parameters |
| post_v1_databases_by_database_id_query | No description available | database_id (string) filter_properties (array) data: { . filter (object) . sorts (array) . start_cursor (string) . page_size (integer) . archived (boolean) . in_trash (boolean) } (object) required |
| post_v1_search | No description available | data: { . query (string) . sort (object) . filter (object) . start_cursor (string) . page_size (integer) } (object) required |
| get_v1_blocks_by_block_id_children | No description available | block_id (string) start_cursor (string) page_size (integer) |
| patch_v1_blocks_by_block_id_children | No description available | block_id (string) data: { . children (array) . after (string) } (object) required |
| get_v1_blocks_by_block_id | No description available | block_id (string) |
| patch_v1_blocks_by_block_id | No description available | block_id (string) data: { . type (object) . archived (boolean) } (object) required |
| delete_v1_blocks_by_block_id | No description available | block_id (string) |
| get_v1_pages_by_page_id | No description available | page_id (string) filter_properties (string) |
| patch_v1_pages_by_page_id | No description available | page_id (string) data: { . properties (object) . in_trash (boolean) . archived (boolean) . icon (object) . cover (object) } (object) required |
| post_v1_pages | No description available | data: { . parent (object) . properties (object) . children (array) . icon (string) . cover (string) } (object) required |
| post_v1_databases | No description available | data: { . parent (object) . properties (object) . title (array) } (object) required |
| patch_v1_databases_by_database_id | No description available | database_id (string) data: { . title (array) . description (array) . properties (object) } (object) required |
| get_v1_databases_by_database_id | No description available | database_id (string) |
| get_v1_pages_by_page_id_properties_by_property_id | No description available | page_id (string) property_id (string) page_size (integer) start_cursor (string) |
| get_v1_comments | Retrieves a list of un-resolved Comment objectsref:comment-object from a page or block. | block_id (string) required start_cursor (string) page_size (integer) |
| post_v1_comments | Creates a comment in a page or existing discussion thread. | data: { . parent (object) . rich_text (array) } (object) required |