No description
  • JavaScript 67.8%
  • HTML 32.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-17 23:27:45 -05:00
common Added a limit parameter to database query payload 2025-04-07 14:33:21 +03:00
icons Added an icon to the node 2023-09-20 14:45:34 +03:00
.gitignore Add AGENTS.md and ignore local secrets 2026-10-17 23:12:01 -05:00
AGENTS.md Add AGENTS.md and ignore local secrets 2026-10-17 23:12:01 -05:00
append-block-children.html Append block children node 2023-09-21 13:02:11 +03:00
append-block-children.js Pagination and backoff fixes 2025-03-10 12:21:29 +02:00
CHANGELOG.md Bumped package version 2025-04-09 16:30:14 +03:00
create-database.html Added create database node 2023-09-21 12:17:16 +03:00
create-database.js Fixed broken database creation node 2025-04-09 11:31:31 +03:00
create-page.html Updated create-page.html to include content parameter in payload for Markdown support. 2024-11-14 19:45:29 +02:00
create-page.js Fixed markdown editing and page archiving 2024-10-03 14:09:33 +03:00
delete-block.html 1.1.0 2023-12-21 09:22:00 -05:00
delete-block.js Applied backoff logic and centralized error handling to all relevant node files 2024-10-02 18:08:06 +03:00
get-block-children.html Get page property node 2023-09-21 13:47:44 +03:00
get-block-children.js Applied backoff logic and centralized error handling to all relevant node files 2024-10-02 18:08:06 +03:00
get-database.html Added get database node 2023-09-21 12:29:54 +03:00
get-database.js Applied backoff logic and centralized error handling to all relevant node files 2024-10-02 18:08:06 +03:00
get-page-property.html Get page property node 2023-09-21 13:47:44 +03:00
get-page-property.js Applied backoff logic and centralized error handling to all relevant node files 2024-10-02 18:08:06 +03:00
get-page.html Updated get-page.html to include msg.includePageContent parameter in inputs section. 2024-11-14 19:30:08 +02:00
get-page.js Updated page retrieval node to conditionally fetch page contents based on msg.includePageContent parameter. 2024-11-14 19:19:53 +02:00
get-users.html 1.1.0 2023-12-21 09:22:00 -05:00
get-users.js Fix get-users crash on missing helper import 2026-10-17 23:27:44 -05:00
notion-config.html Functioning config node 2023-09-20 13:58:35 +03:00
notion-config.js Add close handler for resource cleanup in NotionConfigNode 2025-08-15 21:45:32 +03:00
package-lock.json Rename package to @kreeger/node-red-notion and mark as fork 2026-10-17 22:55:23 -05:00
package.json Rename package to @kreeger/node-red-notion and mark as fork 2026-10-17 22:55:23 -05:00
query-database.html Added a limit parameter to database query payload 2025-04-07 14:33:21 +03:00
query-database.js Added a limit parameter to database query payload 2025-04-07 14:33:21 +03:00
README.md Rename package to @kreeger/node-red-notion and mark as fork 2026-10-17 22:55:23 -05:00
update-block.html 1.1.0 2023-12-21 09:22:00 -05:00
update-block.js Applied backoff logic and centralized error handling to all relevant node files 2024-10-02 18:08:06 +03:00
update-page.html Updated update-page.html to include correct input payload structure for message. 2024-11-14 19:43:24 +02:00
update-page.js Implemented sequential deletion for better block handling in Notion update logic. 2024-10-12 20:56:35 +03:00

Node-red-notion

A collection of Node-RED nodes for seamless integration with Notion's API, enabling users to create, retrieve, and manage their Notion content directly from Node-RED.

This is a fork. It is maintained by Ben Kreeger at https://git.kree.gr/kreeger/node-red-notion and published under the scope @kreeger/node-red-notion. The original project is node-red-notion on GitLab by Vas Zayarskiy. Upstream is the source of truth for the original nodes; this fork tracks it and adds its own changes.

Installation

This package is not yet published to npm, so install it straight from the git repository from your Node-RED user directory (usually ~/.node-red):

npm install git+https://git.kree.gr/kreeger/node-red-notion.git

Once published, it will install as @kreeger/node-red-notion.

Running both this fork and the upstream node-red-notion package in the same Node-RED instance is not supported. Both register the same node types.

Ensure you have your Notion API integration set up and your API key available.

Features

The following Notion API operations are supported:

Blocks

  • append-block-children: Appends child blocks to a specified block.
  • delete-block: Deletes a specified block in Notion.
  • get-block-children: Fetches child blocks of a specified block.

Pages

  • create-page: Creates a new page in Notion, given the parent database ID and properties.
  • get-page: Retrieves a specific page by its ID.
  • update-page: Updates the properties of a specific page.

Databases

  • create-database: Creates a new database.
  • get-database: Retrieves details of a specified database.
  • query-database: Retrieves filtered results from a Notion database.

Users

  • get-users: Fetches a list of users in the Notion workspace.

Error Handling

Errors from the Notion API are handled gracefully, returning structured error messages. The node output format will indicate the error type and include a helpful message.

Version Information

For detailed changelog information, please refer to the CHANGELOG.md.

Contributing

Contributions are welcome! Open issues and merge requests on this fork at https://git.kree.gr/kreeger/node-red-notion.

For changes that belong upstream, see the branch layout:

  • upstream-main mirrors upstream main and has no fork-specific changes. Branch from it for upstream merge requests.
  • main is the fork's default branch and carries the packaging and documentation changes made for this fork.

License

This project is licensed under the MIT License.