تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

mh-notion

بواسطة mohdalhashemi98-hue

Browser & Automation
275التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Notion API for creating and managing pages, databases, and blocks.

الوصف

ما الذي تفعله هذه المهارة

Connects to the Notion API to create, read, update, and query pages, databases, and blocks. Uses the 2025-09-03 API version where databases are called data sources with separate IDs for creation and querying.

Direct API access lets agents read and write Notion content without opening a browser or relying on copy-paste workflows.

متى تستخدمها

  • Add new tasks to a Notion project tracker
  • Query a database filtered by status or date
  • Append meeting notes to an existing page
  • Create a new database with custom properties inside a page
  • Update page properties like status or due date in bulk

مثال على سير العمل

الإدخال

User asks: add a new task called 'Write release notes' with status Todo to my Tasks database

الوكيل
  1. 1

    Search for the Tasks database using POST /v1/search to get its database_id

  2. 2

    Confirm the correct database is found in search results

  3. 3

    POST /v1/pages with parent.database_id, Name title property set to 'Write release notes', and Status select set to 'Todo'

  4. 4

    Return the new page ID and a confirmation

الإخراج

New page created in the Tasks database with Name 'Write release notes' and Status 'Todo'

المتطلبات

  • NOTION_API_KEY environment variable
  • Notion account with an integration created at notion.so/my-integrations
  • Target pages or databases shared with the integration via the Notion UI

التثبيت

clawhub install mohdalhashemi98-hue/mh-notion

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط