Notion

Manage Notion pages

The Notion tool integration enables your agents to read, create, and manage Notion pages and databases directly within your workflows. This allows you to automate the retrieval and updating of structured content, notes, documents, and more from your Notion workspace.

With the Notion tool, you can:

  • Read pages or databases: Extract rich content or metadata from specified Notion pages or entire databases
  • Create new content: Programmatically create new pages or databases for dynamic content generation
  • Append content: Add new blocks or properties to existing pages and databases
  • Query databases: Run advanced filters and searches on structured Notion data for custom workflows
  • Search your workspace: Locate pages and databases across your Notion workspace automatically

This tool is ideal for scenarios where agents need to synchronize information, generate reports, or maintain structured notes within Notion. By bringing Notion's capabilities into automated workflows, you empower your agents to interface with knowledge, documentation, and project management data programmatically and seamlessly.

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
pageIdstringYesThe UUID of the Notion page to read

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
databaseIdstringYesThe UUID of the Notion database to read

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
pageIdstringYesThe UUID of the Notion page to append content to
contentstringYesThe content to append to the page

Output

ParameterTypeDescription
appendedbooleanWhether content was successfully appended

notion_create_page

Create a new page in Notion

Input

ParameterTypeRequiredDescription
parentIdstringYesThe UUID of the parent Notion page where this page will be created
titlestringNoTitle of the new page
contentstringNoOptional content to add to the page upon creation

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
pageIdstringYesThe UUID of the Notion page to update
propertiesjsonYesJSON object of properties to update

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
databaseIdstringYesThe UUID of the Notion database to query
filterstringNoFilter conditions as JSON (optional)
sortsstringNoSort criteria as JSON array (optional)
pageSizenumberNoNumber of results to return (default: 100, max: 100)

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
querystringNoSearch terms to find pages and databases (leave empty to get all pages)
filterTypestringNoFilter by object type: "page", "database", or leave empty for all
pageSizenumberNoNumber of results to return (default: 100, max: 100)

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
parentIdstringYesID of the parent page where the database will be created
titlestringYesTitle for the new database
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

Add a new row to a Notion database with specified properties

Input

ParameterTypeRequiredDescription
databaseIdstringYesID of the database to add the row to
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 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started