Skip to main content
notion.createDatabase create a database container and its initial data source.

Example

automations/notion-create-database.automation.ts

Inputs

parent is required. Add database metadata and initial_data_source to define the first schema; title and presentation fields are optional. Every input accepts a compatible signal, and an optional second argument can select a named account.

Output

Returns the created full or partial database object. A database is the container; query rows through its data-source ID.