FM
FlowMarket
General Automation Intermediate ⚡ 12 n8n Nodes

Convert Notion to markdown and back to Notion

This workflow converts Notion pages to markdown, and then converts that markdown back to Notion blocks. It will triple the content of the last updated page i...

🔌 Nodes & Integrations Used (3)

Notion Trigger Notion HTTP Request

📖 Implementation & Setup Guide

This workflow converts Notion pages to markdown, and then converts that markdown back to Notion blocks. It will triple the content of the last updated page it finds. This is useless by itself, but you can copy-paste from this workflow to create your own.

Prerequisites A notion account with some pages or databases

Setup instructions Create a notion credential and share some pages as described here: https://docs.n8n.io/integrations/builtin/credentials/notion/

How it works - The HTTP Request gets notion child blocks from a page, because the default n8n block only gets plain text and no links. - The first code block converts it to markdown. - The second code block converts it back to Notion blocks - The last HTTP block appends everything to the original Notion page, essentially duplicating it for the purpose of demoing the script.

I hope in the future we get official n8n blocks that extract markdown, or use markdown to write to Notion. There is community block that also does this, but this template is easier: you can simply copy-paste the blocks from this workflow.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Convert Notion to markdown and back to Notion.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →