> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.notion.core.CreatePage

- Component: `appmixer.notion.core.CreatePage`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.notion 2.3.0](https://connectors.appmixer.com/connector/appmixer.notion/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.notion/2.3.0/component/appmixer.notion.core.CreatePage>

Create a new page under a parent page.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Parent Page (`parentId`) | text | Select the parent page from the picker or enter a Page ID. The picker offers the 100 most recently edited pages shared with the integration, each shown with its path (Parent / Subpage, or Database / Item). |
| Emoji (`emoji`) | text | Enter an emoji for the page icon. |
| Title (`title`) | text | Enter the title of the page. |
| Cover Image URL (`coverUrl`) | text | Enter a Publicly accessible URL for the cover image. |
| Page Content (`content`) | text | Enter the content for the page. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Object (`object`) | string | - |
| ID (`id`) | string | - |
| Created Time (`created_time`) | string | - |
| Last Edited Time (`last_edited_time`) | string | - |
| Created By (`created_by`) | object | - |
| Last Edited By (`last_edited_by`) | object | - |
| Cover (`cover`) | object | - |
| Icon (`icon`) | object | - |
| Parent (`parent`) | object | - |
| Archived (`archived`) | boolean | - |
| In Trash (`in_trash`) | boolean | - |
| Properties (`properties`) | object | - |
| URL (`url`) | string | - |
| Public URL (`public_url`) | string | - |
| Request ID (`request_id`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.notion.core.CreatePage",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Create a new page under a parent page.",
  "auth": {
    "service": "appmixer:notion"
  },
  "private": false,
  "quota": {
    "manager": "appmixer:notion",
    "resources": "general",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "parentId": {
            "type": "string"
          },
          "emoji": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "coverUrl": {
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        },
        "required": [
          "parentId",
          "title"
        ]
      },
      "inspector": {
        "inputs": {
          "parentId": {
            "type": "text",
            "index": 1,
            "label": "Parent Page",
            "tooltip": "Select the parent page from the picker or enter a Page ID. The picker offers the 100 most recently edited pages shared with the integration, each shown with its path (Parent / Subpage, or Database / Item).",
            "source": {
              "url": "/component/appmixer/notion/core/ListPages?outPort=out",
              "data": {
                "properties": {
                  "isSource": true
                },
                "transform": "./ListPages#pageToSelectArray"
              }
            }
          },
          "emoji": {
            "type": "text",
            "index": 2,
            "label": "Emoji",
            "tooltip": "Enter an emoji for the page icon."
          },
          "title": {
            "type": "text",
            "index": 3,
            "label": "Title",
            "tooltip": "Enter the title of the page."
          },
          "coverUrl": {
            "type": "text",
            "index": 4,
            "label": "Cover Image URL",
            "tooltip": "Enter a Publicly accessible URL for the cover image."
          },
          "content": {
            "type": "text",
            "index": 5,
            "label": "Page Content",
            "tooltip": "Enter the content for the page."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Object",
          "value": "object",
          "schema": {
            "type": "string",
            "example": "page"
          }
        },
        {
          "label": "ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
          }
        },
        {
          "label": "Created Time",
          "value": "created_time",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:30:00.000Z"
          }
        },
        {
          "label": "Last Edited Time",
          "value": "last_edited_time",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:30:00.000Z"
          }
        },
        {
          "label": "Created By",
          "value": "created_by",
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "title": "Created By.Object",
                "type": "string"
              },
              "id": {
                "title": "Created By.ID",
                "type": "string"
              }
            },
            "example": {
              "object": "user",
              "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
            }
          }
        },
        {
          "label": "Last Edited By",
          "value": "last_edited_by",
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "title": "Last Edited By.Object",
                "type": "string"
              },
              "id": {
                "title": "Last Edited By.ID",
                "type": "string"
              }
            },
            "example": {
              "object": "user",
              "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
            }
          }
        },
        {
          "label": "Cover",
          "value": "cover",
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "title": "Cover.Type",
                "type": "string"
              },
              "external": {
                "title": "Cover.External",
                "type": "object",
                "properties": {
                  "url": {
                    "title": "Cover.External.URL",
                    "type": "string"
                  }
                }
              }
            },
            "example": {
              "type": "external",
              "external": {
                "url": "https://images.unsplash.com/photo-1506744038136-46273834b3fb"
              }
            }
          }
        },
        {
          "label": "Icon",
          "value": "icon",
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "title": "Icon.Type",
                "type": "string"
              },
              "emoji": {
                "title": "Icon.Emoji",
                "type": "string"
              }
            },
            "example": {
              "type": "emoji",
              "emoji": "🚀"
            }
          }
        },
        {
          "label": "Parent",
          "value": "parent",
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "title": "Parent.Type",
                "type": "string"
              },
              "page_id": {
                "title": "Parent.Page ID",
                "type": "string"
              }
            },
            "example": {
              "type": "page_id",
              "page_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
            }
          }
        },
        {
          "label": "Archived",
          "value": "archived",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "In Trash",
          "value": "in_trash",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Properties",
          "value": "properties",
          "schema": {
            "type": "object",
            "properties": {
              "title": {
                "title": "Properties.Title",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Title.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Title.Type",
                    "type": "string"
                  },
                  "title": {
                    "title": "Properties.Title.Title",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "title": "Properties.Title.Title.Type",
                          "type": "string"
                        },
                        "text": {
                          "title": "Properties.Title.Title.Text",
                          "type": "object",
                          "properties": {
                            "content": {
                              "title": "Properties.Title.Title.Text.Content",
                              "type": "string"
                            },
                            "link": {
                              "title": "Properties.Title.Title.Text.Link",
                              "type": "string"
                            }
                          }
                        },
                        "annotations": {
                          "title": "Properties.Title.Title.Annotations",
                          "type": "object",
                          "properties": {
                            "bold": {
                              "title": "Properties.Title.Title.Annotations.Bold",
                              "type": "boolean"
                            },
                            "italic": {
                              "title": "Properties.Title.Title.Annotations.Italic",
                              "type": "boolean"
                            },
                            "strikethrough": {
                              "title": "Properties.Title.Title.Annotations.Strikethrough",
                              "type": "boolean"
                            },
                            "underline": {
                              "title": "Properties.Title.Title.Annotations.Underline",
                              "type": "boolean"
                            },
                            "code": {
                              "title": "Properties.Title.Title.Annotations.Code",
                              "type": "boolean"
                            },
                            "color": {
                              "title": "Properties.Title.Title.Annotations.Color",
                              "type": "string"
                            }
                          }
                        },
                        "plain_text": {
                          "title": "Properties.Title.Title.Plain Text",
                          "type": "string"
                        },
                        "href": {
                          "title": "Properties.Title.Title.Href",
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": {
              "title": {
                "id": "title",
                "type": "title",
                "title": [
                  {
                    "type": "text",
                    "text": {
                      "content": "Launch plan",
                      "link": null
                    },
                    "plain_text": "Launch plan",
                    "href": null
                  }
                ]
              }
            }
          }
        },
        {
          "label": "URL",
          "value": "url",
          "schema": {
            "type": "string",
            "example": "https://www.notion.so/b2c3d4e5f6a78901bcdef12345678901"
          }
        },
        {
          "label": "Public URL",
          "value": "public_url",
          "schema": {
            "type": "string",
            "example": "https://acme.notion.site/Launch-plan-b2c3d4e5f6a78901bcdef12345678901"
          }
        },
        {
          "label": "Request ID",
          "value": "request_id",
          "schema": {
            "type": "string",
            "example": "c3d9e7a2-6b4c-4f8e-9a1d-5e2b7c4f8a1d"
          }
        }
      ]
    }
  ]
}
```
