Automate Notion with n8n in 5 minutes

Turn any n8n workflow into beautiful Notion pages. Perfect for AI outputs, form submissions, and automated documentation.

What You'll Build

Transform any data source into formatted Notion content:

πŸ€–
AI responses β†’ Documentation pages
πŸ“
Form submissions β†’ Project tracker
πŸ”„
GitHub issues β†’ Task database
πŸ“Š
Data reports β†’ Team wiki

Setup

For Converting Markdown β†’ Notion Blocks Only

Just need one thing:

  • Get Your Mark2Notion API Key
    Sign up free β€’ 100 requests/month included

That's it! Use the /convert endpoint to get Notion-compatible JSON blocks.


For Sending Markdown β†’ Notion Pages (Full Integration)

Need two items:

1. Get Your Mark2Notion API Key

Sign up free β€’ 100 requests/month included

2. Connect Notion in the Dashboard

Visit dashboard.mark2notion.com and click "Connect Notion" to authorize access to your workspace. No integration tokens or manual page sharing needed.

3. Get Your Page URL or ID

Copy the URL or page ID from your Notion page:

https://notion.so/Your-Page-Title-[PAGE_ID_HERE]

Quick Example

Add a single HTTP Request node in n8n. Here are two configurations depending on your goal.

Convert Markdown to Notion Blocks

POST https://api.mark2notion.com/api/convert

Authentication - Header Auth

  • x-api-key YOUR_API_KEY

Body

  • markdown $json.markdown

Send Markdown to Notion Page

POST https://api.mark2notion.com/api/append

Authentication - Header Auth

  • x-api-key YOUR_API_KEY

Body

  • markdown $json.markdown
  • pageId https://notion.so/Your-Page-Title-abc123

Copy & Paste Node Configs

Drop these pre-configured HTTP Request nodes directly into your n8n workflow.

Convert Endpoint (Markdown β†’ Notion Blocks)

Perfect when you need Notion blocks JSON for further processing.

πŸ“‹ Copy HTTP Request Node

{
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.mark2notion.com/api/convert",
        "authentication": "genericCredentialType",
        "genericAuthType": "none",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "YOUR_API_KEY_HERE"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "markdown",
              "value": "={{ $json.markdown }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        832,
        0
      ],
      "id": "2599ccb7-01d6-4020-9a1d-fb2aae01d286",
      "name": "HTTP Request - mark2notion convert"
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {}
}
                    

How to use:

  1. Copy the JSON above
  2. In n8n: Open workflow and Ctrl+V / Cmd+V
  3. Replace YOUR_API_KEY_HERE
  4. Connect to your trigger/data source

Append Endpoint (Markdown β†’ Notion Page)

Directly sends markdown content to your Notion page.

πŸ“‹ Copy HTTP Request Node

{
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.mark2notion.com/api/append",
        "authentication": "genericCredentialType",
        "genericAuthType": "none",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "YOUR_API_KEY_HERE"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "markdown",
              "value": "={{ $json.markdown }}"
            },
            {
              "name": "pageId",
              "value": "https://notion.so/Your-Page-Title-abc123"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        832,
        0
      ],
      "id": "2599ccb7-01d6-4020-9a1d-fb2aae01d286",
      "name": "HTTP Request - mark2notion append"
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {}
}

How to use:

  1. Copy the JSON above
  2. In n8n: Open workflow and Ctrl+V / Cmd+V
  3. Replace YOUR_API_KEY_HERE and update pageId with your Notion page URL or ID
  4. Connect to your data source and execute
n8n HTTP node configured for Mark2Notion

Troubleshooting

Can’t find the answer you’re looking for? Reach out to our customer support team or see the API documentation.

"Page not found" or "Unauthorized"
  • Make sure your integration has access to the page
  • Verify the page ID is correct (copy from URL)
"Invalid API key"
  • Check for extra spaces in your API key
  • Make sure you're using the x-api-key header
Rate limit exceeded
Markdown not formatting correctly
  • Check that markdown is valid
  • Check that markdown is properly escaped in JSON

Ready to automate your Notion workspace?

100 requests/month included

Guides

Learn how to integrate Mark2Notion into your automation workflows, handle complex scenarios, and get the most out of our API.