# 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.

- Skill: `agentskillexchange/notion-database-sync-agent` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/notion-database-sync-agent`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/notion-database-sync-agent/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/notion-database-sync-agent

---


# 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
- [![Open Val Town Template](https://stevekrouse-badge.web.val.run/?3)](https://www.val.town/v/charmaine/NotionJsSDK)
- [!NOTE]

- Source: https://github.com/makenotion/notion-sdk-js
- Extracted from upstream docs: https://raw.githubusercontent.com/makenotion/notion-sdk-js/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/notion-database-sync-agent/)

