0.1.3 • Published 4 months ago
n8n-nodes-notion-custom v0.1.3
n8n-nodes-notion-custom
This package provides a custom node for n8n that allows making direct API calls to the Notion API. It leverages existing Notion credentials and offers a flexible interface for working with all Notion API endpoints.
Features
- Support for all HTTP methods (GET, POST, PUT, PATCH, DELETE)
- Customizable URL paths
- Support for request headers and query parameters
- JSON body support for relevant operations
- Compatible with existing Notion credentials in n8n
Installation
To install this node in your n8n instance:
- Go to Settings > Community Nodes
- Click "Install a community node"
- Enter
n8n-nodes-notion-custom
as the package name - Click "Install"
Usage
Deleting a Notion Block
- Add the "Notion Custom" node to your workflow
- Select your existing Notion credentials
- Set Method to DELETE
- Set URL to
/v1/blocks/your_block_id
- Set Notion Version to the current version (e.g. 2022-06-28)
- The body can be left as an empty object
{}
Getting Page Content
- Add the "Notion Custom" node to your workflow
- Select your existing Notion credentials
- Set Method to GET
- Set URL to
/v1/blocks/your_page_id/children
- Set Notion Version to the current version
Creating Content
- Add the "Notion Custom" node to your workflow
- Select your existing Notion credentials
- Set Method to POST
- Set URL to
/v1/blocks/your_block_id/children
- Set Body to your content structure as JSON
- Set Notion Version to the current version