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
- Follow the Create a Public Integration guide
- Set the redirect URI to:
https://cloud.arcade-ai.com/api/v1/oauth/callback
- 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
Release history Release notifications | RSS feed
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.1.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file arcade_notion-0.1.1.tar.gz
.
File metadata
- Download URL: arcade_notion-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c0f9a5254ecb6ddb855d190e1e4cf2949001dc918ab5b46fa2858ab2aab16e7 |
|
MD5 | b1e28660d0d2811fc53fbf222da4caa6 |
|
BLAKE2b-256 | 584b87ca8f9c0d8706ebad5f1ce0563d2e02de5d47e2b20dcbc83cc798421b58 |
File details
Details for the file arcade_notion-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: arcade_notion-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fef3a7f2edab69284ef6d4d00c85d34e02c797680111451c4971cafb5ee17f0 |
|
MD5 | dd036e00f896962851dafb8a261f1647 |
|
BLAKE2b-256 | 96714531fb6adecc734a4aae393a245770f773fbc6207a0433cce052d3038c6b |