π¦ ClawHub
Notion Integration
by @dinghaibin
Work with Notion databases, pages, and APIs. Use when user needs to create, read, update, or delete Notion pages and databases; automate Notion workflows; sy...
TERMINAL
clawhub install notion-helperπ About This Skill
name: notion-integration description: Work with Notion databases, pages, and APIs. Use when user needs to create, read, update, or delete Notion pages and databases; automate Notion workflows; sync data between Notion and other apps; or build integrations with Notion.
Notion Integration
Manage Notion workspaces via API for automation and integration.
Quick Start
# Install Notion client
pip install notion-clientSet API key
export NOTION_TOKEN="secret_xxx"
Core Features
Script Usage
# Query a database
python scripts/notion.py query --database-id Create a page
python scripts/notion.py create-page --database-id --title "Task Name"Get page content
python scripts/notion.py get-page --page-id
Setup
1. Create integration at https://www.notion.so/my-integrations 2. Share database/page with integration 3. Set NOTION_TOKEN environment variable
Examples
See references/examples.md for detailed use cases.
π‘ Examples
See references/examples.md for detailed use cases.
βοΈ Configuration
1. Create integration at https://www.notion.so/my-integrations 2. Share database/page with integration 3. Set NOTION_TOKEN environment variable