Transform Markdown Content into Structured Notion Blocks

Go to Workflow
511 views
Built by Tom Tom
Created on June 06, 2026

Description

Markdown to Notion Blocks Converter

Transform markdown-formatted text into properly structured Notion page content with this comprehensive workflow.

Overview
This workflow automatically converts markdown text into Notion's block format and inserts it directly into a Notion page. Perfect for content creators, documentation teams, and anyone who needs to migrate markdown content to Notion.

Features
Complete Markdown Support**: Handles headers (H1-H4), paragraphs, lists, quotes, code blocks, and horizontal rules
Rich Text Formatting**: Preserves bold, italic, and link formatting
Smart Text Processing**: Generates plain text excerpts and maintains original content structure
Direct Notion Integration**: Automatically inserts converted blocks into your specified Notion page
Batch Processing**: Efficiently handles large content blocks

What It Does
Takes markdown-formatted text as input
Parses and converts it to Notion's block structure
Handles complex formatting including:
Headers and subheaders
Bulleted and numbered lists
Code blocks with syntax highlighting
Blockquotes
Bold and italic text
Links
Horizontal dividers
Uploads the converted content directly to your Notion page

Use Cases
Content Migration**: Move existing markdown documentation to Notion
Automated Publishing**: Convert blog posts or articles from markdown to Notion
Documentation Workflows**: Streamline technical documentation processes
Content Syndication**: Publish the same content across multiple platforms

Requirements
Notion API credentials
Target Notion page ID
Markdown-formatted source content

Setup
Configure your Notion API credentials
Replace the page ID in the HTTP request node with your target Notion page
Connect your markdown data source (replace the mock data node)
Execute the workflow

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest