Agent Connector

Connect your agents to Notion

Production-ready access to your Notion data with managed auth, parametric control, and the reliability your agents need to actually work.

Installation & Usage

Get start with the Notion connector in minutes.

[01]

Install Package

Using uv or pip

BASH

Copy
uv pip install airbyte-agent-notion

[02]

Import

Initialize and use

PYTHON

Copy
from airbyte_agent_notion import NotionConnector
from airbyte_agent_notion.models import NotionAccessTokenAuthConfig

connector = NotionConnector(
    auth_config=NotionAccessTokenAuthConfig(
        token="<Notion internal integration token (starts with ntn_ or secret_)>"
    )
)

[03]

Tool

Add tools to your agent

python

Copy
@agent.tool_plain # assumes you're using Pydantic AI
@NotionConnector.tool_utils
async def notion_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Supported Entities & Actions

Access all your Notion data through a unified API

Lorem ipsum

Lorem ipsum

| Entity | Actions |\n|--------|---------|\n| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get), [Search](./REFERENCE.md#users-search) |\n| Pages | [List](./REFERENCE.md#pages-list), [Get](./REFERENCE.md#pages-get), [Search](./REFERENCE.md#pages-search) |\n| Data Sources | [List](./REFERENCE.md#data-sources-list), [Get](./REFERENCE.md#data-sources-get), [Search](./REFERENCE.md#data-sources-search) |\n| Blocks | [List](./REFERENCE.md#blocks-list), [Get](./REFERENCE.md#blocks-get), [Search](./REFERENCE.md#blocks-search) |\n| Comments | [List](./REFERENCE.md#comments-list) |

Example Prompts

The Notion connector is optimized to handle prompts like these

Lorem ipsum

List all users in my Notion workspace - Show me all pages in my Notion workspace - What data sources exist in my Notion workspace? - Get the details of a specific page by ID - List child blocks of a specific page - Show me comments on a specific page - What is the schema of a specific data source? - Who are the bot users in my workspace? - Find pages created in the last week - List data sources that have been recently edited - Show me all archived pages

Why Airbyte for AI Agents?

Built for production AI workloads with enterprise-grade reliability

Secure Authentication

Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.

Agent-Native Design
Heading

Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.

Production Ready

Battle-tested connectors with comprehensive error handling, logging, and retry logic.

Open Source

Fully open source under the MIT license. Contribute, customize, and extend freely.

Works with your favorite frameworks

Use the Salesforce connector with any AI agent framework.

LangChain

CrewAI

LlamaIndex

AutoGen

OpenAI Agents SDK

Claude Agents SDK

Frequently Asked Questions

Didn't find your answer? Please don't hesitate to reach out.

How do I authenticate with Notion?

The Notion connector supports Access Token authentication using a Notion internal integration token (starting with ntn_ or secret_). In hosted mode, credentials are stored securely in Airbyte Cloud and accessed via Airbyte client ID and client secret.

Can I use this connector with any AI agent framework?

The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.

Does this connector support write operations?

Currently, the Notion connector focuses on read operations only. Write operations such as creating pages, updating data source properties, deleting blocks, or adding comments are not supported at this time.

How is this different from the Airbyte data connector?

Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.

Ready to connect your AI agents to Notion?

Get started in minutes with our open-source connector.