Notion Database Sync Agent
Syncs records between Notion databases and external sources using the Notion API (POST /v1/databases/{id}/query), applying field mapping, deduplication by title or unique property, and incremental updates via last_edited_time filtering.
Installation
Use the upstream install or setup path that matches your environment:
- npm install @notionhq/client
- Make a request to any Notion API endpoint.
Requirements and caveats from upstream:
- const { Client } = require("@notionhq/client")
- const { Client, APIErrorCode } = require("@notionhq/client")
- const { Client, LogLevel } = require("@notionhq/client")
Basic usage or getting-started notes:
bash
[!NOTE]
Extracted from upstream docs: https://raw.githubusercontent.com/makenotion/notion-sdk-js/HEAD/README.md