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 Append",
  "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": "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": "付箋1",
      "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 リクエスト - 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": "## 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": "付箋3",
      "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
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - 文書抽出, その他, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数8
カテゴリー3
ノードタイプ5
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者

Developer with over 10+ years of experience. Automation enthusiast.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34