Skip to main content

Notion

Connect to Notion to manage your workspace, databases, pages, and blocks.

Notion Logo

Authentication

This connector uses OAuth 2.0 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:

ActionPurposeParameters
get_v1_users_by_user_idNo description availableuser_id (string)
get_v1_usersNo description availablestart_cursor (string)
page_size (integer)
get_v1_users_meNo description availableNo parameters
post_v1_databases_by_database_id_queryNo description availabledatabase_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_searchNo description availabledata: {
. query (string)
. sort (object)
. filter (object)
. start_cursor (string)
. page_size (integer)
} (object) required
get_v1_blocks_by_block_id_childrenNo description availableblock_id (string)
start_cursor (string)
page_size (integer)
patch_v1_blocks_by_block_id_childrenNo description availableblock_id (string)
data: {
. children (array)
. after (string)
} (object) required
get_v1_blocks_by_block_idNo description availableblock_id (string)
patch_v1_blocks_by_block_idNo description availableblock_id (string)
data: {
. type (object)
. archived (boolean)
} (object) required
delete_v1_blocks_by_block_idNo description availableblock_id (string)
get_v1_pages_by_page_idNo description availablepage_id (string)
filter_properties (string)
patch_v1_pages_by_page_idNo description availablepage_id (string)
data: {
. properties (object)
. in_trash (boolean)
. archived (boolean)
. icon (object)
. cover (object)
} (object) required
post_v1_pagesNo description availabledata: {
. parent (object)
. properties (object)
. children (array)
. icon (string)
. cover (string)
} (object) required
post_v1_databasesNo description availabledata: {
. parent (object)
. properties (object)
. title (array)
} (object) required
patch_v1_databases_by_database_idNo description availabledatabase_id (string)
data: {
. title (array)
. description (array)
. properties (object)
} (object) required
get_v1_databases_by_database_idNo description availabledatabase_id (string)
get_v1_pages_by_page_id_properties_by_property_idNo description availablepage_id (string)
property_id (string)
page_size (integer)
start_cursor (string)
get_v1_commentsRetrieves 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_commentsCreates a comment in a page or existing discussion thread.data: {
. parent (object)
. rich_text (array)
} (object) required