跳到正文
TakoAPI
返回技能列表

better-notion

由 tyler6204 提供

Notes & PKM
—暂无评分
你的评分

简介

Full CRUD for Notion pages, databases.

描述

该技能的功能

Full CRUD for Notion pages, databases, and blocks via the Notion REST API. Supports create, read, update, delete, search, and filtered database queries. API key is stored locally and passed as a bearer token on each request.

Enables scripted or automated Notion changes without opening the app, making bulk updates and pipeline integrations practical.

何时使用

  • Add a new task entry to a Notion project database
  • Query all records in a database filtered by status or property
  • Append text blocks to an existing Notion page
  • Search across all Notion content by keyword
  • Update a page property like status, date, or checkbox

示例工作流

输入

User asks: Create a new task called 'Review PR #42' with status Active in my Tasks database

智能体
  1. 1

    Search Notion for the Tasks database to retrieve its data_source_id

  2. 2

    Construct a create-page request with the title and Status select property set to Active

  3. 3

    POST to /v1/pages with the database parent and properties payload

  4. 4

    Return the new page ID and URL from the API response

输出

New Notion page 'Review PR #42' created in the Tasks database with Status set to Active

前置要求

  • Notion API key generated from the Notion integrations settings page
  • Notion integration connected and shared with the target pages or databases in the Notion UI

安装

clawhub install tyler6204/better-notion

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接