focalboard/import/notion
2021-03-02 13:21:55 -08:00
..
.eslintrc.json Import from Notion 2021-02-22 10:58:50 -08:00
.gitignore Import from Notion 2021-02-22 10:58:50 -08:00
importNotion.ts Use JSONL format for archive 2021-03-02 13:21:55 -08:00
package-lock.json Import from Notion 2021-02-22 10:58:50 -08:00
package.json Use JSONL format for archive 2021-03-02 13:21:55 -08:00
README.md Import from Notion 2021-02-22 10:58:50 -08:00
tsconfig.json Import from Notion 2021-02-22 10:58:50 -08:00
utils.ts Import from Notion 2021-02-22 10:58:50 -08:00

Notion importer

This node app converts a Notion CSV and markdown export into a Focalboard archive. To use:

  1. From a Notion Board, open the ... menu at the top right
  2. Select Export and pick Markdown & CSV as the export format
  3. Save it locally, and unzip the folder e.g. to notion-export
  4. Run npm install
  5. Run npx ts-node importNotion.ts -i <path to the notion-export folder> -o archive.focalboard
  6. In Focalboard, click Settings, then Import archive and select archive.focalboard

Import scope

Currently, the script imports all cards from a single board, including their properties and markdown content.

The Notion export format does not preserve property types, so the script currently imports all card properties as a Select type. You can change the type after importing into Focalboard.

Contribute code to expand this.