Actions6
Overview
This node operation "Create Page with Content" allows users to create a new page in Notion with structured content generated from natural language input. The node takes a plain text content string, which can include headings, paragraphs, lists, quotes, and code blocks using simple markdown-like syntax. It automatically converts this content into the appropriate Notion block types and creates a new page under a specified parent page or database.
This is useful for automating documentation, note-taking, or content generation workflows where users want to quickly create rich Notion pages without manually formatting each block. For example, you could generate meeting notes, project plans, or knowledge base articles by providing a title, parent location, and natural language content.
Properties
| Name | Meaning |
|---|---|
| Page Title | The title of the new page to create. |
| Parent Page/Database ID | ID or URL of the parent page or database where the new page will be created. |
| Content | Natural language content to add to the page. Supports markdown-like syntax for headings, lists, quotes, etc. |
| Additional Options | Collection of optional settings: - Icon: Emoji icon for the page (e.g., 📝, 🎯, 📊) - Cover Image URL: URL for the page cover image - Return Full Content: Whether to return full page content or just metadata (boolean) - Max Results: Maximum number of results to return (1-100), not directly relevant here but part of options |
Output
The output JSON object includes:
pageId: The unique identifier of the newly created Notion page.title: The title of the created page.url: The public or shareable URL of the created page.message: A confirmation message indicating successful creation.
If content was provided, it is parsed into Notion blocks and added as children to the page. The output does not include the full content blocks unless the "Return Full Content" option is enabled (though this option is more relevant for other operations).
No binary data is output by this operation.
Dependencies
- Requires a valid Notion API key credential configured in n8n to authenticate requests.
- Uses Notion's REST API endpoints
/pagesand/blocks/{id}/childrento create pages and add content blocks. - No additional external services are required beyond Notion API access.
Troubleshooting
- Invalid Notion API credentials: The node validates credentials before execution. Ensure your API key is correct and has sufficient permissions to create pages and add content.
- No valid content blocks found: If the content string is empty or cannot be parsed into recognized blocks, the node may throw an error or create an empty page. Use proper markdown-like syntax for headings (
#,##,###), lists (-,*, numbered), quotes (>), and code blocks (triple backticks). - Parent ID issues: The parent page or database ID must be valid. You can provide either a Notion URL or the raw ID. Invalid or inaccessible parents will cause errors.
- API rate limits or network errors: Standard Notion API limitations apply. Retry or check network connectivity if requests fail.