Notion
Search, create pages with simple property values, update properties, query databases (data sources), append paragraphs, comments
Beta v0.1.0 Node.js 15 actions
About
A Graphrt plugin for the official Notion API (REST, Notion-Version: 2026-03-11). It searches a workspace, reads and creates pages, updates their properties, queries databases, reads page content, appends paragraphs and adds comments. Every operation is a workflow node and an agent tool.
What it can do
- 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
Actions
Each action is a step you can add to a workflow. Agents can also use most of them as tools.
- 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
Show all 14 actions
- 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
Settings
Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.
-
NOTION_TOKENRequiredInternal integration secret (ntn_...) -
NOTION_TOOL_ALLOW_PEOPLEOptional1 lets agent tools set people properties (which notifies those people). Default: refused -
NOTION_API_TOOL_TOKEN_SOURCE
How to use it
In Graphrt Desktop
- Open Plugins and search for Notion.
- Click Install and approve it.
- Follow the setup steps on the plugin's page, then paste the settings it needs.
- Describe a job that needs it, and the builder adds the steps.
With the 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