Skip to main content
notion.onDatabaseCreated start an automation when Notion creates a database.

Example

automations/notion-on-database-created.automation.ts

Configuration

The trigger takes no event filters. Its optional static account selects a named OAuth binding and defaults to the project’s Notion binding. Personal access tokens cannot own webhook subscriptions.

Event

Returns the typed database.created payload. entity identifies the database or related block/data source and data.parent identifies its container. The event is narrowed to database.created; consumers do not need to inspect the raw type. Automate.ax verifies the Notion signature, routes only to an eligible workspace principal, and deduplicates provider retries by event ID.