Mark2Notion Anhängen
Dies ist ein Document Extraction, Miscellaneous, Multimodal AI-Bereich Automatisierungsworkflow mit 8 Nodes. Hauptsächlich werden Set, Notion, HttpRequest, ManualTrigger und andere Nodes verwendet. Konvertieren Sie Markdown mithilfe von Mark2Notion in eine formatierte Notion-Seite
- •Notion API Key
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (8)
{
"id": "QGikyQ1WgZENu9e5",
"meta": {
"instanceId": "636ac343c8909ac80cd6df77ded2011408792e94d4f89fc23dbb1a174ee7ecba"
},
"name": "Mark2Notion Append",
"tags": [],
"nodes": [
{
"id": "0571b66a-e756-45f2-958b-899ee08dfab2",
"name": "Wenn Sie auf 'Workflow ausführen' klicken",
"type": "n8n-nodes-base.manualTrigger",
"position": [
608,
352
],
"parameters": {},
"typeVersion": 1
},
{
"id": "278285e1-183a-4a63-a2f9-10e0be2f4a9f",
"name": "Seite erstellen",
"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 festlegen",
"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": "Haftnotiz",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 512,
"height": 800,
"content": "Transform Markdown text into beautifully formatted Notion pages using the Mark2Notion API. This workflow handles all the complexity of Notion's block structure, including tables, nested lists, code blocks, and special formatting.\n\n## What this template does\nThis workflow takes any Markdown-formatted text and automatically converts it into properly structured Notion blocks, then appends it to your specified Notion page. It handles all of Notion's API limitations automatically, including:\n- Chunking content over 100 blocks\n- Splitting text over 2000 characters\n- Rate limiting and retry logic\n- Complex table structures\n- Nested lists, including 3+ levels of nesting\n\n## Use Cases\n- **AI Content Publishing**: Send ChatGPT, Claude, or other LLM outputs directly to your Notion documentation\n- **Form to Documentation**: Convert form submissions into formatted project pages\n- **GitHub to Notion**: Sync issues, PRs, or README files to your team wiki\n- **Meeting Notes Automation**: Transform transcripts into structured meeting notes\n- **Report Generation**: Create beautiful reports from data sources\n\n## How to use this template\n1. **Get your Mark2Notion API key** at https://mark2notion.com (free tier includes 100 requests/month)\n2. **Create a Notion integration** at https://notion.so/my-integrations and copy the token\n3. **Add the integration to your Notion parent page**\n4. **Copy your page ID** from the Notion page URL\n5. **Configure the HTTP Request node** with your credentials\n6. **Test with sample Markdown** to see the result"
},
"typeVersion": 1
},
{
"id": "ef5c6201-88e7-471a-8f98-101f95d8e981",
"name": "Haftnotiz1",
"type": "n8n-nodes-base.stickyNote",
"position": [
752,
128
],
"parameters": {
"color": 7,
"width": 304,
"height": 400,
"content": "## Insert any Markdown output node here\n\nUse any node that outputs Markdown, like an LLM reply or GitHub issues"
},
"typeVersion": 1
},
{
"id": "a90361dc-615b-4866-bbc7-4d5750cb2840",
"name": "HTTP Request - Mark2Notion Append",
"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": "Haftnotiz2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1488,
128
],
"parameters": {
"color": 7,
"width": 320,
"height": 400,
"content": "## Set Mark2Notion and Notion credentials\n\n1. Set Mark2Notion API key as Header Auth\n2. Use `x-api-key` as the auth header name\n3. Set `notionToken` as a body parameter"
},
"typeVersion": 1
},
{
"id": "34b59cec-a312-47f5-8059-d9bf6b2ad858",
"name": "Haftnotiz3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
64
],
"parameters": {
"color": 7,
"width": 304,
"height": 464,
"content": "## Set Notion Credentials\n\n1. Create a Notion credential with the token from your Notion integration\n2. Get the parent page ID — a new page will be created as a subpage\n3. You can get the page ID from the URL: https://www.notion.so/Your-Page-Title-[PAGE_ID_HERE]\n4. Set the page ID as the Parent Page (By ID) parameter\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5904ca6b-a787-4228-8e16-985cef7be1cb",
"connections": {
"fce17ffd-0f61-4da6-9f40-2a455217897b": {
"main": [
[
{
"node": "278285e1-183a-4a63-a2f9-10e0be2f4a9f",
"type": "main",
"index": 0
}
]
]
},
"278285e1-183a-4a63-a2f9-10e0be2f4a9f": {
"main": [
[
{
"node": "a90361dc-615b-4866-bbc7-4d5750cb2840",
"type": "main",
"index": 0
}
]
]
},
"0571b66a-e756-45f2-958b-899ee08dfab2": {
"main": [
[
{
"node": "fce17ffd-0f61-4da6-9f40-2a455217897b",
"type": "main",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Dokumentenextraktion, Verschiedenes, Multimodales KI
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Diesen Workflow teilen