- JavaScript 67.8%
- HTML 32.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| common | ||
| icons | ||
| .gitignore | ||
| AGENTS.md | ||
| append-block-children.html | ||
| append-block-children.js | ||
| CHANGELOG.md | ||
| create-database.html | ||
| create-database.js | ||
| create-page.html | ||
| create-page.js | ||
| delete-block.html | ||
| delete-block.js | ||
| get-block-children.html | ||
| get-block-children.js | ||
| get-database.html | ||
| get-database.js | ||
| get-page-property.html | ||
| get-page-property.js | ||
| get-page.html | ||
| get-page.js | ||
| get-users.html | ||
| get-users.js | ||
| notion-config.html | ||
| notion-config.js | ||
| package-lock.json | ||
| package.json | ||
| query-database.html | ||
| query-database.js | ||
| README.md | ||
| update-block.html | ||
| update-block.js | ||
| update-page.html | ||
| update-page.js | ||
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-mainmirrors upstreammainand has no fork-specific changes. Branch from it for upstream merge requests.mainis 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.