{
  "name": "Convert Make.com blueprints to workflows with Azure OpenAI and Google Sheets",
  "nodes": [
    {
      "id": "31d6969a-9e52-4fd9-8c90-525820db4fd6",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1600,
        1344
      ]
    },
    {
      "id": "cbbf343a-1abf-4d8a-8143-0d8081b8450e",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2336,
        624
      ],
      "parameters": {
        "width": 572,
        "height": 492,
        "content": "## 🔄 Make.com to n8n Workflow Converter\n\n### How it works\nThis workflow automates the conversion of Make.com blueprint JSON files into fully importable n8n workflow exports. It scans a Google Drive fo"
      }
    },
    {
      "id": "9dcb06a2-3568-4d84-8ed9-949a75f6e1f9",
      "name": "Trigger & File Discovery Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1648,
        1136
      ],
      "parameters": {
        "width": 636,
        "height": 408,
        "content": "## 📁 Trigger & File Discovery\nStarts on manual execution, scans Google Drive for available files, and filters down to the specific Make.com blueprint you want to convert. Only matching files proceed t"
      }
    },
    {
      "id": "b3741feb-c80a-4c42-b9e6-be894c1b6544",
      "name": "Download & Parse Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        1104
      ],
      "parameters": {
        "width": 412,
        "height": 404,
        "content": "## 📥 Download & Parse Blueprint\nDownloads the matched blueprint file from Google Drive and extracts its JSON content so it can be passed into the AI conversion agent."
      }
    },
    {
      "id": "7f887825-a2b6-4c0d-80b2-87fff9529fce",
      "name": "AI Conversion Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        1040
      ],
      "parameters": {
        "width": 644,
        "height": 680,
        "content": "## 🤖 AI Conversion Agent\nThe Azure OpenAI-powered agent receives the Make.com JSON and converts it into a valid n8n workflow structure — mapping modules, connections, and node types according to stric"
      }
    },
    {
      "id": "de7b1f47-32b5-48b7-bc4a-c1e28d4cab71",
      "name": "Cleanup & Transform Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        1104
      ],
      "parameters": {
        "width": 444,
        "height": 456,
        "content": "## 🛠️ Workflow Cleanup & Transform\nTwo code nodes clean up and normalize the AI output — fixing IF node conditions, resolving ID-to-name mappings in connections, stripping Make-specific fields, and en"
      }
    },
    {
      "id": "b0a757a6-2017-4611-a223-a178a294c48c",
      "name": "Credentials & Security",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        1360
      ],
      "parameters": {
        "width": 300,
        "height": 192,
        "content": "## 🔐 Credentials & Security\nUse OAuth2 for Google Drive and Google Sheets. Use a scoped Azure OpenAI deployment key. Avoid hardcoding credentials — always use n8n's built-in credential manager."
      }
    },
    {
      "id": "7454bcd7-a743-4d6f-8522-9164e2cb9436",
      "name": "Convert Blueprint with AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -400,
        1328
      ]
    },
    {
      "id": "50f69122-4944-45ea-9dc0-d717a3ee5957",
      "name": "Normalize Connections and Conditions",
      "type": "n8n-nodes-base.code",
      "position": [
        48,
        1312
      ]
    },
    {
      "id": "0a3ee706-502d-4706-9fba-74bad38d512d",
      "name": "Strip Make Fields and Finalize",
      "type": "n8n-nodes-base.code",
      "position": [
        304,
        1312
      ]
    },
    {
      "id": "8cda5546-0a9a-4ce5-8b3b-dd0485c567f1",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -416,
        1536
      ]
    },
    {
      "id": "85a9abe1-3fc0-4892-ae3d-90722b57aa95",
      "name": "Search Files and Folders",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1344,
        1344
      ]
    },
    {
      "id": "4a5f3f6b-feba-4d4a-8dc0-f4b6c25738d8",
      "name": "Download Blueprint File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -864,
        1328
      ]
    },
    {
      "id": "a0ab9b33-f64c-49cd-bb08-d13cd983d42b",
      "name": "Filter Target Blueprint",
      "type": "n8n-nodes-base.if",
      "position": [
        -1136,
        1344
      ]
    },
    {
      "id": "d7e542c8-78ee-4621-be11-73ae6378473b",
      "name": "Extract JSON from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -656,
        1328
      ]
    },
    {
      "id": "e99a1898-8f72-4ced-803d-7eb4b04ba94b",
      "name": "Save Converted Workflow to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        512,
        1312
      ]
    }
  ],
  "connections": {
    "Extract JSON from File": {
      "main": [
        [
          {
            "node": "Convert Blueprint with AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Convert Blueprint with AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Download Blueprint File": {
      "main": [
        [
          {
            "node": "Extract JSON from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Target Blueprint": {
      "main": [
        [
          {
            "node": "Download Blueprint File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Files and Folders": {
      "main": [
        [
          {
            "node": "Filter Target Blueprint",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Strip Make Fields and Finalize": {
      "main": [
        [
          {
            "node": "Save Converted Workflow to Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Blueprint with AI Agent": {
      "main": [
        [
          {
            "node": "Normalize Connections and Conditions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Connections and Conditions": {
      "main": [
        [
          {
            "node": "Strip Make Fields and Finalize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Search Files and Folders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}