AACFlow

Notion

Manage Notion pages

Usage Instructions

Integrate with Notion into the workflow. Can read page, read database, create page, create database, append content, query database, and search workspace.

Tools

notion_read

Read content from a Notion page

Input

ParameterTypeRequiredDescription
pageIdstringYesNo description

Output

ParameterTypeDescription
urlstringNotion page URL
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
contentstringPage content in markdown format
titlestringPage title

notion_read_database

Read database information and structure from Notion

Input

ParameterTypeRequiredDescription
databaseIdstringYesNo description

Output

ParameterTypeDescription
idstringDatabase UUID
urlstringNotion database URL
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
propertiesobjectDatabase properties schema
titlestringDatabase title

notion_write

Append content to a Notion page

Input

ParameterTypeRequiredDescription
pageIdstringYesNo description
contentstringYesNo description

Output

ParameterTypeDescription
appendedbooleanWhether content was successfully appended

notion_create_page

Create a new page in Notion

Input

ParameterTypeRequiredDescription
parentIdstringYesNo description
titlestringNoNo description
contentstringNoNo description

Output

ParameterTypeDescription
idstringPage UUID
urlstringNotion page URL
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
titlestringPage title

notion_update_page

Update properties of a Notion page

Input

ParameterTypeRequiredDescription
pageIdstringYesNo description
propertiesjsonYesNo description

Output

ParameterTypeDescription
idstringPage UUID
urlstringNotion page URL
last_edited_timestringISO 8601 last edit timestamp
titlestringPage title

notion_query_database

Query and filter Notion database entries with advanced filtering

Input

ParameterTypeRequiredDescription
databaseIdstringYesNo description
filterstringNoNo description
sortsstringNoNo description
pageSizenumberNoNo description

Output

ParameterTypeDescription
resultsarrayArray of page objects from the database
objectstringAlways "page"
idstringPage UUID
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
created_byobjectPartial user object
objectstringAlways "user"
idstringUser UUID
last_edited_byobjectPartial user object
objectstringAlways "user"
idstringUser UUID
archivedbooleanWhether the page is archived
in_trashbooleanWhether the page is in trash
urlstringNotion page URL
public_urlstringPublic web URL if shared, null otherwise
parentobjectParent object specifying hierarchical relationship
typestringParent type: "database_id", "data_source_id", "page_id", "workspace", or "block_id"
database_idstringParent database UUID (if type is database_id)
data_source_idstringParent data source UUID (if type is data_source_id)
page_idstringParent page UUID (if type is page_id)
workspacebooleanTrue if parent is workspace (if type is workspace)
block_idstringParent block UUID (if type is block_id)
iconobjectPage/database icon (emoji, custom_emoji, or file)
urlstringAuthenticated URL valid for one hour
expiry_timestringISO 8601 timestamp when URL expires
coverobjectPage/database cover image
typestringFile type: "file", "file_upload", or "external"
fileobjectNotion-hosted file object (when type is "file")
urlstringAuthenticated URL valid for one hour
expiry_timestringISO 8601 timestamp when URL expires
file_uploadobjectAPI-uploaded file object (when type is "file_upload")
idstringFile upload UUID
externalobjectExternal file object (when type is "external")
urlstringExternal file URL (never expires)
propertiesobjectPage property values (structure depends on parent type - database properties or title only)
has_morebooleanWhether more results are available
next_cursorstringCursor for next page of results
total_resultsnumberNumber of results returned

Search across all pages and databases in Notion workspace

Input

ParameterTypeRequiredDescription
querystringNoNo description
filterTypestringNoFilter by object type: "page", "database", or leave empty for all
pageSizenumberNoNo description

Output

ParameterTypeDescription
resultsarrayArray of search results (pages and/or databases)
objectstringObject type: "page" or "database"
idstringObject UUID
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
created_byobjectPartial user object
objectstringAlways "user"
idstringUser UUID
last_edited_byobjectPartial user object
objectstringAlways "user"
idstringUser UUID
archivedbooleanWhether the object is archived
in_trashbooleanWhether the object is in trash
urlstringObject URL
public_urlstringPublic web URL if shared
parentobjectParent object specifying hierarchical relationship
typestringParent type: "database_id", "data_source_id", "page_id", "workspace", or "block_id"
database_idstringParent database UUID (if type is database_id)
data_source_idstringParent data source UUID (if type is data_source_id)
page_idstringParent page UUID (if type is page_id)
workspacebooleanTrue if parent is workspace (if type is workspace)
block_idstringParent block UUID (if type is block_id)
propertiesobjectObject properties
has_morebooleanWhether more results are available
next_cursorstringCursor for next page of results
total_resultsnumberNumber of results returned

notion_create_database

Create a new database in Notion with custom properties

Input

ParameterTypeRequiredDescription
parentIdstringYesNo description
titlestringYesNo description
propertiesjsonNoDatabase properties as JSON object (optional, will create a default "Name" property if empty)

Output

ParameterTypeDescription
idstringDatabase UUID
urlstringNotion database URL
created_timestringISO 8601 creation timestamp
propertiesobjectDatabase properties schema
titlestringDatabase title

notion_add_database_row

Input

ParameterTypeRequiredDescription
databaseIdstringYesNo description
propertiesjsonYesRow properties as JSON object matching the database schema (e.g., {"Name": {"title": [{"text": {"content": "Task 1"}}]}, "Status": {"select": {"name": "Done"}}})

Output

ParameterTypeDescription
idstringPage UUID
urlstringNotion page URL
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
titlestringRow title

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started