How to break down contetn and insert to Notion page?

Describe the problem/error/question

Hi all, I have a large piece of content in markdown format, and I would like to create and insert it into a Notion page. I tried inserting the content into a Notion paragraph block, but it only allows a maximum of 2000 characters.

Example content:

Using Sora 2 AI Video Generation\n\n### Overview\n- **Sora 2** is a powerful AI model for creating videos from text or images\n- Using Sora 2 through a third-party platform. \n- Enables **10x output**, high-quality videos, and multi-use for businesses and individual creators.\n- Offers fun and practical use cases including marketing creatives, UGC ads, storyboards, and cameo-style videos.\n\n- - -\n\n###Technical Tips and Considerations…

May I ask if there is any better way to insert the content into Notion and follow the markdown? Would it be possible to use the “- - -“ as a delimiter and splite the content into chunks? Then insert the chunks into the Notion paragraph? I tried Set node with {{ $json.Summary.split(‘- - -’) }}, but it did not work and only output one item.

What is the error message (if any)?

Bad request - please check your parameters

body failed validation: body.children[0].paragraph.rich_text[0].text.content.length should be ≤ 2000, instead was 4654.

Please share your workflow

Hi !

Instead, you should convert your markdown into an array of Notion-compatible blocks (e.g., headings, paragraphs, lists) and insert them as the children of the Notion page.

This approach avoids the character limit and preserves your markdown structure.

You can use the community node `n8n-nodes-notion-markdown` to help with this conversion, and then send the resulting array as the children property in your Notion API request or Notion node in n8n.

Here a topic about it :slight_smile:

Thanks @Parintele_Damaskin !

However, I am using the cloud version, and probably cannot access this community node.

1 Like

Hi!

Since you’re on n8n cloud and can’t use community nodes, check out Mark2Notion. It’s an API that converts markdown to Notion blocks and handles the 2000 character limit automatically.

You can use it with an HTTP Request node:

  1. Send your markdown to /api/append
  2. It converts to proper Notion blocks, splits long text, and appends directly to your page

Here’s a workflow that does exactly this: Convert Markdown to Formatted Notion Pages

Happy to help if you have questions!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.