Skip to main content
notion.onCommentCreated start an automation when Notion creates a comment.

Example

automations/notion-on-comment-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 comment.created payload. entity identifies the comment; data.pageId and data.parent identify its page and parent block. The event is narrowed to comment.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.