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 staticaccount selects a named OAuth binding and defaults to the project’s Notion binding. Personal access tokens cannot own webhook subscriptions.
Event
Returns the typeddatabase.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.