AutomationFlowsGeneral › Images Cdn

Images Cdn

Images CDN. Uses readWriteFile. Webhook trigger; 7 nodes.

Webhook trigger★★★★☆ complexity7 nodesRead Write File
General Trigger: Webhook Nodes: 7 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "createdAt": "2025-10-06T15:06:26.341Z",
  "updatedAt": "2025-10-08T15:17:37.000Z",
  "id": "z9UL2JzJEciEBQu2",
  "name": "Images CDN",
  "active": true,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {
        "jsCode": "const filename = $input.first().json.query.filename || \"default-image.jpeg\";\nreturn [{ json: { filename } }];\n"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        224,
        -160
      ],
      "id": "52a77b85-4bed-4d84-8d71-293f611945c8",
      "name": "Code in JavaScript"
    },
    {
      "parameters": {
        "respondWith": "binary",
        "options": {}
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.4,
      "position": [
        896,
        -160
      ],
      "id": "7389c2b4-8a49-4c32-ad04-47d97599560f",
      "name": "Respond to Webhook"
    },
    {
      "parameters": {
        "path": "/image",
        "responseMode": "responseNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        -160
      ],
      "id": "3b6cedd1-7a07-459b-b68d-91640fb87ab1",
      "name": "/image/:filename"
    },
    {
      "parameters": {
        "numberInputs": 3
      },
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3.2,
      "position": [
        672,
        -176
      ],
      "id": "0ce9d963-c658-4f62-8e4a-a2d9c464b366",
      "name": "Merge"
    },
    {
      "parameters": {
        "fileSelector": "=/images/boxes/{{ $json.filename  }}",
        "options": {}
      },
      "type": "n8n-nodes-base.readWriteFile",
      "typeVersion": 1,
      "position": [
        448,
        -160
      ],
      "id": "f7408d42-a10f-4d40-81c6-77b0b8491c50",
      "name": "Read Boxes"
    },
    {
      "parameters": {
        "fileSelector": "=/images/components/{{ $json.filename  }}",
        "options": {}
      },
      "type": "n8n-nodes-base.readWriteFile",
      "typeVersion": 1,
      "position": [
        448,
        -352
      ],
      "id": "7cb5c658-5dde-4aeb-a029-410af9405400",
      "name": "Read Components"
    },
    {
      "parameters": {
        "fileSelector": "=/images/vendors/{{ $json.filename  }}",
        "options": {}
      },
      "type": "n8n-nodes-base.readWriteFile",
      "typeVersion": 1,
      "position": [
        448,
        32
      ],
      "id": "473d7a31-4f88-482b-8699-d5a08b129dfb",
      "name": "Read Vendors"
    }
  ],
  "connections": {
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Read Components",
            "type": "main",
            "index": 0
          },
          {
            "node": "Read Boxes",
            "type": "main",
            "index": 0
          },
          {
            "node": "Read Vendors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Respond to Webhook": {
      "main": [
        []
      ]
    },
    "/image/:filename": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Boxes": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Read Components": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Vendors": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "versionId": "764f0ddb-3555-41c5-abae-ed6acd246959",
  "triggerCount": 1,
  "tags": [],
  "shared": [
    {
      "createdAt": "2025-10-06T15:06:26.343Z",
      "updatedAt": "2025-10-06T15:06:26.343Z",
      "role": "workflow:owner",
      "workflowId": "z9UL2JzJEciEBQu2",
      "projectId": "0tBJbgcFWwxEMKPn",
      "project": {
        "createdAt": "2025-10-05T16:55:31.619Z",
        "updatedAt": "2025-10-05T16:55:58.616Z",
        "id": "0tBJbgcFWwxEMKPn",
        "name": "Bikash Panda <oksbwn@gmail.com>",
        "type": "personal",
        "icon": null,
        "description": null
      }
    }
  ]
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Images CDN. Uses readWriteFile. Webhook trigger; 7 nodes.

Source: https://github.com/oksbwn/Inventory-Management-System/blob/7f26462a83a574049df178775808226e970cd4f8/n8n/z9UL2JzJEciEBQu2.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Text to speech Voice clone using Zonos via API(local storage). Uses readWriteFile, httpRequest, respondToWebhook, stickyNote. Webhook trigger; 18 nodes.

Read Write File, HTTP Request
General

Feedback → eval inbox (thumbs-down capture, SCAFFOLD). Uses readWriteFile. Webhook trigger; 5 nodes.

Read Write File
General

GetFile. Uses readWriteFile. Webhook trigger; 4 nodes.

Read Write File
General

A production-ready authentication workflow implementing secure user registration, login, token verification, and refresh token mechanisms. Perfect for adding authentication to any application without

Crypto, Data Table, Execute Workflow Trigger
General

Portfolio Orchestrator. Uses httpRequest. Webhook trigger; 59 nodes.

HTTP Request