Sim

Notion

Manage Notion pages

Notion is an all-in-one workspace that combines notes, documents, wikis, and project management tools into a single platform. It offers a flexible and customizable environment where users can create, organize, and collaborate on content in various formats.

With Notion, you can:

  • Create versatile content: Build documents, wikis, databases, kanban boards, calendars, and more
  • Organize information: Structure content hierarchically with nested pages and powerful databases
  • Collaborate seamlessly: Share workspaces and pages with team members for real-time collaboration
  • Customize your workspace: Design your ideal workflow with flexible templates and building blocks
  • Connect information: Link between pages and databases to create a knowledge network
  • Access anywhere: Use Notion across web, desktop, and mobile platforms with automatic syncing

In Sim, the Notion integration enables your agents to interact directly with your Notion workspace programmatically. This allows for powerful automation scenarios such as knowledge management, content creation, and information retrieval. Your agents can:

  • Read Notion pages: Extract content and metadata from any Notion page.
  • Read Notion databases: Retrieve database structure and information.
  • Write to pages: Append new content to existing Notion pages.
  • Create new pages: Generate new Notion pages under a parent page, with custom titles and content.
  • Query databases: Search and filter database entries using advanced filter and sort criteria.
  • Search workspace: Search across your entire Notion workspace for pages or databases matching specific queries.
  • Create new databases: Programmatically create new databases with custom properties and structure.

This integration bridges the gap between your AI workflows and your knowledge base, enabling seamless documentation and information management. By connecting Sim with Notion, you can automate documentation processes, maintain up-to-date information repositories, generate reports, and organize information intelligently—all through your intelligent agents.

Usage Instructions

Integrate with Notion to read content from pages, write new content, and create new pages.

Tools

notion_read

Read content from a Notion page

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
pageIdstringYesThe ID of the Notion page to read

Output

ParameterType
contentstring
metadatastring
lastEditedTimestring
createdTimestring
urlstring

notion_read_database

Read database information and structure from Notion

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
databaseIdstringYesThe ID of the Notion database to read

Output

ParameterType
metadatastring
urlstring
idstring
createdTimestring
lastEditedTimestring
propertiesstring
contentstring
titlestring

notion_write

Append content to a Notion page

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
pageIdstringYesThe ID of the Notion page to append content to
contentstringYesThe content to append to the page

Output

ParameterType
contentstring

notion_create_page

Create a new page in Notion

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
parentIdstringYesID of the parent page
titlestringNoTitle of the new page
contentstringNoOptional content to add to the page upon creation

Output

ParameterType
contentstring

notion_query_database

Query and filter Notion database entries with advanced filtering

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
databaseIdstringYesThe ID of the database to query
filterstringNoFilter conditions as JSON (optional)
sortsstringNoSort criteria as JSON array (optional)
pageSizenumberNoNumber of results to return (default: 100, max: 100)

Output

ParameterType
contentstring
metadatastring
hasMorestring
nextCursorstring
resultsstring

Search across all pages and databases in Notion workspace

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
querystringNoSearch terms (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

ParameterType
contentstring
metadatastring
hasMorestring
nextCursorstring
resultsstring

notion_create_database

Create a new database in Notion with custom properties

Input

ParameterTypeRequiredDescription
accessTokenstringYesNotion OAuth access token
parentIdstringYesID of the parent page where the database will be created
titlestringYesTitle for the new database
propertiesstringNoDatabase properties as JSON object (optional, will create a default

Output

ParameterType
metadatastring
urlstring
createdTimestring
propertiesstring
contentstring
titlestring

Block Configuration

Input

ParameterTypeRequiredDescription
operationstringYesOperation

Outputs

OutputTypeDescription
contentstringcontent output from the block
metadataanymetadata output from the block

Notes

  • Category: tools
  • Type: notion
Notion