Skip to content

Repository files navigation

Notion TODO Bot

AI bot that performs pre-work on Notion TODOs by analyzing tasks and providing relevant links, information, or clarifying questions.

Setup

  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your API keys
  1. Create a Notion integration:

  2. Get OpenAI API key:

Usage

npm run build
npm start <notion-page-url>

Or for development:

npm run dev <notion-page-url>

How it works

  1. Extracts checkbox blocks from the Notion page
  2. Analyzes each TODO with AI to determine category and needs
  3. Generates appropriate responses:
    • Account tasks: Finds login pages
    • Booking tasks: Provides booking links
    • Research tasks: Creates search links
    • Unclear tasks: Asks clarifying questions
  4. Adds responses as child blocks under each TODO

About

Written with Claude

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages