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.
To install the Node-RED Notion integration, run:
npm install node-red-notion
Ensure you have your Notion API integration set up and your API key available.
The following Notion API operations are supported:
- 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.
- 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.
- create-database: Creates a new database.
- get-database: Retrieves details of a specified database.
- query-database: Retrieves filtered results from a Notion database.
- get-users: Fetches a list of users in the Notion workspace.
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.
For detailed changelog information, please refer to the CHANGELOG.md.
Contributions are welcome! Please open a merge request or issue on the GitLab repository.
This project is licensed under the MIT License.