{
  "name": "Convert Markdown content to Contentful rich text with AI formatting",
  "nodes": [
    {
      "id": "f50b2f81-d9b4-4206-a18c-a02573afe8e7",
      "name": "Create newly formatted Contentful Entry",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1680,
        240
      ]
    },
    {
      "id": "d2d8efbc-3914-4c9b-98fe-566c1843f58d",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -380,
        20
      ]
    },
    {
      "id": "57960c96-94ce-43d1-83b8-d6417b79373a",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        1020,
        240
      ]
    },
    {
      "id": "f304bcec-2150-4767-95a9-38c1e98e2c52",
      "name": "Format1",
      "type": "n8n-nodes-base.code",
      "position": [
        1360,
        240
      ]
    },
    {
      "id": "85edaba2-c42b-4ca8-af84-080255dd93d3",
      "name": "Markdown to Contentful format",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        340,
        380
      ]
    },
    {
      "id": "3b409954-1506-46da-8ea9-ed2c938b84fc",
      "name": "Split by Headings",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        220
      ]
    },
    {
      "id": "d9bd0b06-730b-4e63-a3f4-73678b09aaa7",
      "name": "Combine Rich Text Objects",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        380
      ]
    },
    {
      "id": "08f5c7a8-3200-47bf-a4c9-5333956ddf49",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        300,
        620
      ]
    },
    {
      "id": "e1bbe1ba-3be3-44c9-af34-e27c56246545",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        80
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "36266f04-12cf-4a19-8d60-45974e69ab6b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        -340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f0ecec88-c4a7-472f-b71b-d78f57635472",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e4bf6af7-cd5a-4f54-9512-5e91d86f6bf6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        620
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge1": {
      "main": [
        [
          {
            "node": "Format1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format1": {
      "main": [
        [
          {
            "node": "Create newly formatted Contentful Entry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split by Headings": {
      "main": [
        [
          {
            "node": "Markdown to Contentful format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Markdown to Contentful format",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Combine Rich Text Objects": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Markdown to Contentful format": {
      "main": [
        [
          {
            "node": "Combine Rich Text Objects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Split by Headings",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}