notion-migration-deep-dive

Featured

Migrate data to/from Notion or between Notion workspaces with data mapping and validation. Use when migrating data into Notion databases, exporting from Notion, syncing between workspaces, or building ETL pipelines with Notion as source or destination. Trigger with phrases like "migrate notion", "notion migration", "import to notion", "export from notion", "notion data migration", "notion ETL".

AI & Automation 2,249 stars 312 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Notion Migration Deep Dive ## Overview Comprehensive migration patterns for moving data to, from, and between Notion workspaces. This covers rate-limited bulk import from CSV/JSON with property mapping, full database export with pagination and block content extraction, cross-database sync with duplicate detection, data transformation patterns for Confluence and Google Docs content, and post-migration validation with integrity checks. All patterns respect Notion's 3 requests/second rate limit. ## Prerequisites - `@notionhq/client` v2+ installed (`npm install @notionhq/client`) - Python alternative: `notion-client` (`pip install notion-client`) - `p-queue` for rate-limited concurrency (`npm install p-queue`) - Source data access (CSV files, Confluence API, Google Docs API, etc.) - Target Notion database(s) created with matching property schema ## Instructions ### Step 1: Import CSV/JSON into Notion Database Map source data fields to Notion property types, create pages with rate limiting: ```typescript import { Client } from '@notionhq/client'; import { readFileSync } from 'fs'; import { parse } from 'csv-parse/sync'; import PQueue from 'p-queue'; const notion = new Client({ auth: process.env.NOTION_TOKEN! }); // Rate-limited queue: 3 requests/second (Notion's documented limit) const queue = new PQueue({ concurrency: 3, interval: 1000, intervalCap: 3 }); interface SourceRecord { name: string; status: string; priority: string; dueDate: string; tags: string;...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Related Skills