skills$openclaw/better-notion
tyler6204938

by tyler6204

better-notion – OpenClaw Skill

better-notion is an OpenClaw Skills integration for data analytics workflows. Full CRUD for Notion pages, databases, and blocks. Create, read, update, delete, search, and query.

938 stars2.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namebetter-notion
descriptionFull CRUD for Notion pages, databases, and blocks. Create, read, update, delete, search, and query. OpenClaw Skills integration.
ownertyler6204
repositorytyler6204/better-notion
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @tyler6204/better-notion
last updatedFeb 7, 2026

Maintainer

tyler6204

tyler6204

Maintains better-notion in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
281 B
SKILL.md
2.4 KB
SKILL.md

name: better-notion description: Full CRUD for Notion pages, databases, and blocks. Create, read, update, delete, search, and query. metadata: {"clawdbot":{"emoji":"📝"}}

Notion

Use the Notion API for pages, data sources (databases), and blocks.

Setup

mkdir -p ~/.config/notion
echo "ntn_your_key_here" > ~/.config/notion/api_key

Share target pages/databases with your integration in Notion UI.

API Basics

NOTION_KEY=$(cat ~/.config/notion/api_key)
curl -X POST "https://api.notion.com/v1/..." \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2025-09-03" \
  -H "Content-Type: application/json"

Common Operations

# Search
curl -X POST "https://api.notion.com/v1/search" -d '{"query": "title"}'

# Get page
curl "https://api.notion.com/v1/pages/{page_id}"

# Get page blocks
curl "https://api.notion.com/v1/blocks/{page_id}/children"

# Create page in database
curl -X POST "https://api.notion.com/v1/pages" -d '{
  "parent": {"data_source_id": "xxx"},
  "properties": {"Name": {"title": [{"text": {"content": "Item"}}]}}
}'

# Query database
curl -X POST "https://api.notion.com/v1/data_sources/{id}/query" -d '{
  "filter": {"property": "Status", "select": {"equals": "Active"}}
}'

# Update page
curl -X PATCH "https://api.notion.com/v1/pages/{page_id}" -d '{
  "properties": {"Status": {"select": {"name": "Done"}}}
}'

# Add blocks
curl -X PATCH "https://api.notion.com/v1/blocks/{page_id}/children" -d '{
  "children": [{"type": "paragraph", "paragraph": {"rich_text": [{"text": {"content": "Text"}}]}}]
}'

# Delete page or block (moves to trash)
curl -X DELETE "https://api.notion.com/v1/blocks/{block_id}"

# Restore from trash (set archived to false)
curl -X PATCH "https://api.notion.com/v1/blocks/{block_id}" -d '{"archived": false}'

Property Types

TypeFormat
Title{"title": [{"text": {"content": "..."}}]}
Text{"rich_text": [{"text": {"content": "..."}}]}
Select{"select": {"name": "Option"}}
Multi-select{"multi_select": [{"name": "A"}]}
Date{"date": {"start": "2024-01-15"}}
Checkbox{"checkbox": true}
Number{"number": 42}
URL{"url": "https://..."}

2025-09-03 API Notes

  • Databases = "data sources" in API
  • Use data_source_id for both creating pages and querying
  • Get data_source_id from search results (the id field)
  • Rate limit: ~3 req/sec
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install better-notion?

Run openclaw add @tyler6204/better-notion in your terminal. This installs better-notion into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/tyler6204/better-notion. Review commits and README documentation before installing.