Notion Database Node

Overview

The Notion Database Loader Node enables you to extract content from Notion databases. It provides capabilities to authenticate with Notion's API, select specific databases, and filter the content you want to retrieve, making it perfect for creating dynamic knowledge bases from Notion content.

Usage cost: 0.1 credit / document

Configuration

Settings

  1. Authentication

    • Integration Token*: Notion API integration token

    • Database ID*: Unique identifier of the target Notion database

  2. Request Configuration

    • Request Timeout: Time limit for API requests (1-60 seconds)

    • Filter Object: JSON object defining content filtering rules

      • Must be valid JSON

      • Follows Notion's filtering syntax

Output Ports

  1. documents (List[Document]):

    • List of Document objects containing database entries

    • Includes both content and metadata

  2. documents_content (List[string]):

    • List of extracted text content

    • Raw content without metadata

Best Practices

  1. Performance

    • Use filters to limit data retrieval

  2. Integration Setup

    • Share database with integration

    • Verify correct permissions

    • Test connection before deployment

Common Issues

  • Integration token authentication failures

  • Database access permission errors

  • Timeout issues with large databases

  • Invalid filter object format

  • Rate limiting from Notion API

  • Missing database sharing settings

Note: To use this node, you need to first create a Notion integration and share your database with it. Follow the setup guide at: How to Share Notion Databases with an Integration

Last updated