Notion Migration Guide π‘ BETA
This guide maps Notion pages and databases to Drive documents and bot tables.
Overview
This guide maps Notion content to Drive documents and bot tables; no Notion importer is shipped in this repository.
Why Migrate
The reason is private, versioned content: pages become documents in a bot knowledge base and scripts live in git.
Content Mapping
| Notion object | General Bots counterpart |
|---|---|
| Page | Document in .gbkb/ or .gbdrive/ |
| Database | Table in the application database |
| Board | Not part of the Chat and Drive edition |
| Notion AI | Prompt plus selected engine |
Notion to General Bots
Export pages to files, place answer sources under .gbkb/, and keep user files under .gbdrive/.
Migration Process
- Export the workspace to
/tmp. - Organise pages by topic.
- Copy documents into the bot bucket with
oc. - Recreate any required table through a migration and
botschema. - Verify a fixed question set.
Step 1: Export Notion Content
Use the provider export and keep the archive outside the repository.
Step 2: Prepare Knowledge Base
Remove stale pages and group the rest by topic.
Step 3: Import Documents
Use oc cp into {bot}.gbai/{bot}.gbkb/docs/.
Step 4: Convert Databases
A database becomes a table only when a workflow needs it; change schema through a migration and botschema.
Step 5: Recreate Task Boards
Task boards are not part of apps=chat,drive; use the full platform's task app when needed.
Notion AI to General Bots
AI behaviour is a prompt plus a knowledge base, not a page-level AI feature.
Document Summarization
Ask the assistant about an imported document; no dedicated summarize keyword is assumed.
Content Generation
Generation follows the selected engine and the bot prompt.
Q&A on Documents
Retrieval configuration lives under botserver/src/core/bot/kb_context/.
Automation Migration
Notion automations become BASIC scripts with registered triggers; no converter exists.
Notion Automations (Limited)
List the automations that must be recreated before writing scripts.
General Bots Equivalent
Use registered keywords and tools; check the generated BASIC reference first.
Database Migration
A Notion database maps to a table only after a deliberate schema change.
Notion Database Properties
Map each property to a column type in botschema; do not copy a table! into a feature crate.
Formula Migration
Formulas become script logic; no formula engine is documented here.
Relation Migration
Declare a relationship in botschema, not by naming convention.
Template Migration
Templates in this repository live under bottemplates/ as reference material, not as a Notion import.
Notion Templates
Reuse the structure of an existing template rather than assuming a Notion template can be imported.
Agenda
Meeting content is a document; the desktop edition has no agenda app in apps=chat,drive.
Discussion Notes
Store notes as documents under .gbkb/ when they should inform answers.
Action Items
Track follow-up work as issues with evidence, not as a documentation plan.
Next Meeting
No scheduling UI is part of the reduced edition; use the full platform when scheduling is required.
Project Template
See the Project App User Guide for the full-platform project surface.
What You Gain
Private documents, a local engine option and versioned scripts.
Self-Hosting
The stack components are pinned in botserver/3rdparty.toml and installed offline for the desktop edition.
Native AI Without Extra Cost
The local engine requires no provider key; the free engine uses an outside provider under its own limits.
Full Automation
Available through BASIC scripts where the full platform is deployed.
Multi-Channel Access
The government edition is Chat and Drive; other channels belong to the full platform.
Custom APIs
Chat reaches capabilities through keywords, tools and app commands, not raw REST.
Migration Checklist
- Export pages and databases.
- Copy documents into
.gbkb/and verify answers. - Recreate required tables through migrations.
- Write scripts for automations using registered keywords.
- Deploy and verify in a fresh session.
Pre-Migration
Record the product version 7.1.2 from the root Cargo.toml.
Migration
Use oc for Drive content and git for scripts and prompts.
Post-Migration
Compare a fixed question set before retiring the Notion workspace.
Best Practices
Keep exports in /tmp, verify each batch, and do not put a secret in a document.
See Also
Authority: root AGENTS.md, DESIGN-SYSTEM.md Β§0, botschema/README.md and the generated BASIC reference.
Limits
- No Notion importer, board app or formula engine is part of the desktop edition.
- No price or date from the source platform is published here.
- A database becomes a table only after a migration and a
botschemachange.