Help Needed: Converting and Saving Markdown as Notion Pages Using n8n
I am a beginner in n8n and often find myself confused while exploring its features. My goal is to save lengthy markdown documents as content in Notion pages.
Recently, I discovered a community node called n8n-nodes-notion-markdown created by @JingerTea. After trying it out, I found that this node efficiently converts markdown into JSON format compatible with Notion.
Thanks for posting here and welcome to the community!
Can you share what the input looks like exactly? (Some dummy data)
Tip for sharing your workflow in the forum
Pasting your n8n workflow
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!
In general though you should be able to map the inputs like in this demo:
First of all, I want to extract a specific newsletter from Gmail and save the content as a single page in the notion database, but notions are peculiarly blocky and can only be saved in markdown form.
I posted this feedback post on extending the notion node a while ago which would enable posting blocks JSON via the notion node and fix your issue but no response as yet. Hopefully, this will get updated in the future.
I can’t thank you enough for this valuable resource. I’m trying to implement the Notion API workflow, but I’m currently experiencing an issue with the Patch HTTP request node. When attempting to upload markdown output to a Notion page, I keep receiving the following error:
Problem in node 'Upload markdown output to page via Notion API1'
Bad request - please check your parameters
I’m using a self-hosted instance on Heroku running version 1.66.0. Could anyone please confirm if this workflow is still functional with the current Notion API? Or am I potentially missing something in my configuration?