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
Category: Productivity & Collaboration
Availability: All workspace plans
Available Actions
Get Page Content
notion.getPageContent
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
Query Database
notion.queryDatabase
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 queryfilter
(TEXT, Optional): Notion filter object JSON. Supports ‘and’/‘or’ compound filters and all type-specific conditionssorts
(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 30startCursor
(TEXT, Optional): Cursor from a previous response for paginationfilterProperties
(TEXT, Optional): Comma-separated property IDs to include in the responsereturnAll
(BOOLEAN, Optional): If true, paginates until all results are collectedsimplifyOutput
(BOOLEAN, Optional): Return simplified pages with id, url, title and flattened properties
Create Database
notion.createDatabase
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 createdtitle
(TEXT, Optional): Optional database titleproperties
(OBJECT, Required): Property schema object. Example: Name’: title’: }, ‘Status’: status’: }, ‘Price’: number’: format’: ‘dollar}}icon
(TEXT, Optional): Emoji or full icon objectcover
(TEXT, Optional): External cover URL or full external file objectisInline
(BOOLEAN, Optional): Create the database inline on the page
Update Database
notion.updateDatabase
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 updatetitle
(TEXT, Optional): Optional new database titledescription
(TEXT, Optional): Optional new database descriptionproperties
(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/optionsicon
(TEXT, Optional): Emoji or full icon objectcover
(TEXT, Optional): External cover URL or full external file object
Get Page Details
notion.getPageDetails
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
Find Pages
notion.findPages
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
Find Databases
notion.findDatabases
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
Get Database Details
notion.getDatabaseDetails
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
Search
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 wordsdatabaseId
(TEXT, Optional): Optional: Search within a specific database instead of the entire workspaceobjectType
(SELECT, Optional): Filter results by type. Choose ‘page’ for pages only or ‘database’ for databases onlypropertyFilters
(TEXT, Optional): Filter database pages by property values (requires database ID). Provide as JSON objectpageSize
(NUMBER, Optional): Number of results to return per page. Default is 30, maximum is 100sortBy
(SELECT, Optional): Sort results by creation time or last edited timesortDirection
(SELECT, Optional): Sort order for resultscreatedBy
(TEXT, Optional): Filter results by the user who created the page or databaselastEditedBy
(TEXT, Optional): Filter results by the user who last edited the page or databasestartCursor
(TEXT, Optional): Pagination cursor from previous search results
Create Page
notion.createPage
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 createdparentType
(SELECT, Optional): Type of parent where the page will be createdtitle
(TEXT, Optional): The title of the new pageproperties
(OBJECT, Optional): Properties for the new page as a JSON objectcontent
(TEXT, Optional): The content of the page. Can be plain text (will be converted to paragraphs) or an array of Notion blocksicon
(TEXT, Optional): An emoji or URL for the page iconcover
(TEXT, Optional): URL of an image to use as the page covercreateInPersonalRoot
(BOOLEAN, Optional): When enabled and parentId is ‘workspace’ or ‘root’, creates the page at your personal workspace root
Update Page
notion.updatePage
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 updateicon
(TEXT, Optional): Emoji character or full Notion icon objectcover
(TEXT, Optional): URL string or full Notion external file objectinTrash
(BOOLEAN, Optional): Set true to move the page to trash, false to restoreblockId
(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’)blockText
(TEXT, Optional): Text content for the block (converted to rich_text)blockChecked
(BOOLEAN, Optional): Only for to_do blocks. true/falseblockPayload
(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
Triggers
Updated Page
notion.updatedPage
Triggers when pages are updated
Requires Confirmation: No
Parameters:
pageId
(TEXT, Optional): ID of the page to monitor for updates
Updated Database Item
notion.updatedDatabaseItem
Triggers when items in the database are updated
Requires Confirmation: No
Parameters:
databaseId
(TEXT, Required): ID of the database to monitor for updated items
New Database Item
notion.newDatabaseItem
Triggers when new database items are added
Requires Confirmation: No
Parameters:
databaseId
(TEXT, Required): ID of the database to monitor for new items
Common Use Cases
Data Management
Manage and organize your Notion data
Automation
Automate workflows with Notion
Reporting
Generate insights and reports
Integration
Connect Notion with other tools
Best Practices
Getting Started:
- Enable the Notion integration in your workspace settings
- Authenticate using OAuth
- Test the connection with a simple read operation
- Explore available actions for your use case
Important Considerations:
- Ensure proper authentication credentials
- Respect rate limits and API quotas
- Review data privacy settings
- Test operations in a safe environment first
Troubleshooting
Issue | Solution |
---|---|
Authentication failed | Verify your OAuth credentials |
Rate limit exceeded | Reduce request frequency |
Data not found | Check permissions and data availability |
Connection timeout | Verify network connectivity |