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 all four items:

1. Get Your Mark2Notion API Key

Sign up free β€’ 100 requests/month included

2. Create a Notion Integration

  1. Go to notion.so/my-integrations
  2. Click "New integration"
  3. Copy the Internal Integration Secret (starts with ntn_)

3. Share Your Notion Page

  1. Open your target Notion page
  2. Click three dots icon on the top right β†’ "Connections" β†’ "Add connection"
  3. Select your integration

4. Get Your Page ID

Copy from your Notion page URL:

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 your-page-id
  • notionToken ntn_your_token

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": "notionToken"
            },
            {
              "name": "pageId"
            }
          ]
        },
        "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, YOUR_PAGE_ID_HERE, ntn_YOUR_TOKEN_HERE
  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