Skip to main content

Arcade Notion

An Arcade AI toolkit designed to interact with Notion, enabling users to find and create pages and databases.

Features

  • Page & Database Discovery: Easily find pages and databases by their titles and get their IDs for follow-up operations
  • Content Creation: Generate new pages and databases with AI-assisted content population
  • Secure OAuth Integration: Built-in secure authentication flow with Notion's OAuth 2.0

Roadmap

  • Update existing pages and databases
  • Delete pages and databases

Prerequisites

Before getting started, ensure you have:

  • A Notion account with administrative access
  • Permission to create and manage integrations
  • Access to target pages/databases

Configuration

1. Create a Notion Integration

  1. Follow the Create a Public Integration guide
  2. Set the redirect URI to: https://cloud.arcade-ai.com/api/v1/oauth/callback
  3. Save your client ID and secret

2. Environment Setup

Add these variables to your arcade.env:

NOTION_CLIENT_ID=your_client_id
NOTION_CLIENT_SECRET=your_client_secret

3. OAuth Configuration

Add this configuration to your Arcade engine setup:

auth:
  providers:
    - id: notion
      enabled: true
      type: oauth2
      description: "Notion OAuth 2.0 provider"
      client_id: ${env:NOTION_CLIENT_ID}
      client_secret: ${env:NOTION_CLIENT_SECRET}
      oauth2:
        authorize_request:
          endpoint: "https://api.notion.com/v1/oauth/authorize"
          params:
            response_type: "code"
            client_id: "{{client_id}}"
            redirect_uri: "{{redirect_uri}}"
            owner: "user"
        token_request:
          endpoint: "https://api.notion.com/v1/oauth/token"
          params:
            grant_type: "authorization_code"
            redirect_uri: "{{redirect_uri}}"
          auth_method: "client_secret_basic"

Usage Examples

Finding Resources

# Find a database
"Get me the database ID for 'Project Tracker'"

# Locate a specific page
"What's the ID of the page called 'Meeting Notes'?"

Creating Content

# Create a new project page
"Create a new page titled 'Mobile App Redesign' in the 'Project Ideas' database and populate it with ideas generated from our recent discussion"


# Create meeting notes
"Create a new page titled 'Client Discussion' within the 'Meeting Notes' database, including all the notes from today's meeting"

Metadata

Release files for arcade_notion 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arcade_notion 0.1.1
File Size Uploaded
arcade_notion-0.1.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arcade_notion 0.1.1
File Interpreter ABI Platform
arcade_notion-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / arcade_notion-0.1.1.tar.gz

Download URL arcade_notion-0.1.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4c0f9a5254ecb6ddb855d190e1e4cf2949001dc918ab5b46fa2858ab2aab16e7
BLAKE2b-256 checksum
How to use checksums
584b87ca8f9c0d8706ebad5f1ce0563d2e02de5d47e2b20dcbc83cc798421b58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

Release files / arcade_notion-0.1.1-py3-none-any.whl

Download URL arcade_notion-0.1.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fef3a7f2edab69284ef6d4d00c85d34e02c797680111451c4971cafb5ee17f0
BLAKE2b-256 checksum
How to use checksums
96714531fb6adecc734a4aae393a245770f773fbc6207a0433cce052d3038c6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page