Skip to content

Connect Notion

The notion-connect addon links Notion pages, data sources, blocks and views to your arka-deck projects. The agent can read and write in Notion without you leaving the chat.


What arka-deck records — and what it does not

Section titled “What arka-deck records — and what it does not”
DataStorage
Connection (token, scopes)Encrypted in local SQLite (AES-256-GCM)
External references (page id, source id)Local
Freshness informationLocal
Execution logLocal

The addon does not import the whole Notion workspace as a local document base. Only references and explicit operations are recorded.


  1. Open the project’s External Sources or Notion Config view.
  2. Choose authentication:
    • Integration token (create an internal Notion integration and paste its token).
    • Notion OAuth (guided flow from the application).
  3. Test the connection.

The token is encrypted locally and is never exposed to the UI after input.


ActionDescription
Test connectionCheck the token works
SearchFind pages, sources, views by title
Read pageFetch a Notion page and its blocks
Read sourceFetch items from a data source
Read viewFetch a view (table, kanban, etc.)
Create / update pageCreate or modify a page
Append blocksAdd blocks to an existing page
Trash pageMove a page to trash (non-destructive)

The agent can invoke these actions during a turn (with your consent for write operations, depending on your provider permission configuration).


  • The OAuth state is in-memory, single-use, with a 10-minute TTL.
  • A restart during authorization invalidates the callback: you must restart the flow.
  • Encrypted credentials live in <arkaHome>/providers/providers.db.

  • The connector handles only one connection per project (multi-account planned later).
  • No automatic background sync of the Notion workspace.
  • No incoming webhook — arka-deck pulls on demand, no Notion → arka-deck push.