Skip to main content

Overview

Workspace combining notes, databases, wikis, and project management in one place. Through Langdock’s integration, you can access and manage Notion directly from your conversations.
Authentication: OAuth Category: Productivity & Collaboration Availability: All workspace plans

Available Actions

Get page content

notion.get_page_content
Retrieves the content of a specific page or block and all its children from Notion and converts them to markdown Requires Confirmation: No Parameters:
  • blockId (TEXT, Required): The unique identifier of the Notion page or block whose content you want to retrieve, including all its nested children blocks and their formatted content
Output: Returns the operation result

Get page details

notion.get_page_details
Retrieves detailed information about a specific Notion page including its properties, metadata, and structure Requires Confirmation: No Parameters:
  • pageId (TEXT, Required): The unique identifier of the Notion page you want to retrieve information about
Output: Returns the operation result

Find pages

notion.find_pages
Searches for pages in your Notion workspace by title Requires Confirmation: No Parameters:
  • query (TEXT, Optional): Search term used to find pages by their titles. For example, you can search for “Projects”, “Marketing”, or “Customer data” to find databases with those terms in their titles.
Output: Returns the operation result

Find databases

notion.find_databases
Searches for databases in your Notion workspace by title Requires Confirmation: No Parameters:
  • query (TEXT, Optional): Search term used to find databases by their titles. For example, you can search for “Projects”, “Marketing”, or “Customer data” to find databases with those terms in their titles.
Output: Returns the operation result

Get database details

notion.get_database_details
Retrieves detailed information about a specific Notion database including its properties, metadata, and structure Requires Confirmation: No Parameters:
  • databaseId (TEXT, Required): The unique identifier of the Notion database you want to retrieve information about
Output: Returns the operation result
notion.search
Searches across your entire Notion workspace or within a specific database for pages and content Requires Confirmation: No Parameters:
  • query (TEXT, Optional): Search term to find pages or databases. Searches are case-insensitive and match partial words. For workspace search, this searches through page titles and content. For database search, leave empty to get all entries. Examples: ‘meeting notes’, ‘project alpha’, ‘Q4 planning’
  • databaseId (TEXT, Optional): Optional: Search within a specific database instead of the entire workspace. When provided, the search will be limited to pages within this database
  • objectType (SELECT, Optional): Filter results by type. Choose ‘page’ for pages only or ‘database’ for databases only. Leave empty to search both
  • propertyFilters (TEXT, Optional): Filter database pages by property values (requires database ID). Provide as JSON object. Examples: {“Status”: “Done”}, {“Priority”: “High”, “Assignee”: “John”}, {“Tags”: “urgent”}. Filters use ‘contains’ matching for text properties
  • pageSize (NUMBER, Optional): Number of results to return per page. Default is 30, maximum is 100
  • sortBy (SELECT, Optional): Sort results by creation time or last edited time
  • sortDirection (SELECT, Optional): Sort order for results
  • createdBy (TEXT, Optional): Filter results by the user who created the page or database. Provide the user ID (can be found in page details). This filters results after retrieval
  • lastEditedBy (TEXT, Optional): Filter results by the user who last edited the page or database. Provide the user ID (can be found in page details). This filters results after retrieval
  • startCursor (TEXT, Optional): Pagination cursor from previous search results. Use the ‘nextCursor’ value from a previous search to get the next page of results
Output: Returns the operation result

Create page

notion.create_page
Creates a new page in Notion, either as a database entry or as a child of another page Requires Confirmation: Yes Parameters:
  • parentId (TEXT, Required): The ID of the parent database or page where the new page will be created. Database IDs can be retrieved using the “Find databases” action, and page IDs can be retrieved using the “Find pages” action. Use ‘workspace’ or ‘root’ to create a standalone page at the workspace level
  • parentType (SELECT, Optional): Type of parent where the page will be created
  • dataSourceId (TEXT, Optional): Optional: ID of a specific data source within the database. If not provided, uses the first data source. Only applicable when parent is a database.
  • title (TEXT, Optional): The title of the new page. For database pages, this will be used as the title property if no properties are specified
  • properties (OBJECT, Optional): Properties for the new page as a JSON object. For database pages, simple values are auto-formatted to match the schema: e.g. dates (‘YYYY-MM-DD’), emails, numbers, checkboxes (true/false), select/multi-select (option names or arrays), rich text/title (strings), status (option name), relations (pa…
  • content (TEXT, Optional): The content of the page. Can be plain text (will be converted to paragraphs) or an array of Notion blocks
  • icon (TEXT, Optional): An emoji or URL for the page icon. For emojis, just provide the emoji character like ”📄”
  • cover (TEXT, Optional): URL of an image to use as the page cover
  • createInPersonalRoot (BOOLEAN, Optional): When enabled and parentId is ‘workspace’ or ‘root’, creates the page at your personal workspace root. Leave disabled to require a specific page or database in a teamspace.
Output: Returns the operation result

Query database

notion.query_database
Returns pages from a database with optional filters, sorts, and pagination. Use this action whenever you want to fetch multiple pages from a database. Requires Confirmation: No Parameters:
  • databaseId (TEXT, Required): ID or URL of the database to query.
  • dataSourceId (TEXT, Optional): Optional: ID of a specific data source within the database. If not provided, uses the first data source. Use this for databases with multiple data sources.
  • filter (TEXT, Optional): Notion filter object JSON. Supports ‘and’/‘or’ compound filters and all type-specific conditions.
  • sorts (OBJECT, Optional): Array of Notion sort objects. Example: [{“property”:“Last ordered”,“direction”:“ascending”}]
  • pageSize (NUMBER, Optional): Number of results per page (max 100). Defaults to 30.
  • startCursor (TEXT, Optional): Cursor from a previous response for pagination.
  • filterProperties (TEXT, Optional): Comma-separated property IDs to include in the response.
  • returnAll (BOOLEAN, Optional): If true, paginates until all results are collected.
  • simplifyOutput (BOOLEAN, Optional): Return simplified pages with id, url, title and flattened properties.
Output: Returns the operation result

Update page

notion.update_page
Updates a page’s properties and/or a specific block on that page. Use page fields for database/page metadata; use block fields to edit the content of an individual block. Requires Confirmation: Yes Parameters:
  • pageId (TEXT, Optional): ID of the page to update (properties, icon, cover, trash).
  • properties (TEXT, Optional): JSON object of properties to update. Simple values are auto-formatted to the page’s database schema (dates, email, number, checkbox, select/multi-select/status, rich text/title, relation, people, files). You may also pass full Notion property objects.
  • icon (TEXT, Optional): Emoji character or full Notion icon object.
  • cover (TEXT, Optional): URL string or full Notion external file object.
  • inTrash (BOOLEAN, Optional): Set true to move the page to trash, false to restore.
  • blockId (TEXT, Optional): ID of the block to update (content editing).
  • blockType (TEXT, Optional): Block type to update (e.g., ‘paragraph’, ‘heading_1’, ‘heading_2’, ‘heading_3’, ‘to_do’, ‘bulleted_list_item’, ‘numbered_list_item’). Ignored if ‘blockPayload’ is provided.
  • blockText (TEXT, Optional): Text content for the block (converted to rich_text)
  • blockChecked (BOOLEAN, Optional): Only for to_do blocks. true/false.
  • blockPayload (TEXT, Optional): Advanced: full JSON body for the block update (overrides blockType/blockText).
  • blockArchived (BOOLEAN, Optional): Set true to archive the block, false to unarchive.
Output: Returns the operation result

Create database

notion.create_database
Creates a database as a subpage in the specified parent page, with the specified properties schema. Requires parent page to be an actual page or Wiki. Requires Confirmation: Yes Parameters:
  • parentId (TEXT, Required): ID or URL of the parent PAGE (or wiki) under which the database will be created. Agents must ask the user to select a page or wiki to host the database.
  • title (TEXT, Optional): Optional database title.
  • properties (OBJECT, Required): Property schema object. Example: {“Name”: {“title”: {}}, “Status”: {“status”: {}}, “Price”: {“number”: {“format”: “dollar”}} }
  • icon (TEXT, Optional): Emoji or full icon object.
  • cover (TEXT, Optional): External cover URL or full external file object.
  • isInline (BOOLEAN, Optional): Create the database inline on the page.
Output: Returns the operation result

Update database

notion.update_database
Updates database metadata (title, description, icon, cover) and/or modifies database properties (add, remove, rename, or change schema). Requires Confirmation: Yes Parameters:
  • databaseId (TEXT, Required): ID or URL of the database to update.
  • dataSourceId (TEXT, Optional): Optional: ID of a specific data source to update schema/properties. If not provided, uses the first data source.
  • title (TEXT, Optional): Optional new database title.
  • description (TEXT, Optional): Optional new database description.
  • properties (OBJECT, Optional): JSON object describing property changes. Use null to remove a property, provide { name: ‘New name’ } to rename, or pass a property schema object to change type/options.
  • icon (TEXT, Optional): Emoji or full icon object.
  • cover (TEXT, Optional): External cover URL or full external file object.
Output: Returns the operation result

Triggers

Updated page

notion.updated_page
Triggers when pages are updated Parameters:
  • pageId (TEXT, Optional): ID of the page to monitor for updates
Output: Returns the operation result

Updated database item

notion.updated_database_item
Triggers when items in the database are updated Parameters:
  • databaseId (TEXT, Required): ID of the database to monitor for updated items
  • dataSourceId (TEXT, Optional): Optional: ID of a specific data source to monitor. If not provided, uses the first data source.
Output: Returns the operation result

New database item

notion.new_database_item
Triggers when new database items are added Parameters:
  • databaseId (TEXT, Required): ID of the database to monitor for new items
  • dataSourceId (TEXT, Optional): Optional: ID of a specific data source to monitor. If not provided, uses the first data source.
Output: Returns the operation result