{
  "nodes": [
    {
      "id": "67cbb238-606c-4db0-9471-7462e42adcf6",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -440,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c8b1af78-ab84-4522-933a-77044c03401d",
      "name": "image",
      "type": "n8n-nodes-base.set",
      "position": [
        -220,
        360
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "6ae28575-0005-45f6-90cf-75f8b1b5abbc",
              "name": "image",
              "type": "string",
              "value": "https://example.com/image.jpg"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "b5338518-2914-4861-856a-c1d4d1ed0ff5",
      "name": "Classic Image Getter",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        0,
        360
      ],
      "parameters": {
        "url": "={{ $json.image }}",
        "options": {
          "timeout": 1000
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "03041af1-e456-42e3-ae07-dceb927c38ea",
      "name": "Unlock Image",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "failover node",
      "onError": "continueErrorOutput",
      "position": [
        300,
        440
      ],
      "parameters": {
        "url": "https://api.brightdata.com/request",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "neverError": true,
              "fullResponse": true,
              "responseFormat": "file"
            }
          },
          "allowUnauthorizedCerts": true
        },
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "zone",
              "value": "web_unlocker"
            },
            {
              "name": "url",
              "value": "={{ $json.image }}"
            },
            {
              "name": "format",
              "value": "raw"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer {{BRIGHTDATA_TOKEN}}"
            }
          ]
        }
      },
      "notesInFlow": true,
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "99d5ea18-15e5-49de-af04-2dec12073209",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        280
      ],
      "parameters": {
        "height": 120,
        "content": "## Unlock image API\n\n[Inscription - Free Trial](https://get.brightdata.com/image-unlocker)"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "image": {
      "main": [
        [
          {
            "node": "Classic Image Getter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Classic Image Getter": {
      "main": [
        [],
        [
          {
            "node": "Unlock Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}