Notion
Cari, buat halaman dengan nilai property sederhana, ubah property, query database (data source), tambah paragraf, komentar
Beta v0.1.0 Node.js 15 aksi
Tentang
Plugin Graphrt untuk Notion API resmi (REST, Notion-Version 2026-03-11). Plugin ini mencari di workspace, membaca dan membuat halaman, mengubah property-nya, meng-query database, membaca isi halaman, menambah paragraf dan menambah komentar. Setiap operasi adalah node workflow dan tool agent.
Yang bisa dilakukan
- Search pages and data sources shared with the integration
- Pages: get, get one property in full (paginated), create (in a database or under a page), update properties, move to the trash and restore (archive_page / restore_page)
- Simple property values: values: {"Stage": "Won", "Price": 1200, "Due": "2026-11-20"} is turned into Notion JSON using the database's schema, raw Notion JSON in properties works for every property type
- Databases: get a database, get a data source (the table schema), query with Notion filters and sorts
- Content: read child blocks, append plain-text paragraphs (≤ 100 per call), comment on a page, block or thread
- api_request: any other endpoint (GET only when called by an agent)
- Page ids can be given as ids (with or without dashes) or as Notion page URLs
Aksi
Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.
- Search
notion-api.search - Get page
notion-api.get_page - Get page property
notion-api.get_page_property - Create page
notion-api.create_page - Update page properties
notion-api.update_page_properties - Archive page
notion-api.archive_page - Restore page
notion-api.restore_page - Get database
notion-api.get_database - Get data source
notion-api.get_data_source - Query database
notion-api.query_database
Tampilkan semua 14 aksi
- Get block children
notion-api.get_block_children - Append paragraphs
notion-api.append_paragraphs - Add comment
notion-api.add_comment - Notion API request
notion-api.api_request
Pengaturan
Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.
-
NOTION_TOKENWajibInternal integration secret (ntn_...) -
NOTION_TOOL_ALLOW_PEOPLEOpsional1 lets agent tools set people properties (which notifies those people). Default: refused -
NOTION_API_TOOL_TOKEN_SOURCE
Cara memakainya
Di Graphrt Desktop
- Buka Plugins dan cari Notion.
- Klik Install lalu setujui.
- Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
- Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Dengan CLI
terminal
$ graphrt plugin install notion-api workflow.yaml
- id: lead
type: notion-api.create_page
database_id: "https://www.notion.so/acme/Leads-0123456789abcdef0123456789abcdef"
values:
Name: "{{#start.company#}}"
Stage: Lead
Tags: [inbound, jakarta]
Email: "{{#start.email#}}"
Follow up: "2026-11-25"
paragraphs: ["First contact via the website form."]
- id: open_deals
type: notion-api.query_database
database_id: "0123456789abcdef0123456789abcdef"
filter: '{"property": "Stage", "select": {"does_not_equal": "Won"}}'
sorts: '[{"property": "Follow up", "direction": "ascending"}]'
limit: 50