{
  "name": "Convert Notion to markdown and back to Notion",
  "nodes": [
    {
      "id": "dd049dd7-3f85-4c36-a4ec-d5df856fed14",
      "name": "Notion Trigger",
      "type": "n8n-nodes-base.notionTrigger",
      "position": [
        -100,
        360
      ]
    },
    {
      "id": "4bedb493-7a17-4d3f-8b00-93d7134e74ca",
      "name": "Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        320,
        220
      ]
    },
    {
      "id": "8994422e-8b71-4638-be36-d105557a20d8",
      "name": "Notion Node Blocks to Md",
      "type": "n8n-nodes-base.code",
      "position": [
        760,
        220
      ]
    },
    {
      "id": "4321475e-3eac-4aea-bcd6-11d764af0f02",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        560,
        540
      ]
    },
    {
      "id": "b0f9b62c-009e-4d00-9d5d-5e1ea3f1314b",
      "name": "Full Notion Blocks to Md",
      "type": "n8n-nodes-base.code",
      "position": [
        760,
        540
      ]
    },
    {
      "id": "b3224aea-ca82-4e11-9e7f-df062f20512d",
      "name": "Md to Notion Blocks v3",
      "type": "n8n-nodes-base.code",
      "position": [
        1100,
        340
      ]
    },
    {
      "id": "1af23a39-132a-45c5-8e71-090d0c4cf7df",
      "name": "Add blocks as Children",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1340,
        340
      ]
    },
    {
      "id": "89883f62-11f6-49ff-bbcf-f9e45399e73e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        100
      ],
      "parameters": {
        "width": 640,
        "height": 300,
        "content": "## Either use the official Notion getAll: Blocks node\nThis removes formatting like bold and links. "
      }
    },
    {
      "id": "c3c10d91-1380-4525-a1d7-0fc9c8218f2b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        440
      ],
      "parameters": {
        "width": 640,
        "height": 260,
        "content": "## ... or get block rich text data\nwith custom HTTP request."
      }
    },
    {
      "id": "7be73933-e515-4273-adeb-59832313bbf3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        220
      ],
      "parameters": {
        "width": 340,
        "height": 340,
        "content": "## Configure a notion connection."
      }
    },
    {
      "id": "55e20cdd-d567-4f67-96bf-15db71a92060",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        200
      ],
      "parameters": {
        "width": null,
        "height": 320,
        "content": "## This will triple the content by way of demo."
      }
    },
    {
      "id": "bc62cd3b-cc4b-4e4d-b617-e4012494a03b",
      "name": "Get Child blocks",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        340,
        540
      ]
    }
  ],
  "connections": {
    "Notion": {
      "main": [
        [
          {
            "node": "Notion Node Blocks to Md",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Full Notion Blocks to Md",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion Trigger": {
      "main": [
        [
          {
            "node": "Notion",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Child blocks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Child blocks": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Md to Notion Blocks v3": {
      "main": [
        [
          {
            "node": "Add blocks as Children",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Full Notion Blocks to Md": {
      "main": [
        [
          {
            "node": "Md to Notion Blocks v3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion Node Blocks to Md": {
      "main": [
        [
          {
            "node": "Md to Notion Blocks v3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}