← 返回
未分类 中文

Notion Assistant

Search pages and databases, update content, and manage Notion workspace data from chat. Use this skill when users want to read, create, or modify Notion page...
搜索页面和数据库、更新内容、管理 Notion 工作区数据,支持从聊天中读取、创建或修改 Notion 页面...
hith3sh hith3sh 来源
未分类 clawhub v0.1.3 2 版本 99765.7 Key: 无需
★ 7
Stars
📥 1,563
下载
💾 0
安装
2
版本
#latest

概述

Notion Assistant

!Notion Assistant

Access Notion via the Notion API with OAuth authentication. Search pages and databases, read and update content, manage sections, and coordinate workspace workflows.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Notion API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect Notion
:---::---::---:
!Install!PairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Notion

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│    Notion API    │
│   (User Chat)   │     │   (OAuth)    │     │ │
└─────────────────┘     └──────────────┘     └──────────────────┘
          │                       │                       │
          │  1. Install Plugin │                       │
          │  2. Pair Device      │                       │
          │  3. Connect Notion    │                       │
          │                      │  4. Secure Token      │
          │                      │  5. Proxy Requests │
          │                      │                       │
          ▼ ▼                       ▼
    ┌──────────┐           ┌──────────┐           ┌──────────┐
    │  SKILL   │           │ Dashboard│           │  Notion  │
    │  File    │           │ Auth     │           │ Workspace│
    └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Notion again."

Quick Start

# List databases in the workspace
clawlink_call_tool --tool "notion_list_databases" --params '{}'

# Search for pages by title
clawlink_call_tool --tool "notion_search" --params '{"query": "project notes"}'

# Get page content
clawlink_call_tool --tool "notion_get_page" --params '{"page_id": "PAGE_ID"}'

Authentication

All Notion tool calls are authenticated automatically by ClawLink using the user's connected Notion account.

No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Notion API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=notion and connect Notion.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for notion in the list.

Verify Connection

clawlink_list_tools --integration notion

Response: Returns the live tool catalog for Notion.

Reconnect

If Notion tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=notion
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration notion

Security& Permissions

  • Access is scoped to pages, databases, and content within the connected Notion workspace.
  • All write operations require explicit user confirmation. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
  • Destructive actions (delete page, remove database entry) must be confirmed.

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Notion is connected.
  2. Call clawlink_list_tools --integration notion to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration notion.
  5. If no Notion tools appear, direct the user to https://claw-link.dev/dashboard?add=notion.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → search → describe → call                      │
│                                                             │
│  Example: Search pages → Read content → Show results        │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                     │
│  list → get → describe → preview → confirm → call           │
│                                                             │
│  Example: Describe tool → Preview changes → User approves   │
│           → Execute update                                  │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and get operations before writes when that reduces ambiguity.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Code Examples

Search pages

clawlink_call_tool --tool "notion_search" \
  --params '{
    "query": "meeting notes",
    "filter": {
      "property": "object",
      "value": "page"
    }
  }'

Query a database

clawlink_call_tool --tool "notion_query_database" \
  --params '{
    "database_id": "DATABASE_ID",
    "filter": {
      "property": "Status",
      "select": {
        "equals": "In Progress"
      }
    },
    "sorts": [
      {
        "property": "Last edited time",
        "direction": "descending"
      }
    ]
  }'

Create a page

clawlink_call_tool --tool "notion_create_page" \
  --params '{
    "parent": {
      "database_id": "DATABASE_ID"
    },
    "properties": {
      "Name": {
        "title": [
          {
            "text": {
              "content": "New Project Page"
            }
          }
        ]
      }
    },
    "children": [
      {
        "object": "block",
        "type": "heading_2",
        "heading_2": {
          "rich_text": [
            {
              "text": {
                "content": "Overview"
              }
            }
          ]
        }
      }
    ]
  }'

Notes

  • Notion API has rate limits. Use exponential backoff when encountering 429 errors.
  • Page and database IDs are UUIDs (e.g., abc123-def456-...). Use the full ID, not the human-readable page URL slug.
  • Block content updates require the full block structure in the request body.
  • Archived pages can be retrieved but may require specific filter conditions.

Error Handling

Status / ErrorMeaning
-------------------------
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration notion.
Missing connectionNotion is not connected. Direct the user to https://claw-link.dev/dashboard?add=notion.
object_not_foundPage or database does not exist. Check the ID or search for the resource first.
validation_errorInvalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.
conflict_errorResource was modified concurrently. Retry or re-fetch the latest state.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:

```bash

openclaw plugins list

```

  1. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  2. If a fresh chat does not help, run:

```bash

openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json

openclaw gateway restart

```

  1. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly notion.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources

  • Notion API Documentation
  • Notion Integration Guide
  • ClawLink: https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=clawlink-notion
  • ClawLink Docs: https://docs.claw-link.dev/openclaw
  • ClawLink Verification: https://claw-link.dev/verify

Related Skills

  • Google Docs — For Google Workspace document operations
  • Notion — For this skill's native documentation

Powered by ClawLink — an integration hub for OpenClaw

!ClawLink Logo

版本历史

共 2 个版本

  • v0.1.3 当前
    2026-06-09 16:10 安全 安全
  • v0.1.1
    2026-05-21 13:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

OneDrive Files

hith3sh
通过 Microsoft Graph 浏览、搜索、下载和共享 OneDrive 文件,创建文件夹,上传文件以及管理文件操作。当用户需要这些功能时使用此技能。
★ 6 📥 1,715

Google Maps

hith3sh
Google Maps 与 Places API 集成。搜索地点、地理编码地址、计算路线、获取导航指示并检索位置数据。适用于需要位置服务的场景。
★ 7 📥 1,693

Microsoft Excel

hith3sh
通过托管 OAuth 集成 Microsoft Excel API,实现对 OneDrive 中 Excel 工作簿、工作表、区域、表格和图表的读写。使用此技能...
★ 6 📥 1,773