Skip to main content
notion.onDataSourceContentUpdated start an automation when content changes in a data source.

Example

automations/notion-on-data-source-content-updated.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 content-update payload. data.updatedBlocks lists affected page, database, or block references, and data.parent identifies the container. The event is narrowed to data_source.content_updated; 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.