Mark2Notion追加
中级
这是一个Document Extraction, Miscellaneous, Multimodal AI领域的自动化工作流,包含 8 个节点。主要使用 Set, Notion, HttpRequest, ManualTrigger 等节点。 使用Mark2Notion将Markdown转换为格式化的Notion页面
前置要求
- •Notion API Key
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "QGikyQ1WgZENu9e5",
"meta": {
"instanceId": "636ac343c8909ac80cd6df77ded2011408792e94d4f89fc23dbb1a174ee7ecba"
},
"name": "Mark2Notion 追加",
"tags": [],
"nodes": [
{
"id": "0571b66a-e756-45f2-958b-899ee08dfab2",
"name": "当您点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
608,
352
],
"parameters": {},
"typeVersion": 1
},
{
"id": "278285e1-183a-4a63-a2f9-10e0be2f4a9f",
"name": "创建页面",
"type": "n8n-nodes-base.notion",
"position": [
1232,
352
],
"parameters": {
"title": "Mark2Notion Test Page",
"pageId": {
"__rl": true,
"mode": "id"
},
"options": {}
},
"typeVersion": 2.2
},
{
"id": "fce17ffd-0f61-4da6-9f40-2a455217897b",
"name": "设置 Markdown",
"type": "n8n-nodes-base.set",
"position": [
864,
352
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"markdown\": \"# Header 1\\n\\n## Header 2\\n\\nThis is a short paragraph to demonstrate basic Markdown formatting.\\n\\n- Item 1\\n - Subitem 1.1\\n - Subitem 1.1.1\\n- Item 2\\n - Subitem 2.1\\n- Item 3\\n\\n| Column 1 | Column 2 | Column 3 |\\n|----------|----------|----------|\\n| Row 1 | Data A | Data B |\\n| Row 2 | Data C | Data D |\\n| Row 3 | Data E | Data F |\"\n}\n"
},
"typeVersion": 3.4
},
{
"id": "143556c0-7d79-4f85-82eb-bbc7b346079c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 512,
"height": 800,
"content": "使用 Mark2Notion API 将 Markdown 文本转换为精美格式的 Notion 页面。此工作流处理 Notion 块结构的所有复杂性,包括表格、嵌套列表、代码块和特殊格式。"
},
"typeVersion": 1
},
{
"id": "ef5c6201-88e7-471a-8f98-101f95d8e981",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
752,
128
],
"parameters": {
"color": 7,
"width": 304,
"height": 400,
"content": "## 在此插入任何 Markdown 输出节点"
},
"typeVersion": 1
},
{
"id": "a90361dc-615b-4866-bbc7-4d5750cb2840",
"name": "HTTP 请求 - Mark2Notion 追加",
"type": "n8n-nodes-base.httpRequest",
"position": [
1600,
352
],
"parameters": {
"url": "https://api.mark2notion.com/api/append",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "markdown",
"value": "={{ $('Set Markdown').item.json.markdown }}"
},
{
"name": "notionToken"
},
{
"name": "pageId",
"value": "={{ $json.id }}"
}
]
},
"genericAuthType": "httpHeaderAuth"
},
"typeVersion": 4.2
},
{
"id": "39157620-b1c5-43ec-92cd-f1259eb57b34",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1488,
128
],
"parameters": {
"color": 7,
"width": 320,
"height": 400,
"content": "## 设置 Mark2Notion 和 Notion 凭据"
},
"typeVersion": 1
},
{
"id": "34b59cec-a312-47f5-8059-d9bf6b2ad858",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
64
],
"parameters": {
"color": 7,
"width": 304,
"height": 464,
"content": "## 设置 Notion 凭据"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5904ca6b-a787-4228-8e16-985cef7be1cb",
"connections": {
"Set Markdown": {
"main": [
[
{
"node": "Create a page",
"type": "main",
"index": 0
}
]
]
},
"Create a page": {
"main": [
[
{
"node": "HTTP Request - Mark2Notion Append",
"type": "main",
"index": 0
}
]
]
},
"When you click 'Execute Workflow'": {
"main": [
[
{
"node": "Set Markdown",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 文档提取, 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
PDF 转订单
使用AI将PDF采购订单自动化转换为Adobe Commerce销售订单
If
Set
Code
+19
96 节点JKingma
文档提取
Adobe Commerce(Magento 2)自动化产品描述生成
使用Azure OpenAI为Adobe Commerce/Magento自动生成产品描述
Set
Code
Merge
+5
13 节点JKingma
杂项
AI-Deepseek-R1t 会议差旅审批与费用授权申请
通过Deepseek AI、Gmail和Google Sheets自动化会议差旅审批
If
Set
Code
+11
24 节点Cheng Siong Chin
文档提取
海关税号研究 V2
通过Google Sheets和海关API自动化HS编码查询与丰富
Set
Gmail
Aggregate
+6
14 节点Thomas
文档提取
使用GPT-5 nano和Yoast SEO自动化WordPress SEO优化
使用GPT-5 nano和Yoast SEO自动化WordPress SEO优化
Set
Code
Gmail
+11
35 节点Oriol Seguí
杂项
自动化B2B潜在客户生成:Google Places、Scrape.do与AI数据增强
自动化B2B潜在客户生成:Google Places、Scrape.do与AI数据增强
If
Set
Html
+9
19 节点Onur
杂项