Skip to main content

Notion integration to search, create, update, and delete databases/pages.

Project description

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcade_notion-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

arcade_notion-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file arcade_notion-0.1.0.tar.gz.

File metadata

  • Download URL: arcade_notion-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for arcade_notion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e8af9ed0bfcd4c9b55f7c874b68d1150b9c34a6f381542d70da7ebd678fe31d8
MD5 0eb3d0e7f6938dbe0dd018ab40804b60
BLAKE2b-256 154527c071484b88d792816cf47ccbb93752ae2b61bae309cd8850d6e3baf8ca

See more details on using hashes here.

File details

Details for the file arcade_notion-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: arcade_notion-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for arcade_notion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a3e60eebe10ea69f90fecc214549490b3048bad130adeb79b4c9a36a65379f6
MD5 d61ed11f8c42cc0b5555e4f55259ca56
BLAKE2b-256 7f9c62283fe3ca8f21cc8ec5947ff283af082a0494b4417d0999d660634e65ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page