templates/content/.agents/skills/notion-integration/SKILL.md
How Notion sync works. Covers connecting, linking pages, pulling from Notion, pushing to Notion, and checking sync status.
npx skillsauth add BuilderIO/agent-native notion-integrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The content app can sync documents bidirectionally with Notion. Documents can be linked to Notion pages, pulled from Notion, or pushed to Notion.
Check the Notion connection status.
pnpm action connect-notion-status
Returns whether a Notion integration is connected and which workspace it belongs to.
Link a local document to a Notion page for syncing.
pnpm action link-notion-page --documentId abc123 --notionPageId notion-page-id
List all documents that are linked to Notion pages.
pnpm action list-notion-links
Pull content from a linked Notion page into the local document.
pnpm action pull-notion-page --documentId abc123
This overwrites the local document's content with the Notion page's content, converted to markdown.
Push local document content to the linked Notion page.
pnpm action push-notion-page --documentId abc123
This overwrites the Notion page's content with the local document's markdown, converted to Notion blocks.
The document_sync_links table tracks sync relationships:
| Column | Description |
| ------------------------------ | ------------------------------------------ |
| document_id | Local document ID |
| provider | Always "notion" |
| remote_page_id | Notion page ID |
| state | "linked", "syncing", "error" |
| last_synced_at | Timestamp of last successful sync |
| has_conflict | Whether there's a merge conflict (0 or 1) |
| last_error | Error message if sync failed |
| User says | What to do |
| ---------------------------------- | ----------------------------------------------------- |
| "Is Notion connected?" | connect-notion-status |
| "Link this doc to Notion" | link-notion-page --documentId ... --notionPageId ...|
| "Pull from Notion" | pull-notion-page --documentId ... |
| "Push to Notion" | push-notion-page --documentId ... |
| "Show Notion-linked documents" | list-notion-links |
has_conflict flag is set when both sides have changed since last syncconnect-notion-status before attempting sync operationstools
Public booking flow — the state machine, animations, and URL/app-state sync.
tools
Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.
tools
Team event types, round-robin assignment, collective bookings, host weights, and no-show calibration.
development
The pure `computeAvailableSlots` function — inputs, outputs, invariants, and debugging guide.