Create structured, formatted Notion page content

Hello there! After struggling for too long without being able to get a proper Notion Page within an automation, I created an API to transform Markdown into a compatible JSON for Notion API to append content to a page.

You can find it here : Write2Notion

It will allow you to create beautiful Notion pages with Titles and subtitles, bold text, etc by sending a Markdown format text to it! Enjoy!

2 Likes

thanks @Stephanie_DESBY looks really helpful. I don’t suppose you have a similar API service for doing the inverse, i.e. easily extracting a Markdown representation of a Notion page, given it’s ID?

For context: How to retrieve Notion page content as Markdown

1 Like

Hi @felciano! Not yet but that’s a great idea! I’ll work on it as soon as possible :grinning_face:

1 Like

Fantastic! Let me know if you want someone to help beta test.

1 Like

Hello! Today s the day, I released the reverse feature, you can now extract your Notion page into a markdown one!

Here’s the curl snippet for it:

curl -X POST "https://write2notion.com/api/notion2markdown" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"object":"list","results":[{"object":"block","type":"heading_1","heading_1":{"text":[{"type":"text","text":{"content":"Hello World","link":null}}],"color":"default","is_toggleable":false}}]}'