Skip to content
Proud to collaborate with Microsoft for Startups

notion.pages.create_page ​

Create a Notion page in a database or as a child page

Create a Notion page as a child of a database or an existing page.

For database pages, properties must match the database schema. For plain child pages, only the title is required and content can be provided as simple paragraph blocks.

Inputs:

  • parent_id: ID of the parent database or page (required).
  • parent_type: database | page (optional, default: database).
  • title: Page title (required).
  • properties: Database property values as a dict (optional, for database pages).
  • content: List of Notion block objects to add as page content (optional).

Outputs (terminal state_data):

  • page_id: str — Notion page ID
  • page_url: str — public page URL

Plugin required: context.get_plugin("notion") must expose .api_key.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-notion
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
parent_idstringYes—ID of the parent database or page
parent_typestringNo—database
titlestringYes—Page title
propertiesjsonNo—Database property values
contentjsonNo—List of Notion block objects

Output Schema ​

FieldTypeRequiredDefaultDescription
page_idstringNo——
page_urlstringNo——
contentjsonNo——
parent_idstringNo——
parent_typestringNo——
propertiesjsonNo——
titlestringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "notion.pages.create_page",
  "initial_data": {
    "parent_id": "value",
    "title": "value"
  }
}