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.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Notion |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Notion |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ 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 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."
# 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"}'
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.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for notion in the list.
clawlink_list_tools --integration notion
Response: Returns the live tool catalog for Notion.
If Notion tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration notionclawlink_list_integrations to confirm Notion is connected.clawlink_list_tools --integration notion to see the live catalog.clawlink_search_tools with a short query and integration notion.┌─────────────────────────────────────────────────────────────┐
│ 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 │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.clawlink_call_tool --tool "notion_search" \
--params '{
"query": "meeting notes",
"filter": {
"property": "object",
"value": "page"
}
}'
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"
}
]
}'
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"
}
}
]
}
}
]
}'
abc123-def456-...). Use the full ID, not the human-readable page URL slug.| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration notion. |
| Missing connection | Notion is not connected. Direct the user to https://claw-link.dev/dashboard?add=notion. |
object_not_found | Page or database does not exist. Check the ID or search for the resource first. |
validation_error | Invalid parameter or missing required field. Review the tool schema with clawlink_describe_tool. |
conflict_error | Resource was modified concurrently. Retry or re-fetch the latest state. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.notion.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本