Package Information
Released: 16 mo ago
Downloads: 6 weekly / 18 monthly
Latest Version: 0.3.0
Author: Alexey Kalinin
Documentation
Notion Markdown Converter for n8n
Convert between Notion JSON blocks and Markdown format in your n8n workflows.
Features
- 🔄 Auto-detect conversion direction
- 📝 Convert Notion blocks to Markdown
- 🔧 Convert Markdown to Notion JSON format
- ✨ Support for rich text formatting (bold, italic, strikethrough, links, code)
- 🎯 Flexible input field selector for nested data
- ✂️ Automatic splitting of long paragraphs (>1800 chars) for Notion compatibility
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes
- Click Install a community node
- Enter:
n8n-nodes-notion2md - Click Install
Manual Installation
cd ~/.n8n/custom
npm install n8n-nodes-notion2md
Restart n8n after installation.
Supported Elements
Block Types
# Heading 1## Heading 2### Heading 3- Regular paragraphs
- Bullet lists1. Numbered lists- [ ] To-do unchecked- [x] To-do checked> QuotesCode blocks> 💡 **Note:** Callouts<details>Toggle blocks---Dividers
Text Formatting
- Bold text
- Italic text
StrikethroughInline code- Links
Usage
- Add Notion Markdown Converter node to your workflow
- Connect input data (Notion JSON or Markdown string)
- (Optional) Set Input Field to extract data from nested JSON paths:
- Leave empty to use entire input
- Use dot notation like
data.contentorresponse.blocks
- The node automatically detects the format and converts accordingly
Example Input/Output
Notion to Markdown
// Input
{
"results": [{
"type": "heading_3",
"heading_3": {
"rich_text": [{
"text": {"content": "Hello World"},
"plain_text": "Hello World"
}]
}
}]
}
// Output
{
"markdown": "### Hello World",
"blocksCount": 1,
"direction": "notion_to_markdown"
}
Markdown to Notion
// Input
{
"markdown": "### Hello World\n\nThis is **bold** text."
}
// Output
{
"blocks": [
{
"object": "block",
"type": "heading_3",
"heading_3": {
"rich_text": [...],
"is_toggleable": false,
"color": "default"
}
},
{
"object": "block",
"type": "paragraph",
"paragraph": {
"rich_text": [...],
"color": "default"
}
}
],
"blocksCount": 2,
"direction": "markdown_to_notion"
}
License
MIT
Author
Alexey Kalinin (alexeykalinin@me.com)