Notion Node (WIP)

📌 Example Workflow

Download Example Workflow

📌 Notion Node Overview

What is Notion Node?

Automation node that helps n8n interact with the Notion database by leveraging the Notion API.
You can automatically create, view, modify, and delete pages and databases in Notion.
Reduce repetitive manual tasks and optimize productivity by linking with other services!

Things you can do with Notion Node

✅ Page-related features: Create, search, add or edit blocks on Notion pages
✅ Database-related functions: database query, search, add and edit pages
✅ User-related features: Ability to view Notion user list

📌 Advance preparation

Issuing Notion API KEY

Step1) Create Integration in Notion
Detail
Step2) Issue the API Key for Integration
Detail
Step3) Connect Integration to a specific database and page in Notion and grant permissions
Detail
Now you're ready to automate your Notion pages with n8n! 💪
Now, let's learn about the functions of each node.

📌 Page Node

Outline

Notion Node (Page) is a node that supports creating, searching, viewing, and deleting pages in Notion by utilizing the Notion API in n8n.
This node allows you to efficiently manage your Notion pages through automated workflows.

1. Create Page

Function

Create a new Notion page.

Input

PageId : URL of parent page or database (required)
Title : Title of the page to be created (required)
Simple : Simple output (optional)
Options : Additional settings (optional)

Output

ID of the generated Notion page
URL of the generated page
Other relevant metadata (creation time, modification time, etc.)

2. Search Page (Page Search)

Function

Search for Notion pages that contain specific keywords.

Input

Operation : "search" (required)
Text : Text to search for (required)
Simple : Simple output (optional)
Options : Additional settings (optional)

Output

List of searched pages
ID, title, URL, and other metadata for each page

3. Get Page (Get page information)

Function

Retrieves details of a specific Notion page.

Input

Operation : "get" (required)
PageId : ID or URL of the Notion page to import (required)
Simple : Simple output (optional)

Output

Detailed information such as the title, content, creation date, and modification date of the page in question

4. Archive Page (Delete Page)

Function

Archive (delete) existing Notion pages.

Input

Operation : "archive" (required)
PageId : ID or URL of the page to be deleted (required)
Simple : Simple output (optional)

Output

ID and status information for archived pages

📌 Database Node

Outline

Notion Node (Database) is a node that supports querying and searching Notion's database information by utilizing the Notion API in n8n.
This node allows you to search the list of databases in Notion or retrieve information about a specific database.

1. Get Database (Get database information)

Function

Retrieves information from a specific Notion database.

Input

Resource : "database" (required)
DatabaseId : ID or URL of the database to be imported (required)

Output

Database ID, title, creation date, modification date
Attribute list (column information)
Other metadata

2. Get Many Databases (Get a list of all databases)

Function

Lists all currently existing databases.

Input

Resource : "database" (required)
Operation : "getAll" (required)

Output

List of all existing databases
ID, title, creation date, modification date, attribute list, etc. of each database.

3. Search Database

Function

Searches a database for specific keywords.

Input

Resource : "database" (required)
Operation : "search" (required)
Text : Text to search for (required)
Options : Additional settings (optional)

Output

List of databases searched
ID, title, URL, and other metadata for each database

📌 User Node

Outline

Notion Node (User) is a node that supports querying information of a specific user or retrieving a list of all users within the workspace by utilizing the Notion API in n8n.
This node allows you to manage user information in Notion in an automated manner.

1. Get User (Get specific user information)

Function

Retrieves information about a specific Notion user.

Input

Resource : "user" (required)
UserId : ID of the user to retrieve (required)

Output

User ID, name, email
Profile Image URL (avatar_url)
User type (personal or bot)

2. Get Many Users (Get list of all users)

Function

Get information about all users in your Notion workspace.

Input

Resource : "user" (required)
Operation : "getAll" (required)

Output

List of all users in the workspace
Each user's ID, name, email, and profile image URL
User type (personal or bot)

📌 Block Node

Outline

Notion Node (Block) provides the ability to add blocks to a Notion page via n8n, or to view a list of blocks on a specific page.
This allows you to automate and organize the content of your Notion pages.

1. Append Block (Add Block)

Function

Add a new block within a specific Notion page.

Input

Resource : "block" (required)
BlockId : ID or URL of the page or block to which you want to add the block (required)
BlockUi.blockValues : The type and content of the block to be added (required)
Type : The type of the block (e.g. "heading_1" , "paragraph" , "bulleted_list_item" , etc.)
TextContent : Text content of the block.

Output

ID, type, creation time, and modification time of the generated block
Information about the user who created the block

2. Get Block (Get block list)

Function

Retrieves a list of blocks that exist within a specific Notion page.

Input

Resource : "block" (required)
Operation : "getAll" (required)
BlockId : ID or URL of the page or block to query the block list (required)

Output

A list of all blocks that exist on that page.
Block ID, type, creation date, modification date
Block contents and other metadata
📢
It works based on Notion API Docs.
👋