Block 1 - Get a database page
- Type / Role
- n8n-nodes-base.notion - notion
- Config choices
- Version 2.2
This workflow is provided as-is. Please review and test before using in production.
This workflow fetches the complete content of a specific Notion page and converts all its blocks into a single HTML string compatible with the WordPress Gutenberg block editor . It's designed to be...
n8n-nodes-base.notion, n8n-nodes-base.code, n8n-nodes-base.aggregate, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.filter
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Konrad Roziewski.
Original n8n.io sourceThis workflow fetches the complete content of a specific Notion page and converts all its blocks into a single HTML string compatible with the WordPress Gutenberg block editor.
It's designed to be used as a sub-workflow. You can call it from a parent workflow (e.g., "when a Notion page is updated") by passing it a notion_url. It returns a single item containing the complete, ready-to-use HTML for a WordPress post body.
, , ``) so WordPress recognizes them as blocks.notion_url in the input data. (A manual trigger with a sample URL is included for testing).fetchNestedBlocks: true).decode paragraphs) iterates over text-based blocks (paragraphs, lists) and uses a helper function to convert the Notion annotations array into standard HTML tags (e.g., <strong>, <em>, <a>).decode blocks) uses a large switch statement to map each Notion block type to its corresponding Gutenberg HTML structure.column&column_list) runs once on all blocks. It finds all column blocks, then finds their children, and finally wraps them inside their parent column_list block. This is essential for correctly handling nested layouts.wp. This string can be directly used in the "Content" field of a WordPress node in your parent workflow.Get a database pageGet many child blocksnotion_url field.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Convert Notion page to WordPress (Gutenberg) HTML |
|---|---|
| Complexity | advanced |
| Nodes | 17 |
| Categories | Content Creation |
| Author | Konrad Roziewski |
| Published | 19 Oct 2025 |
Use the JSON export at /data/workflows/9917/9917.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This workflow fetches the complete content of a specific Notion page and converts all its blocks into a single HTML string compatible with the WordPress Gutenberg block editor . It's designed to be...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation use case.