Connect Notion to OpenClaw on Operator.io
Notion is a collaborative workspace for notes, docs, wikis, and tasks. It streamlines team knowledge, project tracking, and workflow customization in one place.
Automate Notion with AI
Operator puts an OpenClaw agent in front of Notion. You describe the job from Telegram or Discord and it handles the rest inside Notion, picking the right calls from the 45 Notion actions and checking its own work as it goes.
Your agent reaches Notion directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh for you, so there is nothing to wire up and no API keys to paste.
What your agent can do with Notion
Your agent can call any of these Notion actions by name as part of a larger task. Ask for the outcome you want and it picks the right ones.
Add multiple content blocks (bulk, user-friendly)
Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in...
Append code blocks (code, quote, equation)
Append code and technical blocks (code, quote, equation) to a Notion page. Use for: - Code snippets and programming examples (code) - Citations and highlighted quotes (quote) - Mathematical formulas and equations (equation) Supported blo...
Append layout blocks (divider, TOC, columns)
Append layout blocks (divider, TOC, breadcrumb, columns) to a Notion page. Supported types: - divider: Horizontal line separator - table_of_contents: Auto-generated from headings - breadcrumb: Page hierarchy navigation - column_list: Mul...
Append media blocks (image, video, audio, files)
Append media blocks (image, video, audio, file, pdf, embed, bookmark) to a Notion page. Use for: - Images and screenshots (image) - YouTube/Vimeo videos or direct video URLs (video) - Audio files and podcasts (audio) - File downloads (fi...
Append table blocks
Append table blocks to a Notion page. Use for structured tabular data like spreadsheets, comparison charts, and status trackers. Example: { "table_width": 3, "has_column_header": true, "rows": [ {"cells": [[{"type": "text", "text": {"con...
Append task blocks (to-do, toggle, callout)
Append task blocks (to-do, toggle, callout) to a Notion page or block. Supported block types: - to_do: Checkbox items (checkable/uncheckable) - toggle: Collapsible sections - callout: Highlighted boxes with emoji icons All three types su...
Append text blocks (paragraphs, headings, lists)
Append text blocks (paragraphs, headings, lists) to a Notion page. This is the most commonly used action for adding content to Notion. Use for: documentation, notes, articles, outlines, lists. Supported block types: - paragraph: Regular...
Archive Notion Page
Archives (moves to trash) or unarchives (restores from trash) a specified Notion page. Limitation: Workspace-level pages (top-level pages with no parent page or database) cannot be archived via the API and must be archived manually in th...
Create comment
Adds a comment to a Notion page (via `parent_page_id`) OR to an existing discussion thread (via `discussion_id`); cannot create new discussion threads on specific blocks (inline comments).
Create Notion Database
Creates a new Notion database as a subpage under a specified parent page with a defined properties schema. IMPORTANT NOTES: - The parent page MUST be shared with your integration, otherwise you'll get a 404 error - If you encounter confl...
Create Notion file upload
Tool to create a Notion FileUpload object and retrieve an upload URL. Use when you need to automate attaching local or external files directly into Notion without external hosting.
Create Notion page
Creates a new page in a Notion workspace under a specified parent page or database. Supports creating pages with markdown content using the native markdown parameter, or as an empty page that can be populated later. PREREQUISITES: - Pare...
Delete a block
Archives a Notion block, page, or database using its ID, which sets its 'archived' property to true (like moving to "Trash" in the UI) and allows it to be restored later. Note: This operation will fail if the block has an archived parent...
Duplicate page
Duplicates a Notion page, including all its content, properties, and nested blocks, under a specified parent page or workspace.
Fetch All Notion Block Contents
Tool to fetch all child blocks for a given Notion block. Use when you need a complete listing of a block's children beyond a single page; supports optional recursive expansion of nested blocks.
Fetch Notion Block Children
Retrieves a paginated list of direct, first-level child block objects along with contents for a given parent Notion block or page ID; use block IDs from the response for subsequent calls to access deeply nested content.
Fetch Notion block metadata
Fetches metadata for a Notion block (including pages, which are special blocks) using its UUID. Returns block type, properties, and basic info but not child content. Prerequisites: 1) Block/page must be shared with your integration, 2) U...
Fetch comments
Fetches unresolved comments for a specified Notion block or page ID. The block/page must be shared with your Notion integration and the integration must have 'Read comments' capability enabled, otherwise a 404 error will be returned.
Fetch Notion Data
Fetches Notion items (pages and/or databases) from the Notion workspace, use this to get minimal data about the items in the workspace with a query or list all items in the workspace with minimal data
Fetch Database
Fetches a Notion database's structural metadata (properties, title, etc.) via its `database_id`, not the data entries; `database_id` must reference an existing database.
Fetch database row
Retrieves a Notion database row's properties and metadata; use fetch_block_contents for page content blocks.
Get about user
Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.
Get page markdown
Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.
Get page property
Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.
Insert row database
Creates a new page (row) in a specified Notion database. Prerequisites: - Database must be shared with your integration - Property names AND types must match schema exactly (case-sensitive) - Use NOTION_FETCH_DATA with fetch_type='databa...
Insert Row From Natural Language
Creates a new row (page) in a Notion database from a natural language description. Fetches the database schema at runtime, uses an LLM to generate the correctly-formatted property payload, and creates the page.
List data source templates
Tool to list all templates for a Notion data source. Use when needing to discover template IDs/names for bulk page creation. Use after confirming the data_source_id.
List Notion file uploads
Tool to retrieve file uploads for the current bot integration, sorted by most recent first. Use when you need to list all file uploads or paginate through file upload history.
List users
Retrieves a paginated list of users (excluding guests) from the Notion workspace; the number of users returned per page may be less than the requested `page_size`.
Move Page
Tool to move a Notion page to a new parent (page or database). Use when you need to reorganize page hierarchy. Important: To move to a database, use data_source_id (NOT database_id). Get the data source ID from the database object using...
Query database
Queries a Notion database to retrieve pages (rows). In Notion, databases are collections where each row is a page and columns are properties. Returns paginated results with metadata. Important requirements: - The database must be shared...
Query database with filter
Tool to query a Notion database with server-side filtering, sorting, and pagination. Use when you need to retrieve a subset of rows by property, date, status, or other conditions.
Query data source
Tool to query a Notion data source. Use when you need to retrieve pages or child data sources with filters, sorts, and pagination. Make paginated requests using cursors and optional property filters for efficient data retrieval.
Replace page content (with backup)
Safely replaces a page's child blocks by optionally backing up current content, deleting existing children, then appending new children in batches. Use when you need to rebuild a page without leaving partial states. Notion does not provi...
Retrieve Comment
Tool to retrieve a specific comment by its ID. Use when you have a comment ID and need to fetch its details.
Retrieve Database Property
Tool to retrieve a specific property object of a Notion database. Use when you need to get details about a single database column/property.
Retrieve Notion file upload
Tool to retrieve details of a Notion File Upload object by its identifier. Use when you need to check the status or details of an existing file upload.
Retrieve page
Retrieve a Notion page's properties/metadata (not block content) by page_id. Use when you have a page URL/ID and need to access its properties; for page content use block-children tools.
Search Notion pages and databases
Searches Notion pages and databases by title. Use specific search terms to find items by title (primary approach). KNOWN LIMITATIONS: (1) Search indexing is not immediate - recently shared items may not appear. (2) Search is not exhausti...
Send file upload
Tool to transmit file contents to Notion for a file upload object. Use after creating a file upload object to send the actual file data.
Update block
Updates existing Notion block's text content. ⚠️ CRITICAL: Content limited to 2000 chars. Cannot change block type or archive blocks. Content exceeding 2000 chars will fail with validation error. For longer content, split across multiple...
Update Page
Update page properties, icon, cover, or archive status. IMPORTANT: Property names are workspace-specific and case-sensitive. Use NOTION_FETCH_ROW or NOTION_FETCH_DATABASE first to discover exact property names and valid select/status opt...
Update Database Row (Page)
Updates a specific row/page within a Notion database by its page UUID (row_id). IMPORTANT CLARIFICATION: This action updates INDIVIDUAL ROWS (pages) in a database, NOT the database structure. - To update a ROW/PAGE: Use THIS action with...
Update database schema
Updates an existing Notion database's schema including title, description, and/or properties (columns). IMPORTANT NOTES: - At least one update (title, description, or properties) must be provided - The database must be shared with your i...
Upsert database rows
Tool to upsert rows in a Notion database by querying for existing rows and creating or updating them. Use when you need to sync data to Notion without creating duplicates. Each item is matched by a filter, then either created (if no matc...
How to connect Notion
You authorize Notion once from your dashboard. Operator holds the connection and refreshes the access tokens on its own, so your agent keeps working with Notion without you signing in again. The same setup unlocks every other app your agent can reach, so you only do it once.
When you are ready, the get started guide walks through standing up your OpenClaw agent.
Common questions about Notion
- How do I connect Notion to Operator?
- You authorize Notion once from your Operator dashboard and pick the pages and databases it can reach. Operator keeps the connection live and refreshes it on its own, so the agent works in Notion without you signing in again.
- Can my agent create and update Notion pages and databases?
- Yes. It can create pages, append content blocks, query a database, and update properties on existing items. A common setup is to have it file new notes or tasks into the right database and keep a status field current, so your workspace stays organized without manual entry.
- Can it keep a Notion database in step with another app?
- Yes. Connect a second app and the same agent can read from one and write to Notion, so a new lead, message, or ticket lands as a row with the fields filled in. You describe the mapping in plain language instead of wiring it up.
- Do I need the Notion API or an integration token?
- No. You authorize Notion through a normal sign in and Operator manages the connection, so there is no integration token to generate and nothing to deploy.
Notion integrations
Pick an app to see what your agent does across Notion and it, or browse all integrations.
Put your agent on Notion
Sign in, connect Notion, and hand your agent the work. Your first week is free.
Get started