Get up and running with Workers in a few steps.Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Node.js
Version 22 or higher
npm
Version 10 or higher
Create your first worker
Deploy to Notion
Connect to your Notion workspace and deploy:Follow the prompts to authenticate with your Notion workspace.
What’s in a worker?
The scaffolded project lives insrc/index.ts and exports a single Worker instance:
src/index.ts
Next steps
Syncs
Sync external data into Notion databases.
Agent tools
Build custom tools for Notion AI.
Automations
Create custom automation actions.
Webhooks
Receive HTTP events from external services.
OAuth
Connect to third-party APIs.