{
  "name": "🛠️ Change Binary MimeType/Extension",
  "nodes": [
    {
      "id": "89bc61ce-8d29-403c-96d2-f1db4e7ad092",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -592,
        352
      ]
    },
    {
      "id": "58ece6f1-fd56-4f4d-a1ca-49ea8062f5a3",
      "name": "SET OUTPUT FILE NAME",
      "type": "n8n-nodes-base.set",
      "position": [
        -976,
        352
      ]
    },
    {
      "id": "29b91d27-8a15-44e2-87fa-f431e9ad042d",
      "name": "Change Binary Data Type",
      "type": "n8n-nodes-base.code",
      "position": [
        -368,
        352
      ]
    },
    {
      "id": "224923e0-a967-42ff-b55a-b31720d54e8e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        16
      ],
      "parameters": {
        "width": 420,
        "height": 500,
        "content": "### ⚙️ CONFIGURE HERE ⚙️\n\nThis is the main node you need to edit.\n\n1.  **`output_file_name`**: Change this value to the desired file name and extension. The extension is what determines the new MIME t"
      }
    },
    {
      "id": "cb424eb0-4779-4969-bbea-d994bc504761",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        96
      ],
      "parameters": {
        "width": 480,
        "height": 420,
        "content": "### ⚙️ Core Logic (No Edit Needed)\n\nThese nodes work together to perform the conversion:\n\n1.  **Extract from File:** Converts the binary into text (Base64).\n2.  **Code:** Rebuilds the binary file usin"
      }
    },
    {
      "id": "518b1531-fdb4-4ea6-9623-2b1982e15a43",
      "name": "Change Binary MimeType/Extension",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1344,
        352
      ]
    },
    {
      "id": "231fc258-e1d1-4a50-aa02-c40db76f42bf",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -544
      ],
      "parameters": {
        "width": 416,
        "height": 1056,
        "content": "## Was this helpful? Let me know!\n[![clic](https://supastudio.ia2s.app/storage/v1/object/public/assets/n8n/clic_down_lucas.gif)](https://workflows.ac/form)\n\nI really hope this tutorial helped you unde"
      }
    },
    {
      "id": "fb0fa541-840b-4bdc-be0b-c8c4ac106de6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1904,
        -144
      ],
      "parameters": {
        "width": 496,
        "height": 656,
        "content": "## 🔄 Change Binary File Extension & MIME Type\n\nThis utility workflow solves the common headache of receiving files with generic extensions (like `.bin` or `.dat`) by forcing the correct filename and M"
      }
    }
  ],
  "connections": {
    "Extract from File": {
      "main": [
        [
          {
            "node": "Change Binary Data Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SET OUTPUT FILE NAME": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Change Binary MimeType/Extension": {
      "main": [
        [
          {
            "node": "SET OUTPUT FILE NAME",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}