notion-automation
Lets your agent automate tasks within Notion. Allows for efficient management of pages, databases, and blocks.
What it does
This tool lets you control Notion, an organization and note-taking app. You can create, edit, search, and organize pages and databases.
When to use it
- ✓Create a new note page.
- ✓Add information to a table in Notion.
- ✓Find a specific page you created.
Example of what to ask your AI
“Create a Notion page named 'Project Ideas' and add a title 'New Idea'.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool connects to your Notion account and uses specific commands to perform actions like creating pages, adding data to tables, or searching for information.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill notion-automationOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/notion-automation/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Notion Automation via Rube MCP
Automate Notion operations through Composio's Notion toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Notion connection via
RUBE_MANAGE_CONNECTIONSwith toolkitnotion - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitnotion - If connection is not ACTIVE, follow the returned auth link to complete Notion OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Create and Manage Pages
When to use: User wants to create, update, or archive Notion pages
Tool sequence:
NOTION_SEARCH_NOTION_PAGE- Find parent page or existing page [Prerequisite]NOTION_CREATE_NOTION_PAGE- Create a new page under a parent [Optional]NOTION_RETRIEVE_PAGE- Get page metadata/properties [Optional]NOTION_UPDATE_PAGE- Update page properties, title, icon, cover [Optional]NOTION_ARCHIVE_NOTION_PAGE- Soft-delete (archive) a page [Optional]
Key parameters:
query: Search text for SEARCH_NOTION_PAGEparent_id: Parent page or database IDpage_id: Page ID for retrieval/update/archiveproperties: Page property values matching parent schema
Pitfalls:
- RETRIEVE_PAGE returns only metadata/properties, NOT body content; use FETCH_BLOCK_CONTENTS for page body
- ARCHIVE_NOTION_PAGE is a soft-delete (sets archived=true), not permanent deletion
- Broad searches can look incomplete unless has_more/next_cursor is fully paginated
2. Query and Manage Databases
When to use: User wants to query database rows, insert entries, or update records
Tool sequence:
NOTION_SEARCH_NOTION_PAGE- Find the database by name [Prerequisite]NOTION_FETCH_DATABASE- Inspect schema and properties [Prerequisite]NOTION_QUERY_DATABASE/NOTION_QUERY_DATABASE_WITH_FILTER- Query rows [Required]NOTION_INSERT_ROW_DATABASE- Add new entries [Optional]NOTION_UPDATE_ROW_DATABASE- Update existing entries [Optional]
Key parameters:
database_id: Database ID (from search or URL)filter: Filter object matching Notion filter syntaxsorts: Array of sort objectsstart_cursor: Pagination cursor from previous responseproperties: Property values matching database schema for inserts/updates
Pitfalls:
- 404 object_not_found usually means wrong database_id or the database is not shared with the integration
- Results are paginated; ignoring has_more/next_cursor silently truncates reads
- Schema mismatches or missing required properties cause 400 validation_error
- Formula and read-only fields cannot be set via INSERT_ROW_DATABASE
- Property names in filters must match schema exactly (case-sensitive)
3. Manage Blocks and Page Content
When to use: User wants to read, append, or modify content blocks in a page
Tool sequence:
NOTION_FETCH_BLOCK_CONTENTS- Read child blocks of a page [Required]NOTION_ADD_MULTIPLE_PAGE_CONTENT- Append blocks to a page [Optional]NOTION_APPEND_TEXT_BLOCKS- Append text-only blocks [Optional]NOTION_REPLACE_PAGE_CONTENT- Replace all page content [Optional]NOTION_DELETE_BLOCK- Remove a specific block [Optional]
Key parameters:
block_id/page_id: Target page or block IDcontent_blocks: Array of block objects (NOT child_blocks)text: Plain text content for APPEND_TEXT_BLOCKS
Pitfalls:
- Use
content_blocksparameter, NOTchild_blocks-- the latter fails validation - ADD_MULTIPLE_PAGE_CONTENT fails on archived pages; unarchive via UPDATE_PAGE first
- Created blocks are in response.data.results; persist block IDs for later edits
- DELETE_BLOCK is archival (archived=true), not permanent deletion
4. Manage Database Schema
When to use: User wants to create databases or modify their structure
Tool sequence:
NOTION_FETCH_DATABASE- Inspect current schema [Prerequisite]NOTION_CREATE_DATABASE- Create a new database [Optional]NOTION_UPDATE_SCHEMA_DATABASE- Modify database properties [Optional]
Key parameters:
parent_id: Parent page ID for new databasestitle: Database title
…
FAQ
How do I connect my Notion account?
You need to add the address 'https://rube.app/mcp' as an MCP server in your client settings and then authorize the Notion connection.
Can I permanently delete pages?
The archive function removes the page from your main view but doesn't permanently delete it. It can be restored.
What happens if I search for a page name that doesn't exist?
The tool will try to find pages that match what you typed. If nothing is found, it will report no results.
Details
Original description by the author
Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users. Always search tools first for current schemas.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3700
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
benchmark
Helps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.
affaan-m/ECC
content-hash-cache-pattern
Lets your agent use content hashes to cache file processing results. This avoids repeated processing and auto-invalidates the cache when content changes. Useful for speeding up slow tasks.
affaan-m/ECC
parallel-execution-optimizer
Makes your agent speed up complex tasks by breaking them into smaller parts and running them in parallel. It ensures everything is verified at the end.
affaan-m/ECC