Templates / Convert Notion page to WordPress (Gutenberg) HTML

Convert Notion page to WordPress (Gutenberg) HTML

Ready for 3.0

by Konrad Roziewski · 286 views · created 2025-10-19 · Content Creation

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Notion.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Edit Fields (Edit Fields (Set)): sets 1 field: notion_url
  2. Get a database page (Notion): get (database page)
  3. Get many child blocks (Notion): get many (block)
  4. decode paragraphs (Code): runs custom JavaScript code
  5. decode blocks (Code): runs custom JavaScript code
  6. drop unnecessary fields (Edit Fields (Set)): sets 5 fields: id, parent_id, type…
  7. nested blocks (Code): runs custom JavaScript code
  8. only top level blocks (Filter): keeps only the items that match a condition
  9. choose content field (Edit Fields (Set)): sets 1 field: wp
  10. Aggregate: combines items into one

…plus 1 more step. See the full node list below.

Services it uses

Notion

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

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 used as a sub-workflow. You can call it from a parent workflow…

Excerpt from Konrad Roziewski's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.