{
  "name": "Transform markdown content into structured Notion blocks",
  "nodes": [
    {
      "id": "007b49ed-a264-4beb-92a9-917c0550c665",
      "name": "Convert into Notion blocks",
      "type": "n8n-nodes-base.code",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "3a976100-d298-415b-bd64-8b68dd547104",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -260,
        0
      ]
    },
    {
      "id": "57c30dd2-3e55-4d8e-86a7-956fa86ffdd1",
      "name": "Mock data",
      "type": "n8n-nodes-base.set",
      "position": [
        -20,
        0
      ]
    },
    {
      "id": "b9d263bb-5d62-4171-8e33-f4060b5e893b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -280
      ],
      "parameters": {
        "width": 220,
        "height": 440,
        "content": "# Mock data\n\nThis node only serves the purpose of returning dummy Markdown-formatted text in the `output` field. Replace this with your actual data source."
      }
    },
    {
      "id": "98f7de06-cdf2-49fd-895e-3b2b7bc59837",
      "name": "Insert Notion page content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        460,
        0
      ]
    },
    {
      "id": "4f94864f-5669-4c00-aa05-b95b8bcbb7a6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -280
      ],
      "parameters": {
        "width": 220,
        "height": 440,
        "content": "# Conversion\n\nThis code converts the markdown string into the block format required by Notion."
      }
    },
    {
      "id": "f88266c9-faaa-481c-821d-5fab70823ef0",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -280
      ],
      "parameters": {
        "width": 220,
        "height": 440,
        "content": "# Update\n\nThis node updates a Notion page with the blocks generated in the previous step. Replace the page ID in the URL field with your actual Notion page ID or an expression that returns the page ID"
      }
    }
  ],
  "connections": {
    "Mock data": {
      "main": [
        [
          {
            "node": "Convert into Notion blocks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert into Notion blocks": {
      "main": [
        [
          {
            "node": "Insert Notion page content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Mock data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}