# 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](https://copytonotion.com/guides/how-to-share-notion-databases-and-pages-with-an-integration)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.waterflai.ai/studio/studio-builders/flow-components-nodes/notion-database-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
